diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2016-01-20 14:19:41 +0000 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2016-01-20 15:19:41 +0100 |
commit | d7cf3dc7d03f91ea8ca7f6fb6226a40c84cc78e0 (patch) | |
tree | fee14787bcb96f55cfe3b633adada0e0ba894477 /gcc/doc | |
parent | b03c990f38a21b0d0eb58c0ab186eb90df19962a (diff) | |
download | gcc-d7cf3dc7d03f91ea8ca7f6fb6226a40c84cc78e0.zip gcc-d7cf3dc7d03f91ea8ca7f6fb6226a40c84cc78e0.tar.gz gcc-d7cf3dc7d03f91ea8ca7f6fb6226a40c84cc78e0.tar.bz2 |
[ARM target attributes] Fix effective_target tests
2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
gcc/
* doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
(arm_fp_ok): Likewise.
(arm_fp): Likewise.
(arm_crypto): Likewise.
gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_arm_fp_ok_nocache): New.
(check_effective_target_arm_fp_ok): New.
(add_options_for_arm_fp): New.
(check_effective_target_arm_crypto_ok_nocache): Require
target_arm_v8_neon_ok instead of arm32.
(check_effective_target_arm_crypto_pragma_ok_nocache): New.
(check_effective_target_arm_crypto_pragma_ok): New.
(add_options_for_arm_vfp): New.
* gcc.target/arm/attr-crypto.c: Use arm_crypto_pragma_ok effective
target. Do not force -mfloat-abi=softfp, use arm_fp_ok effective
target instead. Force initial fpu to vfp.
* gcc.target/arm/attr-neon-builtin-fail.c: Do not force
-mfloat-abi=softfp, use arm_fp_ok effective target instead.
* gcc.target/arm/attr-neon-fp16.c: Likewise. Remove arm_neon_ok
dependency.
* gcc.target/arm/attr-neon2.c: Do not force -mfloat-abi=softfp,
use arm_vfp effective target instead. Force initial fpu to vfp.
* gcc.target/arm/attr-neon3.c: Likewise.
* gcc.target/arm/cmp-2.c: Use arm_fp_ok effective target instead of
arm_vfp_ok.
* gcc.target/arm/unsigned-float.c: Likewise.
* gcc.target/arm/vfp-1.c: Likewise.
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
* gcc.target/arm/vfp-ldmdbs.c: Likewise.
* gcc.target/arm/vfp-ldmiad.c: Likewise.
* gcc.target/arm/vfp-ldmias.c: Likewise.
* gcc.target/arm/vfp-stmdbd.c: Likewise.
* gcc.target/arm/vfp-stmdbs.c: Likewise.
* gcc.target/arm/vfp-stmiad.c: Likewise.
* gcc.target/arm/vfp-stmias.c: Likewise.
* gcc.target/arm/vnmul-1.c: Likewise.
* gcc.target/arm/vnmul-2.c: Likewise.
* gcc.target/arm/vnmul-3.c: Likewise.
* gcc.target/arm/vnmul-4.c: Likewise.
From-SVN: r232616
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 62212d4..036dcd6 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -1511,9 +1511,21 @@ Target generates decimal floating point instructions with current options. @item arm32 ARM target generates 32-bit code. +@item arm_crypto_pragma_ok +@anchor{arm_crypto_pragma_ok} +ARM target supports pragma target @code{fpu=crypto-neon-fp-armv8}. +This may need @code{-mfpu=crypto-neon-fp-armv8} or equivalent options. +Some multilibs may be incompatible with these options. + @item arm_eabi ARM target adheres to the ABI for the ARM Architecture. +@item arm_fp_ok +@anchor{arm_fp_ok} +ARM target defines @code{__ARM_FP} using @code{-mfloat-abi=softfp} or +equivalent options. Some multilibs may be incompatible with these +options. + @item arm_hf_eabi ARM target adheres to the VFP and Advanced SIMD Register Arguments variant of the ABI for the ARM Architecture (as selected with @@ -2047,6 +2059,17 @@ The supported values of @var{feature} for directive @code{dg-add-options} are: @table @code +@item arm_crypto_pragma +Crypto extension pragma support. Only ARM targets support this +feature, and only then in certain modes; see the +@ref{arm_crypto_pragma_ok,,arm_crypto_pragma_ok effective target +keyword}. + +@item arm_fp +@code{__ARM_FP} definition. Only ARM targets support this feature, and only then +in certain modes; see the @ref{arm_fp_ok,,arm_fp_ok effective target +keyword}. + @item arm_neon NEON support. Only ARM targets support this feature, and only then in certain modes; see the @ref{arm_neon_ok,,arm_neon_ok effective target |