x86: implement x87 fp instruction fnstsw
authorNilay Vaish <nilay@cs.wisc.edu>
Sun, 30 Dec 2012 18:45:50 +0000 (12:45 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Sun, 30 Dec 2012 18:45:50 +0000 (12:45 -0600)
commite9fa54de58846a8726b9320d6b10809ff65ccecf
tree2c7682db49684f8ecf9b303d5f781143f0be9f23
parent23ba6fc5fbaf55b016b5f0c0a852fa135d3f5f55
x86: implement x87 fp instruction fnstsw
This patch implements the fnstsw instruction. The code was originally written
by Vince Weaver. Gabe had made some comments about the code, but those were
never addressed. This patch addresses those comments.
src/arch/x86/isa.cc
src/arch/x86/isa/decoder/x87.isa
src/arch/x86/isa/insts/x87/control/save_and_restore_x87_control_word.py
src/arch/x86/isa/insts/x87/control/save_x87_status_word.py
src/arch/x86/isa/microasm.isa