asm(arm64): fixes the source register of CMEQ(vector,zero) (#719)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
@@ -183,3 +183,16 @@ func Test717(t *testing.T) {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
func Test719(t *testing.T) {
|
||||
run(t, func(t *testing.T, r wazero.Runtime) {
|
||||
mod, err := r.InstantiateModuleFromBinary(ctx, getWasmBinary(t, 719))
|
||||
require.NoError(t, err)
|
||||
|
||||
f := mod.ExportedFunction("require unreachable")
|
||||
require.NotNil(t, f)
|
||||
_, err = f.Call(ctx)
|
||||
require.Error(t, err)
|
||||
require.Contains(t, err.Error(), "wasm error: unreachable\nwasm stack trace:")
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user