wasmer/tests/emscripten_resources/emtests/test_simd_float32x4.out
2020-04-02 16:51:58 -07:00

46 lines
3.1 KiB
Plaintext

v: -1.000000 0.000000 1.000000 3.500000
w: 2.000000 2.000000 2.000000 2.000000
emscripten_float32x4_add(v, w): 1.000000 2.000000 3.000000 5.500000
emscripten_float32x4_sub(v, w): -3.000000 -2.000000 -1.000000 1.500000
emscripten_float32x4_mul(v, w): -2.000000 0.000000 2.000000 7.000000
emscripten_float32x4_div(v, w): -0.500000 0.000000 0.500000 1.750000
emscripten_float32x4_max(v, w): 2.000000 2.000000 2.000000 3.500000
emscripten_float32x4_min(v, w): -1.000000 0.000000 1.000000 2.000000
emscripten_float32x4_maxNum(v, w): 2.000000 2.000000 2.000000 3.500000
emscripten_float32x4_minNum(v, w): -1.000000 0.000000 1.000000 2.000000
emscripten_float32x4_neg(v): 1.000000 -0.000000 -1.000000 -3.500000
emscripten_float32x4_sqrt(v): nan 0.000000 1.000000 1.870829
emscripten_float32x4_abs(v): 1.000000 0.000000 1.000000 3.500000
emscripten_float32x4_and(v, w): 0.000000 0.000000 0.000000 2.000000
emscripten_float32x4_xor(v, w): -inf 2.000000 inf 0.000000
emscripten_float32x4_or(v, w): -inf 2.000000 inf 3.500000
emscripten_float32x4_not(v): 4.000000 nan -4.000000 -1.250000
emscripten_float32x4_lessThan(v, w): nan nan nan 0.000000
emscripten_float32x4_lessThanOrEqual(v, w): nan nan nan 0.000000
emscripten_float32x4_greaterThan(v, w): 0.000000 0.000000 0.000000 nan
emscripten_float32x4_greaterThanOrEqual(v, w): 0.000000 0.000000 0.000000 nan
emscripten_float32x4_equal(v, w): 0.000000 0.000000 0.000000 0.000000
emscripten_float32x4_notEqual(v, w): nan nan nan nan
emscripten_float32x4_select(b, v, w): 2.000000 0.000000 2.000000 3.500000
emscripten_float32x4_replaceLane(v, 0, 9.f): 9.000000 0.000000 1.000000 3.500000
emscripten_float32x4_replaceLane(v, 1, -3.f): -1.000000 -3.000000 1.000000 3.500000
emscripten_float32x4_replaceLane(v, 2, 0.f): -1.000000 0.000000 0.000000 3.500000
emscripten_float32x4_replaceLane(v, 3, -0.f): -1.000000 0.000000 1.000000 -0.000000
emscripten_float32x4_store: 00 00 80 BF 00 00 00 00 00 00 80 3F 00 00 60 40
emscripten_float32x4_store1: 00 00 80 BF FF FF FF FF FF FF FF FF FF FF FF FF
emscripten_float32x4_store2: 00 00 80 BF 00 00 00 00 FF FF FF FF FF FF FF FF
emscripten_float32x4_load(bytes): -1.000000 0.000000 1.000000 3.500000
emscripten_float32x4_load1(bytes): -1.000000 0.000000 0.000000 0.000000
emscripten_float32x4_load2(bytes): -1.000000 0.000000 0.000000 0.000000
emscripten_float32x4_swizzle(v, 0, 1, 2, 3): -1.000000 0.000000 1.000000 3.500000
emscripten_float32x4_swizzle(v, 3, 2, 1, 0): 3.500000 1.000000 0.000000 -1.000000
emscripten_float32x4_swizzle(v, 0, 0, 0, 0): -1.000000 -1.000000 -1.000000 -1.000000
emscripten_float32x4_swizzle(v, 0, 3, 0, 3): -1.000000 3.500000 -1.000000 3.500000
emscripten_float32x4_swizzle(v, 3, 3, 3, 3): 3.500000 3.500000 3.500000 3.500000
z: -5.000000 20.000000 14.000000 9.000000
emscripten_float32x4_shuffle(v, z, 0, 0, 0, 0): -1.000000 -1.000000 -1.000000 -1.000000
emscripten_float32x4_shuffle(v, z, 4, 4, 4, 4): -5.000000 -5.000000 -5.000000 -5.000000
emscripten_float32x4_shuffle(v, z, 7, 7, 7, 7): 9.000000 9.000000 9.000000 9.000000
emscripten_float32x4_shuffle(v, z, 0, 2, 4, 6): -1.000000 1.000000 -5.000000 14.000000
emscripten_float32x4_shuffle(v, z, 7, 0, 3, 5): 9.000000 -1.000000 3.500000 20.000000
Done!