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
This commit is contained in:
Uros Bizjak 2017-11-22 16:50:14 +01:00 committed by Uros Bizjak
parent 9e951dd664
commit e88efb994f
2 changed files with 6 additions and 3 deletions

View 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.

View 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
}
}