Index: test/cctest/cctest.gyp |
diff --git a/test/cctest/cctest.gyp b/test/cctest/cctest.gyp |
index 9ace116d1b8547c22f75709cf5877a5ed39c570a..0934074ca434bd531f31739fad92a8aa23c0d534 100644 |
--- a/test/cctest/cctest.gyp |
+++ b/test/cctest/cctest.gyp |
@@ -279,6 +279,11 @@ |
}, |
}, |
}], |
+ ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { |
+ # disable fmadd/fmsub so that expected results match generated code in |
+ # RunFloat64MulAndFloat64Add1 and friends. |
+ 'cflags': ['-ffp-contract=off'], |
+ }], |
['OS=="aix"', { |
'ldflags': [ '-Wl,-bbigtoc' ], |
}], |