[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to
From: |
Klaus Treichel |
Subject: |
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 9ec4da4437815aff83067f9a9fc16da31ffea1e3 |
Date: |
Sun, 25 Apr 2010 11:01:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".
The branch, master has been updated
via 9ec4da4437815aff83067f9a9fc16da31ffea1e3 (commit)
from 5554b0becd1ad4ba617cefdd05a54da1d19bb1ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=9ec4da4437815aff83067f9a9fc16da31ffea1e3
commit 9ec4da4437815aff83067f9a9fc16da31ffea1e3
Author: Klaus Treichel <address@hidden>
Date: Sun Apr 25 12:42:36 2010 +0200
Fix unrolling the System.Math.Tan function on x86 and amd64.
diff --git a/ChangeLog b/ChangeLog
index 85f0ed8..28fe162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-25 Klaus Treichel <address@hidden>
+
+ * engine/md_amd64.h (md_tan_reg_float): Pop the additional 1 pushsed
+ by the fptan opcode from the fpu register stack.
+
+ * engine/md_x86.h (md_tan_reg_float): likewise.
+
2010-04-20 Klaus Treichel <address@hidden>
* engine/lib_gc.c (_IL_GC_ReRegisterForFinalizeInternal): Set the
diff --git a/engine/md_amd64.h b/engine/md_amd64.h
index a5f1a95..f6806fc 100644
--- a/engine/md_amd64.h
+++ b/engine/md_amd64.h
@@ -919,6 +919,7 @@ extern md_inst_ptr _md_amd64_mov_memindex_reg_byte
#define md_tan_reg_float(inst,reg) \
do { \
amd64_fptan((inst)); \
+ amd64_fstp((inst), 0); \
} while (0)
#ifdef __cplusplus
diff --git a/engine/md_x86.h b/engine/md_x86.h
index e250e8b..dc90c59 100644
--- a/engine/md_x86.h
+++ b/engine/md_x86.h
@@ -962,6 +962,7 @@ extern md_inst_ptr _md_x86_mov_memindex_reg_byte
#define md_tan_reg_float(inst,reg) \
do { \
x86_fptan((inst)); \
+ x86_fstp((inst), 0); \
} while (0)
#ifdef __cplusplus
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
engine/md_amd64.h | 1 +
engine/md_x86.h | 1 +
3 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
DotGNU Portable.NET engine, compilers and tools (pnet)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 9ec4da4437815aff83067f9a9fc16da31ffea1e3,
Klaus Treichel <=
- Prev by Date:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 5554b0becd1ad4ba617cefdd05a54da1d19bb1ae
- Next by Date:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Class Library (pnetlib) branch, master, updated. d74009c50c7fa4d6a19698aa4d029ca938eb504a
- Previous by thread:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 5554b0becd1ad4ba617cefdd05a54da1d19bb1ae
- Next by thread:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Class Library (pnetlib) branch, master, updated. d74009c50c7fa4d6a19698aa4d029ca938eb504a
- Index(es):