aboutsummaryrefslogtreecommitdiff
path: root/src/vm_mips.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-19 18:41:34 +0200
committerMike Pall <mike>2012-08-19 18:41:34 +0200
commit2ac083cb5a0ce5f24fb1182eacf14438bb45e7ba (patch)
tree58c95530aa14758c61a92c115e5787bf462fe87c /src/vm_mips.dasc
parentf58a84d0bc9852c82e10db268dd549c9a5b33014 (diff)
downloadluajit-2ac083cb5a0ce5f24fb1182eacf14438bb45e7ba.tar.gz
luajit-2ac083cb5a0ce5f24fb1182eacf14438bb45e7ba.tar.bz2
luajit-2ac083cb5a0ce5f24fb1182eacf14438bb45e7ba.zip
MIPS: Fix calls to floor/ceil/trunc.
Diffstat (limited to '')
-rw-r--r--src/vm_mips.dasc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm_mips.dasc b/src/vm_mips.dasc
index 23692e34..46038c36 100644
--- a/src/vm_mips.dasc
+++ b/src/vm_mips.dasc
@@ -2154,7 +2154,7 @@ static void build_subroutines(BuildCtx *ctx)
2154 |//-- Math helper functions ---------------------------------------------- 2154 |//-- Math helper functions ----------------------------------------------
2155 |//----------------------------------------------------------------------- 2155 |//-----------------------------------------------------------------------
2156 | 2156 |
2157 |// Modifies AT, TMP0, FRET1, FRET2, f4. Keeps all others incl. FARG1, FARG2. 2157 |// Modifies AT, TMP0, FRET1, FRET2, f4. Keeps all others incl. FARG1.
2158 |.macro vm_round, func 2158 |.macro vm_round, func
2159 | lui TMP0, 0x4330 // Hiword of 2^52 (double). 2159 | lui TMP0, 0x4330 // Hiword of 2^52 (double).
2160 | mtc1 r0, f4 2160 | mtc1 r0, f4