[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 255/437: IA64: Force sync of instructions in get-jit-siz
From: |
Andy Wingo |
Subject: |
[Guile-commits] 255/437: IA64: Force sync of instructions in get-jit-size build mode. |
Date: |
Mon, 2 Jul 2018 05:14:32 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit ff735476031507028021bf16ff1b16d5ca09aea0
Author: pcpa <address@hidden>
Date: Sat Sep 28 14:19:33 2013 -0300
IA64: Force sync of instructions in get-jit-size build mode.
---
ChangeLog | 9 +++++++++
lib/jit_ia64.c | 11 ++++++-----
size.c | 2 +-
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 533fb67..80e14b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-10-28 Paulo Andrade <address@hidden>
+
+ * lib/jit_ia64.c: Minor change to force collecting the maximum
+ instruction length in the --enable-devel-get-jit-size build
+ mode. The actual generated file did not change because the
+ sampling was large enough that it had already collected proper
+ information in the previously slightly buggy code (not forcing
+ a sync of the instructions that could be combined).
+
2013-10-27 Paulo Andrade <address@hidden>
* lib/jit_arm.c: Correct build when disassembler is
diff --git a/lib/jit_ia64.c b/lib/jit_ia64.c
index 0894dd0..6abf1a7 100644
--- a/lib/jit_ia64.c
+++ b/lib/jit_ia64.c
@@ -849,16 +849,14 @@ _emit_code(jit_state_t *_jit)
patch(word, node); \
} \
break
-#if GET_JIT_SIZE
- /* default of 64 bytes is too low for some possible
- * quite long code generation sequences, e.g. qdivi */
- _jitc->code.end = _jit->code.ptr + _jit->code.length - 4096;
-#endif
for (node = _jitc->head; node; node = node->next) {
if (_jit->pc.uc >= _jitc->code.end)
return (NULL);
value = jit_classify(node->code);
+#if GET_JIT_SIZE
+ sync();
+#endif
jit_regarg_set(node, value);
switch (node->code) {
case jit_code_note: case jit_code_name:
@@ -1334,6 +1332,9 @@ _emit_code(jit_state_t *_jit)
break;
}
}
+#if GET_JIT_SIZE
+ sync();
+#endif
jit_regarg_clr(node, value);
/* update register live state */
jit_reglive(node);
diff --git a/size.c b/size.c
index 1acbb4f..5c56e69 100644
--- a/size.c
+++ b/size.c
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
#if defined(__arm__)
fprintf(fp, "#undef /* __ARM_PCS_VFP */\n");
#elif defined(__mips__)
- fprintf(fp, "#endif /* _ABIN32 */\n");
+ fprintf(fp, "#endif /* _ABIN32 */\n");
#elif defined(__ppc__)
fprintf(fp, "#endif /* __ppc__ */\n");
#elif defined(__powerpc__)
- [Guile-commits] 263/437: ARM: Correct wrong offset for load/store of floats., (continued)
- [Guile-commits] 263/437: ARM: Correct wrong offset for load/store of floats., Andy Wingo, 2018/07/02
- [Guile-commits] 317/437: Add the new "range" test., Andy Wingo, 2018/07/02
- [Guile-commits] 174/437: Correct off by one label/note name and add align argument to jit_data, Andy Wingo, 2018/07/02
- [Guile-commits] 279/437: Implement and document the new jit_indirect call., Andy Wingo, 2018/07/02
- [Guile-commits] 143/437: Correct testcases in the mips backend., Andy Wingo, 2018/07/02
- [Guile-commits] 322/437: Add assertion to check for register allocation leaks, Andy Wingo, 2018/07/02
- [Guile-commits] 257/437: Correct misplaced check for already visited blocks, Andy Wingo, 2018/07/02
- [Guile-commits] 301/437: GNU lightning 2.0.5 release, Andy Wingo, 2018/07/02
- [Guile-commits] 206/437: Correct jit implementation to pass several test cases., Andy Wingo, 2018/07/02
- [Guile-commits] 297/437: Do not filter -sz.c files in gitignore, Andy Wingo, 2018/07/02
- [Guile-commits] 255/437: IA64: Force sync of instructions in get-jit-size build mode.,
Andy Wingo <=
- [Guile-commits] 306/437: x86: Build and pass all tests under cygwin64 (Windows x64), Andy Wingo, 2018/07/02
- [Guile-commits] 352/437: Update documentation, Andy Wingo, 2018/07/02
- [Guile-commits] 357/437: Make more readable always true test, Andy Wingo, 2018/07/02
- [Guile-commits] 311/437: Implement jit_frame and jit_tramp interfaces, Andy Wingo, 2018/07/02
- [Guile-commits] 312/437: Use jit_code_last_code as symbolic name of last enum, Andy Wingo, 2018/07/02
- [Guile-commits] 293/437: Do not have assertions with a long type test, Andy Wingo, 2018/07/02
- [Guile-commits] 384/437: ia64: Do not use a dangling pointer for double to integer copy, Andy Wingo, 2018/07/02
- [Guile-commits] 203/437: Make it simpler to add support for more than 64 registers., Andy Wingo, 2018/07/02
- [Guile-commits] 415/437: Build and pass all test cases on Alpha Linux, Andy Wingo, 2018/07/02
- [Guile-commits] 142/437: Make current test cases pass in armv7l., Andy Wingo, 2018/07/02