mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-15 18:02:36 +02:00

+ 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 -
93 lines
662 B
PHP
93 lines
662 B
PHP
{ don't edit, this file is generated from armreg.dat }
|
|
'INVALID',
|
|
'r0',
|
|
'r1',
|
|
'r2',
|
|
'r3',
|
|
'r4',
|
|
'r5',
|
|
'r6',
|
|
'r7',
|
|
'r8',
|
|
'r9',
|
|
'r10',
|
|
'r11',
|
|
'r12',
|
|
'r13',
|
|
'r14',
|
|
'r15',
|
|
'f0',
|
|
'f1',
|
|
'f2',
|
|
'f3',
|
|
'f4',
|
|
'f5',
|
|
'f6',
|
|
'f7',
|
|
's0',
|
|
's1',
|
|
'd0',
|
|
's2',
|
|
's3',
|
|
'd1',
|
|
's4',
|
|
's5',
|
|
'd2',
|
|
's6',
|
|
's7',
|
|
'd3',
|
|
's8',
|
|
's9',
|
|
'd4',
|
|
's10',
|
|
's11',
|
|
'd5',
|
|
's12',
|
|
's13',
|
|
'd6',
|
|
's14',
|
|
's15',
|
|
'd7',
|
|
's16',
|
|
's17',
|
|
'd8',
|
|
's18',
|
|
's19',
|
|
'd9',
|
|
's20',
|
|
's21',
|
|
'd10',
|
|
's22',
|
|
's23',
|
|
'd11',
|
|
's24',
|
|
's25',
|
|
'd12',
|
|
's26',
|
|
's27',
|
|
'd13',
|
|
's28',
|
|
's29',
|
|
'd14',
|
|
's20',
|
|
's21',
|
|
'd15',
|
|
'd16',
|
|
'd17',
|
|
'd18',
|
|
'd19',
|
|
'd20',
|
|
'd21',
|
|
'd22',
|
|
'd23',
|
|
'd24',
|
|
'd25',
|
|
'd26',
|
|
'd27',
|
|
'd28',
|
|
'd29',
|
|
'd30',
|
|
'd31',
|
|
'cpsr_c',
|
|
'fpscr'
|