@@ -2318,8 +2318,9 @@ proc check_ppc_mma_hw_available { } {
proc check_ppc_float128_sw_available { } {
return [check_cached_effective_target ppc_float128_sw_available {
# Some simulators are known to not support VSX/power8/power9
- # instructions. For now, disable on Darwin.
- if { [istarget powerpc-*-eabi]
+ # instructions. For now, disable on Darwin and VxWorks.
+ if { [istarget *-*-vxworks*]
+ || [istarget powerpc-*-eabi]
|| [istarget powerpc*-*-eabispe]
|| [istarget *-*-darwin*]} {
expr 0
@@ -2345,7 +2346,8 @@ proc check_ppc_float128_hw_available { } {
return [check_cached_effective_target ppc_float128_hw_available {
# Some simulators are known to not support VSX/power8/power9
# instructions. For now, disable on Darwin.
- if { [istarget powerpc-*-eabi]
+ if { [istarget *-*-vxworks*]
+ || [istarget powerpc-*-eabi]
|| [istarget powerpc*-*-eabispe]
|| [istarget *-*-darwin*]} {
expr 0
@@ -2370,8 +2372,9 @@ proc check_ppc_float128_hw_available { } {
# See if the __ieee128 keyword is understood.
proc check_effective_target_ppc_ieee128_ok { } {
return [check_cached_effective_target ppc_ieee128_ok {
- # disable on AIX.
- if { [istarget *-*-aix*] } {
+ # disable on AIX and VxWorks.
+ if { [istarget *-*-aix*]
+ || [istarget *-*-vxworks*]} {
expr 0
} else {
set options "-mfloat128"