mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 02:12:13 +00:00
Abs may only change the sign bit, it can't change whether a value is a canonical nan or not.
This commit is contained in:
parent
c30a64a973
commit
9af01a4afb
@ -2769,8 +2769,7 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
||||
.unwrap();
|
||||
state.push1(StackEntry {
|
||||
value: res,
|
||||
no_f32_ncnan: entry.no_f32_ncnan,
|
||||
no_f64_ncnan: false,
|
||||
..entry
|
||||
});
|
||||
}
|
||||
Operator::F64Abs => {
|
||||
@ -2782,8 +2781,7 @@ impl FunctionCodeGenerator<CodegenError> for LLVMFunctionCodeGenerator {
|
||||
.unwrap();
|
||||
state.push1(StackEntry {
|
||||
value: res,
|
||||
no_f32_ncnan: false,
|
||||
no_f64_ncnan: entry.no_f64_ncnan,
|
||||
..entry
|
||||
});
|
||||
}
|
||||
Operator::F32x4Abs => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user