diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/binaryen.js/expressions.js | 2 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/binaryen.js/expressions.js b/test/binaryen.js/expressions.js index b458355cd..874327170 100644 --- a/test/binaryen.js/expressions.js +++ b/test/binaryen.js/expressions.js @@ -1185,7 +1185,7 @@ console.log("# SIMDLoad"); assert(theSIMDLoad.ptr === ptr); assert(theSIMDLoad.type === binaryen.v128); - theSIMDLoad.op = op = binaryen.Operations.LoadSplatVec8x16; + theSIMDLoad.op = op = binaryen.Operations.Load8SplatVec128; assert(theSIMDLoad.op === op); theSIMDLoad.offset = offset = 32; assert(theSIMDLoad.offset === offset); diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 2dc167adc..8343d429f 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -644,13 +644,13 @@ void test_core() { makeSIMDShift(module, BinaryenShrUVecI64x2()), // SIMD load BinaryenSIMDLoad( - module, BinaryenLoadSplatVec8x16(), 0, 1, makeInt32(module, 128)), + module, BinaryenLoad8SplatVec128(), 0, 1, makeInt32(module, 128)), BinaryenSIMDLoad( - module, BinaryenLoadSplatVec16x8(), 16, 1, makeInt32(module, 128)), + module, BinaryenLoad16SplatVec128(), 16, 1, makeInt32(module, 128)), BinaryenSIMDLoad( - module, BinaryenLoadSplatVec32x4(), 16, 4, makeInt32(module, 128)), + module, BinaryenLoad32SplatVec128(), 16, 4, makeInt32(module, 128)), BinaryenSIMDLoad( - module, BinaryenLoadSplatVec64x2(), 0, 4, makeInt32(module, 128)), + module, BinaryenLoad64SplatVec128(), 0, 4, makeInt32(module, 128)), BinaryenSIMDLoad( module, BinaryenLoadExtSVec8x8ToVecI16x8(), 0, 8, makeInt32(module, 128)), BinaryenSIMDLoad( @@ -676,12 +676,12 @@ void test_core() { 8, makeInt32(module, 128)), BinaryenSIMDLoad(module, - BinaryenLoad32Zero(), + BinaryenLoad32ZeroVec128(), 0, 4, makeInt32(module, 128)), BinaryenSIMDLoad(module, - BinaryenLoad64Zero(), + BinaryenLoad64ZeroVec128(), 0, 8, makeInt32(module, 128)), |