diff options
Diffstat (limited to 'src/arch/x86/isa/insts')
-rw-r--r-- | src/arch/x86/isa/insts/x87/arithmetic/change_sign.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/x87/arithmetic/change_sign.py b/src/arch/x86/isa/insts/x87/arithmetic/change_sign.py index 059fb1ef1..779f1b5b2 100644 --- a/src/arch/x86/isa/insts/x87/arithmetic/change_sign.py +++ b/src/arch/x86/isa/insts/x87/arithmetic/change_sign.py @@ -36,6 +36,12 @@ # Authors: Gabe Black microcode = ''' -# FABS -# FCHS + +def macroop FABS { + absfp st(0), st(0) +}; + +def macroop FCHS { + chsfp st(0), st(0) +}; ''' |