[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 245/437: S390X: Correct values of float registers saved
From: |
Andy Wingo |
Subject: |
[Guile-commits] 245/437: S390X: Correct values of float registers saved on stack. |
Date: |
Mon, 2 Jul 2018 05:14:30 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 13d521bded5ee4fd3ddcddc00fa3d5bbc68b5491
Author: pcpa <address@hidden>
Date: Tue Sep 10 21:26:13 2013 -0300
S390X: Correct values of float registers saved on stack.
* lib/jit_s390x-cpu.c: Spill/reload correct callee save
float registers.
---
ChangeLog | 5 +++++
lib/jit_s390x-cpu.c | 16 ++++++++--------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4667e99..0f70ff3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-09-10 Paulo Andrade <address@hidden>
+ * lib/jit_s390x-cpu.c: Spill/reload correct callee save
+ float registers.
+
+2013-09-10 Paulo Andrade <address@hidden>
+
* lib/jit_hppa-cpu.c: Correct code to call a function stored
in a register or a patched function address.
diff --git a/lib/jit_s390x-cpu.c b/lib/jit_s390x-cpu.c
index fec4799..343a39a 100644
--- a/lib/jit_s390x-cpu.c
+++ b/lib/jit_s390x-cpu.c
@@ -3285,10 +3285,10 @@ _prolog(jit_state_t *_jit, jit_node_t *i0)
SPILL(_F12, 32);
SPILL(_F13, 48);
/* Last 4 in high address */
- SPILL(_F10, 128);
- SPILL(_F11, 136);
- SPILL(_F12, 144);
- SPILL(_F13, 152);
+ SPILL(_F14, 128);
+ SPILL(_F15, 136);
+ SPILL(_F8, 144);
+ SPILL(_F9, 152);
#undef SPILL
LGR(_R13_REGNO, _R15_REGNO);
subi(_R15_REGNO, _R15_REGNO, stack_framesize + _jitc->function->stack);
@@ -3313,10 +3313,10 @@ _epilog(jit_state_t *_jit, jit_node_t *i0)
LOAD(_F11, 24);
LOAD(_F12, 32);
LOAD(_F13, 48);
- LOAD(_F10, 128);
- LOAD(_F11, 136);
- LOAD(_F12, 144);
- LOAD(_F13, 152);
+ LOAD(_F14, 128);
+ LOAD(_F15, 136);
+ LOAD(_F8, 144);
+ LOAD(_F9, 152);
#undef LOAD
LMG(rn(gprs[regno]), _R15_REGNO, x20(offset), _R15_REGNO);
BR(_R14_REGNO);
- [Guile-commits] 200/437: Add a simple memory management wrapper., (continued)
- [Guile-commits] 200/437: Add a simple memory management wrapper., Andy Wingo, 2018/07/02
- [Guile-commits] 196/437: Add missing __ppc__ definition., Andy Wingo, 2018/07/02
- [Guile-commits] 159/437: Correct stack.tst test case on ppc. Now all tests pass in all backends., Andy Wingo, 2018/07/02
- [Guile-commits] 172/437: Rework {get, push}arg{, i, r}_{f, d} to a more descriptive name and usage., Andy Wingo, 2018/07/02
- [Guile-commits] 221/437: Correct build and pass all tests on Solaris Sparc., Andy Wingo, 2018/07/02
- [Guile-commits] 228/437: Properly check tests output., Andy Wingo, 2018/07/02
- [Guile-commits] 186/437: Add code to release all memory used by the jit state., Andy Wingo, 2018/07/02
- [Guile-commits] 137/437: Make mips backend compile on a qemu image., Andy Wingo, 2018/07/02
- [Guile-commits] 222/437: Correct build and pass all tests on Solaris x86., Andy Wingo, 2018/07/02
- [Guile-commits] 219/437: Remove redundancy in the hppa cache synchronization code., Andy Wingo, 2018/07/02
- [Guile-commits] 245/437: S390X: Correct values of float registers saved on stack.,
Andy Wingo <=
- [Guile-commits] 224/437: Correct mips o32 abi that was broken when adding n32 abi support., Andy Wingo, 2018/07/02
- [Guile-commits] 230/437: New s390x port built on the hercules emulator and fedora 16 image., Andy Wingo, 2018/07/02
- [Guile-commits] 234/437: GNU lightning 2.0.0 release, Andy Wingo, 2018/07/02
- [Guile-commits] 256/437: X86: %r12 may be used as an index register., Andy Wingo, 2018/07/02
- [Guile-commits] 229/437: Do not assume cast of nan or inf double to float always work., Andy Wingo, 2018/07/02
- [Guile-commits] 231/437: Cosmetic removal of white spaces in end of lines., Andy Wingo, 2018/07/02
- [Guile-commits] 232/437: Correct off by one bug on s390x subi., Andy Wingo, 2018/07/02
- [Guile-commits] 123/437: Revert change aliasing jit_movi_p to jit_movi_ul., Andy Wingo, 2018/07/02
- [Guile-commits] 248/437: Correct wrong example and mt unsafe code in the arm backend., Andy Wingo, 2018/07/02
- [Guile-commits] 236/437: Correct build and make check on gcc111 - AIX 7.1., Andy Wingo, 2018/07/02