mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 05:51:55 +00:00
LibWasm: Fix v128.any_true
instruction
This commit is contained in:
parent
616048c67e
commit
21c5084d23
Notes:
github-actions[bot]
2024-07-20 09:18:31 +00:00
Author: https://github.com/dzfrias
Commit: 21c5084d23
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/719
Reviewed-by: https://github.com/alimpfard
1 changed files with 1 additions and 1 deletions
|
@ -1677,7 +1677,7 @@ void BytecodeInterpreter::interpret(Configuration& configuration, InstructionPoi
|
|||
}
|
||||
case Instructions::v128_any_true.value(): {
|
||||
auto vector = *configuration.stack().pop().get<Value>().to<u128>();
|
||||
configuration.stack().push(Value(static_cast<i32>(vector == 0)));
|
||||
configuration.stack().push(Value(static_cast<i32>(vector != 0)));
|
||||
return;
|
||||
}
|
||||
case Instructions::v128_load8_lane.value():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue