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
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
# 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"