1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 15:10:27 +02:00

x86: Correct wrong x87 optimization.

* lib/jit_x86-x87.c: Correct wrong optimization when
	loading the log(2) constant.
This commit is contained in:
pcpa 2013-12-03 15:11:11 -02:00
parent 0b0d63d892
commit 8567d28d60
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-12-03 Paulo Andrade <pcpa@gnu.org>
* lib/jit_x86-x87.c: Correct wrong optimization when
loading the log(2) constant.
2013-12-03 Paulo Andrade <pcpa@gnu.org>
* lib/jit_x86-cpu.c: Use the emms instruction before

View file

@ -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)