diff --git a/test/correctness/saturating_casts.cpp b/test/correctness/saturating_casts.cpp index 0ce1cfda7da7..7a17006b2e43 100644 --- a/test/correctness/saturating_casts.cpp +++ b/test/correctness/saturating_casts.cpp @@ -290,6 +290,13 @@ void test_one_source() { } int main(int argc, char **argv) { + +#if defined(__i386__) || defined(_M_IX86) + printf("[SKIP] Skipping test because it requires bit-exact int to float casts,\n" + "and on i386 without SSE it is hard to guarantee that the test binary won't use x87 instructions.\n"); + return 0; +#endif + test_one_source(); test_one_source(); test_one_source();