summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-01-27 18:50:54 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2014-01-27 18:50:54 -0600
commitbdee69d0b177bb0c9dc554a6e1c360a3eaef5977 (patch)
tree3979c10dd2963907c0d51024f731b9a1017010d6 /src/arch/x86
parent6a543b51344ef8d511f2b67fa0d657a9a78dd169 (diff)
downloadgem5-bdee69d0b177bb0c9dc554a6e1c360a3eaef5977.tar.xz
x86: use lfpimm instead of limm for fptan
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py b/src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py
index cc2ae606b..835e92f0c 100644
--- a/src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py
+++ b/src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py
@@ -55,7 +55,7 @@ def macroop FSINCOS {
def macroop FPTAN {
tanfp st(0), st(0)
- limm ufp1, "double(1)"
+ lfpimm ufp1, 1
movfp st(-1), ufp1, spm=-1
};