[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 93/437: subtract 1 from the final byte being flushed in
From: |
Andy Wingo |
Subject: |
[Guile-commits] 93/437: subtract 1 from the final byte being flushed in PPC jit_flush_code |
Date: |
Mon, 2 Jul 2018 05:13:52 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit f87b2f6df889abadfb21241d45998e6f1e21d7b4
Author: Paolo Bonzini <address@hidden>
Date: Thu Oct 9 10:19:26 2008 +0200
subtract 1 from the final byte being flushed in PPC jit_flush_code
2008-10-09 Paolo Bonzini <address@hidden>
* lightning/ppc/funcs.h (jit_flush_code): Subtract 1 from end.
Reported by Eli Barzilay and Matthew Flatt.
---
ChangeLog | 5 +++++
lightning/ppc/funcs.h | 3 +++
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 0d4e476..bda065e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-09 Paolo Bonzini <address@hidden>
+
+ * lightning/ppc/funcs.h (jit_flush_code): Subtract 1 from end.
+ Reported by Eli Barzilay and Matthew Flatt.
+
2008-08-23 Nix <address@hidden>
* lightning/i386/Makefile.frag: fp-32.h and fp-64.h are target files.
diff --git a/lightning/ppc/funcs.h b/lightning/ppc/funcs.h
index 9f3df90..ae9301f 100644
--- a/lightning/ppc/funcs.h
+++ b/lightning/ppc/funcs.h
@@ -67,6 +67,9 @@ jit_flush_code(void *start, void *end)
break;
}
+ /* Point end to the last byte being flushed. */
+ end =(void*)( (long)(end - 1));
+
start =(void*)( (long)start - (((long) start) & (cache_line_size - 1)));
end =(void*)( (long)end - (((long) end) & (cache_line_size - 1)));
- [Guile-commits] 156/437: Simplify listing of test cases with alternate jit generation options, (continued)
- [Guile-commits] 156/437: Simplify listing of test cases with alternate jit generation options, Andy Wingo, 2018/07/02
- [Guile-commits] 157/437: Add two extra test cases for float operations., Andy Wingo, 2018/07/02
- [Guile-commits] 161/437: Add new register clobber detection test case., Andy Wingo, 2018/07/02
- [Guile-commits] 164/437: Add new carry test case., Andy Wingo, 2018/07/02
- [Guile-commits] 138/437: Correct mips backend implementation to pass initial tests., Andy Wingo, 2018/07/02
- [Guile-commits] 163/437: Add missing jit_htonr to ppc backend., Andy Wingo, 2018/07/02
- [Guile-commits] 177/437: Correct reference to dangling pointer and better note bounds checking, Andy Wingo, 2018/07/02
- [Guile-commits] 167/437: Change type of return of jit_arg* and argument to jit_getarg*, Andy Wingo, 2018/07/02
- [Guile-commits] 168/437: Add new extensive float comparison and conversion test case, Andy Wingo, 2018/07/02
- [Guile-commits] 192/437: Correct SPARC optimized assembly example in documentation, Andy Wingo, 2018/07/02
- [Guile-commits] 93/437: subtract 1 from the final byte being flushed in PPC jit_flush_code,
Andy Wingo <=
- [Guile-commits] 176/437: Add the new jit_name call to mark function boundaries, Andy Wingo, 2018/07/02
- [Guile-commits] 146/437: Add several arithmetic and branch tests cases., Andy Wingo, 2018/07/02
- [Guile-commits] 191/437: Add updated sparc example from lightning 1.2c documentation., Andy Wingo, 2018/07/02
- [Guile-commits] 151/437: Add new varargs test and correct related test case failures in all ports., Andy Wingo, 2018/07/02
- [Guile-commits] 198/437: Remove non optional gmp dependency., Andy Wingo, 2018/07/02
- [Guile-commits] 202/437: Ensure the end argument of __clear_cache is page aligned., Andy Wingo, 2018/07/02
- [Guile-commits] 197/437: Adapt PowerPC port to work in Darwin 32 bit and Linux 64 bit., Andy Wingo, 2018/07/02
- [Guile-commits] 184/437: Implement the "live" code to explicitly tell a register is live., Andy Wingo, 2018/07/02
- [Guile-commits] 149/437: Make all current test cases pass in Darwin PowerPC., Andy Wingo, 2018/07/02
- [Guile-commits] 113/437: Change JIT_REXTMP, JIT_R, JIT_V to use 64-bit registers, Andy Wingo, 2018/07/02