notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cdrom: don't reschedule irqs
[pcsx_rearmed.git]
/
deps
/
lightning
/
lib
/
jit_ppc-fpu.c
diff --git
a/deps/lightning/lib/jit_ppc-fpu.c
b/deps/lightning/lib/jit_ppc-fpu.c
index
1e84f8e
..
387cc6f
100644
(file)
--- a/
deps/lightning/lib/jit_ppc-fpu.c
+++ b/
deps/lightning/lib/jit_ppc-fpu.c
@@
-511,7
+511,11
@@
_truncr_d_i(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1)
FCTIWZ(rn(reg), r1);
/* use reserved 8 bytes area */
stxi_d(alloca_offset - 8, _FP_REGNO, rn(reg));
FCTIWZ(rn(reg), r1);
/* use reserved 8 bytes area */
stxi_d(alloca_offset - 8, _FP_REGNO, rn(reg));
+# if __BYTE_ORDER == __BIG_ENDIAN
ldxi_i(r0, _FP_REGNO, alloca_offset - 4);
ldxi_i(r0, _FP_REGNO, alloca_offset - 4);
+# else
+ ldxi_i(r0, _FP_REGNO, alloca_offset - 8);
+# endif
jit_unget_reg(reg);
}
jit_unget_reg(reg);
}