Skip to content

Commit

Permalink
Always call lower_round_to_nearest_ties_to_even on arm32 (#7957)
Browse files Browse the repository at this point in the history
  • Loading branch information
vksnk authored Nov 21, 2023
1 parent f5a4e49 commit 04c21bf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CodeGen_ARM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,7 @@ void CodeGen_ARM::visit(const Call *op) {
if (value) {
return;
}
} else if (target.os != Target::Linux) {
// Furthermore, roundevenf isn't always in the standard library on arm-32
} else {
value = codegen(lower_round_to_nearest_ties_to_even(op->args[0]));
return;
}
Expand Down

0 comments on commit 04c21bf

Please sign in to comment.