llvm-mirror/lib
Chris Lattner 69304a897c Codegen FP adds and subtracts with a constant more efficiently, generating:
fld QWORD PTR [%ESP + 4]
        fadd QWORD PTR [.CPItest_add_0]

instead of:

        fld QWORD PTR [%ESP + 4]
        fld QWORD PTR [.CPItest_add_0]
        faddp %ST(1)

I also intend to do this for mul & div, but it appears that I have to
refactor a bit of code before I can do so.

This is tested by: test/Regression/CodeGen/X86/fp_constant_op.llx

llvm-svn: 12839
2004-04-11 20:26:20 +00:00
..
Analysis operator new & operator new[] do not kill any legal memory locations. 2004-04-11 18:16:34 +00:00
AsmParser
Bytecode
CodeGen
Debugger
ExecutionEngine
Support
Target Codegen FP adds and subtracts with a constant more efficiently, generating: 2004-04-11 20:26:20 +00:00
Transforms Fix a bug in my select transformation 2004-04-11 01:39:19 +00:00
VMCore Add a missing break, which caused a crash in an obscure situation 2004-04-11 01:29:30 +00:00
Makefile