diff options
author | Prakhar Bahuguna <prakhar.bahuguna@arm.com> | 2017-05-04 10:16:04 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2017-05-04 10:16:04 +0000 |
commit | 556cf0887e1583d109597e6e4abff2bad058abcf (patch) | |
tree | b61d68a04e0b1b45fbd9424585b909a249ddfda5 /gcc/doc/invoke.texi | |
parent | cd09e219ce388a62b3f51e49261821e0fbcd43fe (diff) | |
download | gcc-556cf0887e1583d109597e6e4abff2bad058abcf.zip gcc-556cf0887e1583d109597e6e4abff2bad058abcf.tar.gz gcc-556cf0887e1583d109597e6e4abff2bad058abcf.tar.bz2 |
[ARM] Rename FPSCR builtins to correct names
The GCC documentation in section 6.60.8 ARM Floating Point Status and
Control Intrinsics states that the FPSCR register can be read and
written to using the intrinsics __builtin_arm_get_fpscr and
__builtin_arm_set_fpscr. However, these are misnamed within GCC itself
and these intrinsic names are not recognised.
This patch corrects the intrinsic names to match the documentation, and
adds tests to verify these intrinsics generate the correct
instructions.
2017-05-04 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
gcc/
* gcc/config/arm/arm-builtins.c (arm_init_builtins): Rename
__builtin_arm_ldfscr to __builtin_arm_get_fpscr, and rename
__builtin_arm_stfscr to __builtin_arm_set_fpscr.
gcc/testsuite/
* gcc.target/arm/fpscr.c: New file.
From-SVN: r247584
Diffstat (limited to 'gcc/doc/invoke.texi')
0 files changed, 0 insertions, 0 deletions