fpc/compiler/arm
Jonas Maebe d1538ab023 o added ARM VPFv2/VFPv3 support:
+ RTL support:
      o VFP exceptions are disabled by default on Darwin,
        because they cause kernel panics on iPhoneOS 2.2.1 at least
      o all denormals are truncated to 0 on Darwin, because disabling
        that also causes kernel panics on iPhoneOS 2.2.1 (probably
        because otherwise denormals can also cause exceptions)
    * set softfloat rounding mode correctly for non-wince/darwin/vfp
      targets
    + compiler support: only half the number of single precision
      registers is available due to limitations of the register
      allocator
    + added a number of comments about why the stackframe on ARM is
      set up the way it is by the compiler
    + added regtype and subregtype info to regsets, because they're
      also used for VFP registers (+ support in assembler reader)
    + various generic support routines for dealing with floating point
      values located in integer registers that have to be transferred to
      mm registers (needed for VFP)
    * renamed use_sse() to use_vectorfpu() and also use it for
      ARM/vfp support
    o only superficially tested for Linux (compiler compiled with -Cpvfpv6
      -Cfvfpv2 works on a Cortex-A8, no testsuite run performed -- at least
      the fpu exception handler still needs to be implemented), Darwin has
      been tested more thoroughly
  + added ARMv6 cpu type and made it default for Darwin/ARM
  + ARMv6+ implementations of atomic operations using ldrex/strex
  * don't use r9 on Darwin/ARM, as it's reserved under certain
    circumstances (don't know yet which ones)
  * changed C-test object files for ARM/Darwin to ARMv6 versions
  * check in assembler reader that regsets are not empty, because
    instructions with a regset operand have undefined behaviour in that
    case
  * fixed resultdef of tarmtypeconvnode.first_int_to_real in case of
    int64->single type conversion
  * fixed constant pool locations in case 64 bit constants are generated,
    and/or when vfp instructions with limited reach are present

  WARNING: when using VFP on an ARMv6 or later cpu, you *must* compile all
    code with -Cparmv6 (or higher), or you will get crashes. The reason is
    that storing/restoring multiple VFP registers must happen using
    different instructions on pre/post-ARMv6.

git-svn-id: trunk@14317 -
2009-12-03 22:46:30 +00:00
..
aasmcpu.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
agarmgas.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
aoptcpu.pas * merged armthum branch 2009-10-04 09:03:44 +00:00
aoptcpub.pas
aoptcpuc.pas
aoptcpud.pas
armatt.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
armatts.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
armins.dat o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
armnop.inc + support for nop, msr and mrs instructions 2009-01-26 14:18:42 +00:00
armop.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
armreg.dat o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
armtab.inc + support for nop, msr and mrs instructions 2009-01-26 14:18:42 +00:00
cgcpu.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cpubase.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cpuinfo.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cpunode.pas * the objc1 unit has been renamed to objc 2009-09-27 15:24:50 +00:00
cpupara.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cpupi.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
cputarg.pas + some generic changes preparing for darwin/arm support 2008-10-02 15:10:13 +00:00
itcpugas.pas
narmadd.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
narmcal.pas
narmcnv.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
narmcon.pas * fixed class cast errors in range checking code 2009-02-08 13:07:12 +00:00
narminl.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
narmmat.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
narmset.pas * the compiler now explicitly keeps track of the minimally guaranteed 2009-02-08 13:00:24 +00:00
pp.lpi.template
raarm.pas
raarmgas.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmcon.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmdwa.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmnor.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmnum.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmrni.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmsri.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmsta.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmstd.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rarmsup.inc o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00
rgcpu.pas o added ARM VPFv2/VFPv3 support: 2009-12-03 22:46:30 +00:00