Commit aafc04f
committed
s390x: simplify ceil/floor code
The previous change[1] to this code left quite a bit of dead code
behind, when it switched vm_round from using DIDBR (divide to integer)
to FIDBR (load floating-point integer). Simplify the code by removing
the remains of the previous implementation.
As a side effect, math.ceil() etc. now execute without crashing in QEMU,
which was previously not the case because QEMU doesn't implement DIDBR.
[1]: openresty#1771 parent ea25ac1 commit aafc04f
1 file changed
+1
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2126 | 2126 | | |
2127 | 2127 | | |
2128 | 2128 | | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
| 2129 | + | |
2136 | 2130 | | |
2137 | | - | |
2138 | | - | |
2139 | 2131 | | |
2140 | 2132 | | |
2141 | 2133 | | |
| |||
0 commit comments