Fix some serious floating-point bugs (fixes test cases such as Oscar,
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 11 Jul 2003 18:18:35 +0000 (18:18 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 11 Jul 2003 18:18:35 +0000 (18:18 +0000)
commit1aa476edf028fed9b5c8ff537fcab42704037094
treec5ce479ddc345f6b30f391ae8a71e95c53f13e99
parent666ff520e6b0a7a3c9f11e7a86d7bf8eebb4e24a
Fix some serious floating-point bugs (fixes test cases such as Oscar,
Fhourstones, McCat-vor, and many others...)

Printer.cpp: Print implicit uses for AddRegFrm instructions.  Break gas
bug workarounds up into separate stanzas of code for each bug.  Add new
workarounds for fild and fistp.

X86InstrInfo.def: Add O_ST0 implicit uses for more FP instrs where they
obviously apply. Also add PrintImplUses flags for FP instrs where they
are necessary for gas to understand the output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7165 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/Printer.cpp
lib/Target/X86/X86AsmPrinter.cpp
lib/Target/X86/X86InstrInfo.def