summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
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
};