4 The C compiler defines __ARM_PCS_VFP when the hard float ABI is in
5 use and floats/doubles are passed to and returned from functions
6 via VFP registers. Otherwise, floats are treated as integers for
7 the purpose of function calls.
9 Confusingly, __SOFTFP__ is defined only when software floating
10 point emulation is used within a function, and doesn't reveal which
11 function calling convention is used. It will be defined with
12 -mfloat-abi=soft but not -mfloat-abi=softfp
14 #if defined __arm__ && !defined __ARM_PCS_VFP