VFP Support for ARM

From: Rui Tang (tangrui76_nospam_at_hotmail.com)
Date: 02/27/05


Date: Sat, 26 Feb 2005 19:45:13 -0800


  I hope to understand the way VFP is supported in ARM. The sample
implementation in ARMIntegrator is kind of confusing to me. Can some one
help me on the following questions? Thanks in advance.

  1. I cannot find any VFP arithmatic instructions in assembly source files
under either the ARMIntegrator directory or the WinCE PRIVATE directory. Nor
did I find any compiler flag that can enable VFP instruction to be
generated. How is VFP instructions generated?

  2. I am lost on whether the sample implementation is merely a software
emulation on VFP. According to document, the vfp.c is supposed to provide
support code for hardware VFP. However, I found that it seems actually calls
c statement to do float point calculations. For example, after decoding that
the VFP instruction is a FMAC instruction, it actually get the result like
this:

        double dest, rhs, lhs;

        switch (ptrFPStatus->opcode)
        {
            case FMAC: // Fd = Fd + (Fn * Fm)
                rhs = lhs * rhs;
                dest = dest + rhs;
            ...
        }
  3. Is WinCE working in such a way that every float point instruction will
trigger an undefined instruction exception and then kernel will handle it
either by VFP hardware or VFP software emualator?

Rui



Relevant Pages

  • Re: FoxPro future?
    ... Pip Pip? ... I did regurgitate what the Fox Team said about Extended Support till 2015, ... I've gotten bleary eyed studying 'dat VFP RoadMap', but I did a hard study ... the VFP team will be fixing bugs all summer on SP2) ...
    (microsoft.public.fox.helpwanted)
  • Re: how to convert foxpro 3 to foxpro 6
    ... Yes, all thing equal, you should probably go straight to VFP 9.0. ... Microsoft FoxPro Technical Support ... Read about all the new features of VFP9 here: ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Make a DLL in C# for FoxPro
    ... bridging technology such as COM interop, as both .NET and VFP support the ... creation/consumption of COM components (in this case, ... specifically) and it is through COM interop. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FoxPro future?
    ... YAG is still working part-time in the VS Data ... Tools team as the Group Manager for VFP. ... I did regurgitate what the Fox Team said about Extended Support till 2015, ...
    (microsoft.public.fox.helpwanted)
  • Re: Microsoft support for Foxpro
    ... DevCon is run by Advisor, ... Support for VFP 9.0 out to 2014 is per standard Microsoft policy, ... specifies the number of years for both standard and extended support. ...
    (microsoft.public.fox.programmer.exchange)