x86: use lfpimm instead of limm for fptan
authorNilay Vaish <nilay@cs.wisc.edu>
Tue, 28 Jan 2014 00:50:54 +0000 (18:50 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Tue, 28 Jan 2014 00:50:54 +0000 (18:50 -0600)
src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py

index cc2ae606b08b521a51844cc214f3721d2d18f690..835e92f0cd613ce68a2b3162403abaaeda414296 100644 (file)
@@ -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
 };