[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 258/437: MIPS: Correct abi detection.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 258/437: MIPS: Correct abi detection. |
Date: |
Mon, 2 Jul 2018 05:14:32 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 565c3a064ea5170eef65f6a905d9500a33266a0e
Author: pcpa <address@hidden>
Date: Wed Oct 2 23:18:06 2013 -0300
MIPS: Correct abi detection.
* include/lightning/jit_mips.h: Add proper mips abi detection.
---
ChangeLog | 4 ++++
include/lightning/jit_mips.h | 7 +++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 351166b..4763eb3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-02 Paulo Andrade <address@hidden>
+
+ * include/lightning/jit_mips.h: Add proper mips abi detection.
+
2013-10-30 Paulo Andrade <address@hidden>
* lib/jit_print.c: Do not crash if calling jit_print from
diff --git a/include/lightning/jit_mips.h b/include/lightning/jit_mips.h
index a936f36..855e33d 100644
--- a/include/lightning/jit_mips.h
+++ b/include/lightning/jit_mips.h
@@ -23,8 +23,11 @@
#define JIT_HASH_CONSTS 1
#define JIT_NUM_OPERANDS 3
-#if defined(_ABIN32)
-# define NEW_ABI 1
+#if _MIPS_SIM == _ABIN32
+# define NEW_ABI 1
+#elif _MIPS_SIM != _ABIO32
+/* FIXME port to _ABI64 */
+# error "Unsupported ABI"
#endif
/*
- [Guile-commits] 251/437: Add code to calculate code buffer size based on devel time information., (continued)
- [Guile-commits] 251/437: Add code to calculate code buffer size based on devel time information., Andy Wingo, 2018/07/02
- [Guile-commits] 144/437: Add new ldst variant test cases to check base/index register clobber., Andy Wingo, 2018/07/02
- [Guile-commits] 212/437: Correct remaining test cases, but not yet ones with stack arguments., Andy Wingo, 2018/07/02
- [Guile-commits] 179/437: Add heuristic code to estimate space and resize if required jit buffer., Andy Wingo, 2018/07/02
- [Guile-commits] 265/437: PPC: Correct wrong ldxi_l simplification in 64 bit mode, Andy Wingo, 2018/07/02
- [Guile-commits] 155/437: Add support to test different/alternate code generation setups., Andy Wingo, 2018/07/02
- [Guile-commits] 241/437: Add fallback logic instead of error if cannot figure __WORDSIZE., Andy Wingo, 2018/07/02
- [Guile-commits] 220/437: Update ia64 port to work on HP-UX., Andy Wingo, 2018/07/02
- [Guile-commits] 247/437: Add the jit_callee_save_p interface and extra register definitions., Andy Wingo, 2018/07/02
- [Guile-commits] 259/437: Correct wrong dates in ChangeLog, Andy Wingo, 2018/07/02
- [Guile-commits] 258/437: MIPS: Correct abi detection.,
Andy Wingo <=
- [Guile-commits] 261/437: MIPS: Build and pass all test cases on mips64., Andy Wingo, 2018/07/02
- [Guile-commits] 181/437: Correct description of the jmpi instruction., Andy Wingo, 2018/07/02
- [Guile-commits] 141/437: Correct test cases in i586 build., Andy Wingo, 2018/07/02
- [Guile-commits] 274/437: x86: Correct wrong x87 optimization., Andy Wingo, 2018/07/02
- [Guile-commits] 271/437: Correct wrong call in ldi_f if address does not fit in 32 bit., Andy Wingo, 2018/07/02
- [Guile-commits] 238/437: test for zlib in configure.ac, Andy Wingo, 2018/07/02
- [Guile-commits] 266/437: Add assertion to detect double patching., Andy Wingo, 2018/07/02
- [Guile-commits] 199/437: Correct wrong shift value for 32 bit, Andy Wingo, 2018/07/02
- [Guile-commits] 294/437: Correct change of possibly wrong bitmask in jit_update, Andy Wingo, 2018/07/02
- [Guile-commits] 291/437: MIPS: Correct use of wrong test register, Andy Wingo, 2018/07/02