summaryrefslogtreecommitdiff
path: root/src/string/swab.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-02-18 23:53:03 +0000
committerRich Felker <dalias@aerifal.cx>2016-02-18 23:53:03 +0000
commited97dfd979c054b8c598875410529077dad84c02 (patch)
tree79665a0f659ceffec8fe6ec3156b3664b4d61978 /src/string/swab.c
parent790580b2fc47bc20e613336cb937a120422a770c (diff)
downloadmusl-ed97dfd979c054b8c598875410529077dad84c02.tar.gz
musl-ed97dfd979c054b8c598875410529077dad84c02.tar.bz2
musl-ed97dfd979c054b8c598875410529077dad84c02.tar.xz
musl-ed97dfd979c054b8c598875410529077dad84c02.zip
improve macro logic for enabling arm math asm
in order to take advantage of the fpu in -mfloat-abi=softfp mode, the __VFP_FP__ (presence of vfp fpu) was checked instead of checking for __ARM_PCS_VFP (hardfloat EABI variant). however, the latter macro is the one that's actually specified by the ABI documents rather than being compiler-specific, and should also be checked in case __VFP_FP__ is not defined on some compilers or some configurations.
Diffstat (limited to 'src/string/swab.c')
0 files changed, 0 insertions, 0 deletions