[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 274/437: x86: Correct wrong x87 optimization.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 274/437: x86: Correct wrong x87 optimization. |
Date: |
Mon, 2 Jul 2018 05:14:35 -0400 (EDT) |
wingo pushed a commit to branch lightning
in repository guile.
commit 8567d28d60a194142e91006afc2ceddac7c8b880
Author: pcpa <address@hidden>
Date: Tue Dec 3 15:11:11 2013 -0200
x86: Correct wrong x87 optimization.
* lib/jit_x86-x87.c: Correct wrong optimization when
loading the log(2) constant.
---
ChangeLog | 5 +++++
lib/jit_x86-x87.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 8eaed7a..0a37f6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2013-12-03 Paulo Andrade <address@hidden>
+ * lib/jit_x86-x87.c: Correct wrong optimization when
+ loading the log(2) constant.
+
+2013-12-03 Paulo Andrade <address@hidden>
+
* lib/jit_x86-cpu.c: Use the emms instruction before
calling any function. This is particularly important
when using c99 complex functions as it can easily
diff --git a/lib/jit_x86-x87.c b/lib/jit_x86-x87.c
index 9117bd6..253f6af 100644
--- a/lib/jit_x86-x87.c
+++ b/lib/jit_x86-x87.c
@@ -51,7 +51,7 @@ _x87rx(jit_state_t*, jit_int32_t, jit_int32_t,
# define fldl2e() x87ri(015, 2)
# define fldpi() x87ri(015, 3)
# define fldlg2() x87ri(015, 4)
-# define fldln2() x87ri(015, 4)
+# define fldln2() x87ri(015, 5)
# define fldz() x87ri(015, 6)
# define fsqrt_() x87ri(017, 2)
# define fldr(r0) x87ri(010, r0)
- [Guile-commits] 265/437: PPC: Correct wrong ldxi_l simplification in 64 bit mode, (continued)
- [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, 2018/07/02
- [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 <=
- [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
- [Guile-commits] 303/437: Only mark callee save regs as live on jumps that cannot be tracked., Andy Wingo, 2018/07/02
- [Guile-commits] 218/437: Build and pass all test cases on a multiprocessor HP-UX., Andy Wingo, 2018/07/02
- [Guile-commits] 285/437: GNU lightning 2.0.4 release, Andy Wingo, 2018/07/02
- [Guile-commits] 193/437: Make code and data buffer readonly., Andy Wingo, 2018/07/02