From bdee69d0b177bb0c9dc554a6e1c360a3eaef5977 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 27 Jan 2014 18:50:54 -0600 Subject: [PATCH] x86: use lfpimm instead of limm for fptan --- .../x87/transcendental_functions/trigonometric_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- 2.30.2