Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix boolean tests #4009

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions core/iwasm/interpreter/wasm_interp_fast.c
Original file line number Diff line number Diff line change
Expand Up @@ -6364,7 +6364,6 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
v1.i64x2[1] ^ v2.i64x2[1]);
break;
}
// TODO: Test
case SIMD_v128_bitselect:
{
V128 v1 = POP_V128();
Expand All @@ -6373,14 +6372,15 @@ wasm_interp_call_func_bytecode(WASMModuleInstance *module,
addr_ret = GET_OFFSET();

simde_v128_t simde_result = simde_wasm_v128_bitselect(
SIMD_V128_TO_SIMDE_V128(v1),
SIMD_V128_TO_SIMDE_V128(v3),
SIMD_V128_TO_SIMDE_V128(v2),
SIMD_V128_TO_SIMDE_V128(v3));
SIMD_V128_TO_SIMDE_V128(v1));

V128 result;
SIMDE_V128_TO_SIMD_V128(simde_result, result);

PUT_V128_TO_ADDR(frame_lp + addr_ret, result);
break;
}
case SIMD_v128_any_true:
{
Expand Down
Loading