Index: test/mjsunit/asm/atomics-load.js |
diff --git a/test/mjsunit/asm/atomics-load.js b/test/mjsunit/asm/atomics-load.js |
index 7d27aa8d6e14ad4d5cea3ecbb58f575a113c5288..4234d22c4e6cc5ae53779ecb153865f097d39501 100644 |
--- a/test/mjsunit/asm/atomics-load.js |
+++ b/test/mjsunit/asm/atomics-load.js |
@@ -12,8 +12,6 @@ function Module(stdlib, foreign, heap) { |
var MEMU8 = new stdlib.Uint8Array(heap); |
var MEMU16 = new stdlib.Uint16Array(heap); |
var MEMU32 = new stdlib.Uint32Array(heap); |
- var MEMF32 = new stdlib.Float32Array(heap); |
- var MEMF64 = new stdlib.Float64Array(heap); |
var load = stdlib.Atomics.load; |
var fround = stdlib.Math.fround; |
@@ -47,16 +45,6 @@ function Module(stdlib, foreign, heap) { |
return load(MEMU32, i)>>>0; |
} |
- function loadf32(i) { |
- i = i | 0; |
- return fround(load(MEMF32, i)); |
- } |
- |
- function loadf64(i) { |
- i = i | 0; |
- return +load(MEMF64, i); |
- } |
- |
return { |
loadi8: loadi8, |
loadi16: loadi16, |
@@ -64,8 +52,6 @@ function Module(stdlib, foreign, heap) { |
loadu8: loadu8, |
loadu16: loadu16, |
loadu32: loadu32, |
- loadf32: loadf32, |
- loadf64: loadf64 |
}; |
} |
@@ -98,5 +84,3 @@ testElementType(Int32Array, m.loadi32, 0); |
testElementType(Uint8Array, m.loadu8, 0); |
testElementType(Uint16Array, m.loadu16, 0); |
testElementType(Uint32Array, m.loadu32, 0); |
-testElementType(Float32Array, m.loadf32, NaN); |
-testElementType(Float64Array, m.loadf64, NaN); |