summaryrefslogtreecommitdiff
path: root/src/lj_snap.c
diff options
context:
space:
mode:
authorMike Pall <mike>2011-05-22 17:41:59 +0200
committerMike Pall <mike>2011-05-22 17:44:58 +0200
commit138f54352ad604ef50f77cbcc15abec6dbd883c0 (patch)
treef8ac2d3599cec2af1007da1c894847d3d0e2ff95 /src/lj_snap.c
parentd0115c65f5ad80af2a113332906a0c5a010f9812 (diff)
downloadluajit-138f54352ad604ef50f77cbcc15abec6dbd883c0.tar.gz
luajit-138f54352ad604ef50f77cbcc15abec6dbd883c0.tar.bz2
luajit-138f54352ad604ef50f77cbcc15abec6dbd883c0.zip
Split up FP IR instructions with SPLIT pass for soft-float targets.
Diffstat (limited to 'src/lj_snap.c')
-rw-r--r--src/lj_snap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index dd70ece1..1af7ef85 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -307,7 +307,7 @@ static RegSP snap_renameref(GCtrace *T, SnapNo lim, IRRef ref, RegSP rs)
307/* Convert a snapshot into a linear slot -> RegSP map. 307/* Convert a snapshot into a linear slot -> RegSP map.
308** Note: unused slots are not initialized! 308** Note: unused slots are not initialized!
309*/ 309*/
310void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno) 310void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno, int hi)
311{ 311{
312 SnapShot *snap = &T->snap[snapno]; 312 SnapShot *snap = &T->snap[snapno];
313 MSize n, nent = snap->nent; 313 MSize n, nent = snap->nent;
@@ -316,7 +316,7 @@ void lj_snap_regspmap(uint16_t *rsmap, GCtrace *T, SnapNo snapno)
316 for (n = 0; n < nent; n++) { 316 for (n = 0; n < nent; n++) {
317 SnapEntry sn = map[n]; 317 SnapEntry sn = map[n];
318 IRRef ref = snap_ref(sn); 318 IRRef ref = snap_ref(sn);
319 if (!irref_isk(ref)) { 319 if ((LJ_SOFTFP && hi) ? (ref++, (sn & SNAP_SOFTFPNUM)) : !irref_isk(ref)) {
320 IRIns *ir = &T->ir[ref]; 320 IRIns *ir = &T->ir[ref];
321 uint32_t rs = ir->prev; 321 uint32_t rs = ir->prev;
322 if (bloomtest(rfilt, ref)) 322 if (bloomtest(rfilt, ref))