arm64: fix bounds check on v128.load{32,64}_zero. (#720)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
@@ -184,6 +184,18 @@ func Test717(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func Test718(t *testing.T) {
|
||||
run(t, func(t *testing.T, r wazero.Runtime) {
|
||||
mod, err := r.InstantiateModuleFromBinary(ctx, getWasmBinary(t, 718))
|
||||
require.NoError(t, err)
|
||||
|
||||
f := mod.ExportedFunction("v128.load_zero on the ceil")
|
||||
require.NotNil(t, f)
|
||||
_, err = f.Call(ctx)
|
||||
require.NoError(t, err)
|
||||
})
|
||||
}
|
||||
|
||||
func Test719(t *testing.T) {
|
||||
run(t, func(t *testing.T, r wazero.Runtime) {
|
||||
mod, err := r.InstantiateModuleFromBinary(ctx, getWasmBinary(t, 719))
|
||||
|
||||
Reference in New Issue
Block a user