diff options
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r-- | src/arch/x86/isa/insts/x87/transcendental_functions/trigonometric_functions.py | 9 |
1 files changed, 7 insertions, 2 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 05fd20829..ffdbcf150 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 @@ -36,8 +36,13 @@ # Authors: Gabe Black microcode = ''' -# FSIN -# FCOS +def macroop FSIN { + sinfp st(0), st(0) +}; + +def macroop FCOS { + cosfp st(0), st(0) +}; def macroop FSINCOS { sinfp ufp1, st(0) |