target-supports.exp (check_effective_target_bswap16): Do not skip on alpha and x86...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 22 Nov 2017 15:50:14 +0000 (16:50 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 22 Nov 2017 15:50:14 +0000 (16:50 +0100)
* lib/target-supports.exp (check_effective_target_bswap16):
Do not skip on alpha and x86 targets.

From-SVN: r255063

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 9f8f8bc78b5ab0302cfcb188e24c5d233246374e..d0acd6d34046a919b8ab27d4975d9e7d50d04739 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       * lib/target-supports.exp (check_effective_target_bswap16):
+       Do not skip on alpha and x86 targets.
+
 2017-11-22  Sudakshina Das  <sudi.das@arm.com>
 
        * gcc.target/arm/armv8_2-fp16-move-1.c: Add -mfloat-abi=hard option.
index d80da6900885001a69f7787f9f85e8173297bbf5..1dc38177502b74838aa04ec21197dc2e3bac550e 100644 (file)
@@ -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
        }
     }