diff options
author | Kugan Vivekanandarajah <kuganv@linaro.org> | 2014-05-31 09:27:52 +0000 |
---|---|---|
committer | Kugan Vivekanandarajah <kugan@gcc.gnu.org> | 2014-05-31 09:27:52 +0000 |
commit | f10743d3f70d5c241c2b1c3b9ac10f5efc4ee946 (patch) | |
tree | 1324b786e156a754a3d76997eea779e75ad0a361 /gcc/config/arm/unspecs.md | |
parent | cab421f485bcfb57ba793133ad55a64f6abe4c43 (diff) | |
download | gcc-f10743d3f70d5c241c2b1c3b9ac10f5efc4ee946.tar.gz |
arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
gcc/
2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org>
* config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define.
(arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR.
(bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr
and __builtins_arm_get_fpscr.
(arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and
__builtins_arm_get_fpscr.
(arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and
__builtins_arm_ldfpscr.
(arm_atomic_assign_expand_fenv): New function.
* config/arm/vfp.md (set_fpscr): New pattern.
(get_fpscr) : Likewise.
* config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and
VUNSPEC_SET_FPSCR.
* doc/extend.texi (AARCH64 Built-in Functions) : Document
__builtins_arm_set_fpscr, __builtins_arm_get_fpscr.
From-SVN: r211103
Diffstat (limited to 'gcc/config/arm/unspecs.md')
-rw-r--r-- | gcc/config/arm/unspecs.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/arm/unspecs.md b/gcc/config/arm/unspecs.md index 8caa953bcb9..147cb802d41 100644 --- a/gcc/config/arm/unspecs.md +++ b/gcc/config/arm/unspecs.md @@ -143,6 +143,8 @@ VUNSPEC_SLX ; Represent a store-register-release-exclusive. VUNSPEC_LDA ; Represent a store-register-acquire. VUNSPEC_STL ; Represent a store-register-release. + VUNSPEC_GET_FPSCR ; Represent fetch of FPSCR content. + VUNSPEC_SET_FPSCR ; Represent assign of FPSCR content. ]) ;; Enumerators for NEON unspecs. |