[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 298/437: ARM: Correct wrong table of instruction sizes i
From: |
Andy Wingo |
Subject: |
[Guile-commits] 298/437: ARM: Correct wrong table of instruction sizes in software float |
Date: |
Mon, 2 Jul 2018 05:14:40 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit a597e3575d42841078b6ad8a1f97e0282c803b08
Author: pcpa <address@hidden>
Date: Sat Aug 16 20:08:07 2014 -0300
ARM: Correct wrong table of instruction sizes in software float
* lib/jit_arm-sz.c: Regenerate table of known maximum
instruction sizes for the software float fallback,
that implements "virtual" float registers in the stack
and operations as calls to libgcc.
* size.c: Correct typo in the generated jit_arm-sz.c file.
---
ChangeLog | 9 ++
lib/jit_arm-sz.c | 282 +++++++++++++++++++++++++++----------------------------
size.c | 2 +-
3 files changed, 151 insertions(+), 142 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e3c7cc0..9245033 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2014-08-16 Paulo Andrade <address@hidden>
+
+ * lib/jit_arm-sz.c: Regenerate table of known maximum
+ instruction sizes for the software float fallback,
+ that implements "virtual" float registers in the stack
+ and operations as calls to libgcc.
+
+ * size.c: Correct typo in the generated jit_arm-sz.c file.
+
2014-08-10 Paulo Andrade <address@hidden>
* include/lightning/jit_alpha.h, lib/jit_alpha-cpu.c,
diff --git a/lib/jit_arm-sz.c b/lib/jit_arm-sz.c
index df3ca3e..db7751e 100644
--- a/lib/jit_arm-sz.c
+++ b/lib/jit_arm-sz.c
@@ -353,7 +353,7 @@
#if __WORDSIZE == 32
#if !defined(__ARM_PCS_VFP)
-#define JIT_INSTR_MAX 74
+#define JIT_INSTR_MAX 90
0,
0,
0,
@@ -381,18 +381,18 @@
12,
4,
8,
- 32,
+ 40,
+ 44,
+ 40,
+ 44,
+ 34,
+ 38,
+ 34,
+ 38,
+ 40,
+ 44,
+ 40,
44,
- 24,
- 28,
- 18,
- 22,
- 18,
- 22,
- 24,
- 28,
- 24,
- 28,
4,
4,
4,
@@ -526,49 +526,49 @@
12,
12,
0,
- 22,
- 22,
- 22,
- 22,
- 22,
- 22,
- 22,
- 22,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
+ 38,
12,
12,
- 18,
- 20,
- 30,
- 20,
+ 34,
+ 36,
+ 40,
+ 36,
+ 40,
+ 36,
+ 40,
+ 36,
+ 40,
+ 36,
+ 40,
+ 40,
+ 44,
+ 66,
+ 74,
+ 66,
+ 74,
+ 66,
+ 74,
+ 66,
+ 74,
+ 66,
+ 74,
+ 70,
+ 78,
+ 40,
+ 44,
+ 66,
+ 74,
32,
- 20,
- 30,
- 20,
- 30,
- 20,
- 30,
- 24,
- 30,
- 50,
- 58,
- 50,
- 58,
- 50,
- 58,
- 50,
- 58,
- 50,
- 58,
- 54,
- 62,
- 24,
- 30,
- 50,
- 58,
- 16,
0,
32,
- 22,
+ 38,
8,
12,
8,
@@ -579,78 +579,78 @@
16,
8,
8,
- 24,
- 24,
- 24,
- 28,
- 24,
+ 40,
+ 40,
+ 40,
44,
- 24,
- 28,
- 24,
- 28,
- 24,
- 28,
- 24,
- 28,
- 24,
- 28,
+ 40,
+ 44,
+ 40,
+ 44,
+ 40,
+ 44,
+ 40,
+ 44,
+ 40,
+ 44,
+ 40,
+ 44,
+ 68,
+ 76,
+ 40,
+ 44,
+ 40,
+ 44,
+ 68,
+ 76,
+ 40,
+ 44,
+ 40,
+ 44,
+ 0,
+ 50,
52,
- 60,
- 24,
- 28,
- 24,
- 28,
+ 50,
+ 52,
+ 50,
+ 52,
+ 50,
52,
- 60,
- 24,
- 28,
- 24,
- 28,
- 0,
- 34,
- 36,
- 34,
- 36,
- 34,
- 36,
- 34,
- 36,
20,
20,
- 26,
- 28,
- 34,
- 28,
+ 42,
+ 44,
+ 46,
+ 44,
+ 46,
+ 44,
+ 46,
+ 44,
+ 46,
+ 44,
+ 46,
+ 48,
+ 50,
+ 82,
+ 86,
+ 82,
+ 86,
+ 82,
+ 86,
+ 82,
+ 86,
+ 82,
+ 86,
+ 86,
+ 90,
+ 48,
+ 50,
+ 82,
+ 86,
36,
- 28,
- 34,
- 28,
- 34,
- 28,
- 34,
- 32,
- 34,
- 66,
- 70,
- 66,
- 70,
- 66,
- 70,
- 66,
- 70,
- 66,
- 70,
- 70,
- 74,
- 32,
- 34,
- 66,
- 70,
- 20,
0,
36,
- 22,
+ 38,
16,
20,
16,
@@ -661,34 +661,34 @@
24,
20,
16,
- 32,
- 34,
- 32,
- 34,
- 32,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 48,
+ 50,
+ 84,
+ 88,
+ 48,
+ 50,
+ 48,
+ 50,
+ 84,
+ 88,
+ 48,
+ 50,
+ 48,
50,
- 32,
- 34,
- 32,
- 34,
- 32,
- 34,
- 32,
- 34,
- 32,
- 34,
- 68,
- 72,
- 32,
- 34,
- 32,
- 34,
- 68,
- 72,
- 32,
- 34,
- 32,
- 34,
4,
8,
0,
diff --git a/size.c b/size.c
index 9ea3468..6d2ca56 100644
--- a/size.c
+++ b/size.c
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (offset = 0; offset <= jit_code_x86_retval_d; offset++)
fprintf(fp, " %d,\n", _szs[offset]);
#if defined(__arm__)
- fprintf(fp, "#undef /* __ARM_PCS_VFP */\n");
+ fprintf(fp, "#endif /* __ARM_PCS_VFP */\n");
#elif defined(__mips__)
# if __WORDSIZE == 32
fprintf(fp, "#endif /* NEW_ABI */\n");
- [Guile-commits] 344/437: ARM: Better check for constants offset overflow, (continued)
- [Guile-commits] 344/437: ARM: Better check for constants offset overflow, Andy Wingo, 2018/07/02
- [Guile-commits] 351/437: PPC: Only call binutils function if it is available, Andy Wingo, 2018/07/02
- [Guile-commits] 278/437: x86_64: Change x86_64 to also save/restore %rbx in inline asm., Andy Wingo, 2018/07/02
- [Guile-commits] 427/437: Remove some more of the lightning build machinery, Andy Wingo, 2018/07/02
- [Guile-commits] 328/437: Update THANKS file, Andy Wingo, 2018/07/02
- [Guile-commits] 129/437: Remove previous macro files as they are no longer used., Andy Wingo, 2018/07/02
- [Guile-commits] 09/437: add autotools-generated files, Andy Wingo, 2018/07/02
- [Guile-commits] 69/437: implement long mul/div/mod for x86-64, Andy Wingo, 2018/07/02
- [Guile-commits] 162/437: Correct regressions with --with-float={soft, softfp} in the arm backend, Andy Wingo, 2018/07/02
- [Guile-commits] 377/437: aarch64: Add initial jit_va_ calls to aarch64, Andy Wingo, 2018/07/02
- [Guile-commits] 298/437: ARM: Correct wrong table of instruction sizes in software float,
Andy Wingo <=
- [Guile-commits] 99/437: always set and replace lightning_frag, Andy Wingo, 2018/07/02
- [Guile-commits] 336/437: Correct bogus git entry, Andy Wingo, 2018/07/02
- [Guile-commits] 282/437: Document the lightning customization functions., Andy Wingo, 2018/07/02
- [Guile-commits] 290/437: Do not pass null for free, memcpy and memmove, Andy Wingo, 2018/07/02
- [Guile-commits] 249/437: Make jit_get_note a public interface., Andy Wingo, 2018/07/02
- [Guile-commits] 299/437: ALPHA: Correct class of argument float registers, Andy Wingo, 2018/07/02
- [Guile-commits] 426/437: Remove empty lightning m4 directory, Andy Wingo, 2018/07/02
- [Guile-commits] 379/437: s390: Add initial jit_va_ calls to s390, Andy Wingo, 2018/07/02
- [Guile-commits] 431/437: Always enable assertions in embedded lightning, Andy Wingo, 2018/07/02
- [Guile-commits] 365/437: X86: Correct load and store in the x32 abi, Andy Wingo, 2018/07/02