From e88efb994f7a33d03569b0cb794e77aa5047b10e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 22 Nov 2017 16:50:14 +0100 Subject: [PATCH] target-supports.exp (check_effective_target_bswap16): Do not skip on alpha and x86 targets. * lib/target-supports.exp (check_effective_target_bswap16): Do not skip on alpha and x86 targets. From-SVN: r255063 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/lib/target-supports.exp | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f8f8bc78b5..d0acd6d3404 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-22 Uros Bizjak + + * lib/target-supports.exp (check_effective_target_bswap16): + Do not skip on alpha and x86 targets. + 2017-11-22 Sudakshina Das * gcc.target/arm/armv8_2-fp16-move-1.c: Add -mfloat-abi=hard option. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index d80da690088..1dc38177502 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -7252,9 +7252,7 @@ proc check_effective_target_bswap16 { } { verbose "check_effective_target_bswap16: using cached result" 2 } else { set et_bswap16_saved 0 - if { [is-effective-target bswap] - && ![istarget alpha*-*-*] - && !([istarget i?86-*-*] || [istarget x86_64-*-*]) } { + if { [is-effective-target bswap] } { set et_bswap16_saved 1 } } -- 2.30.2