aboutsummaryrefslogtreecommitdiff
path: root/src/vm_x86.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2020-05-22 02:45:47 +0200
committerMike Pall <mike>2020-05-22 03:10:30 +0200
commit03208c8162af9cc01ca76ee1676ca79e5abe9b60 (patch)
tree51f364bd6e922d98ce17c5f3b0ac9a37a375a76f /src/vm_x86.dasc
parent1e6e8aaa20626ac94cf907c69b0452f76e9f5fa5 (diff)
downloadluajit-03208c8162af9cc01ca76ee1676ca79e5abe9b60.tar.gz
luajit-03208c8162af9cc01ca76ee1676ca79e5abe9b60.tar.bz2
luajit-03208c8162af9cc01ca76ee1676ca79e5abe9b60.zip
Fix math.min()/math.max() inconsistencies.
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r--src/vm_x86.dasc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc
index 1965b06b..c3999e7c 100644
--- a/src/vm_x86.dasc
+++ b/src/vm_x86.dasc
@@ -2233,7 +2233,7 @@ static void build_subroutines(BuildCtx *ctx)
2233 | xorps xmm4, xmm4; jmp <1 // Return +-Inf and +-0. 2233 | xorps xmm4, xmm4; jmp <1 // Return +-Inf and +-0.
2234 | 2234 |
2235 |.macro math_minmax, name, cmovop, sseop 2235 |.macro math_minmax, name, cmovop, sseop
2236 | .ffunc name 2236 | .ffunc_1 name
2237 | mov RA, 2 2237 | mov RA, 2
2238 | cmp dword [BASE+4], LJ_TISNUM 2238 | cmp dword [BASE+4], LJ_TISNUM
2239 |.if DUALNUM 2239 |.if DUALNUM