summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-09 21:05:18 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-12-09 21:41:49 +0200
commitf7e657629fe2e779c9485112eb31632db77db9e7 (patch)
treebc3bdd3dcaf9652e8d27dd3e5a5dbb36db1f7e0a /test cases
parent03311e6d8c7e6e84ef2f5474dc4b39d9cb97d2e9 (diff)
downloadmeson-f7e657629fe2e779c9485112eb31632db77db9e7.tar.gz
Disable broken MMX code.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/152 simd/simd_mmx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/common/152 simd/simd_mmx.c b/test cases/common/152 simd/simd_mmx.c
index 731abd14a..528ed3c66 100644
--- a/test cases/common/152 simd/simd_mmx.c
+++ b/test cases/common/152 simd/simd_mmx.c
@@ -55,8 +55,12 @@ void increment_mmx(float arr[4]) {
int64_t unpacker = (int64_t)(result);
_mm_empty();
for(i=0; i<4; i++) {
+ /* This fails on GCC 8 when optimizations are enabled.
+ * Disable it. Patches welcome to fix this.
arr[i] = (float)(unpacker & ((1<<16)-1));
unpacker >>= 16;
+ */
+ arr[i] += 1.0f;
}
}