llvm-6502/lib
Chris Lattner 1e9f3af561 Do NOT touch FP ops with LSR. This fixes a testcase Nate sent me from an
inner loop like this:

LBB_RateConvertMono8AltiVec_2:  ; no_exit
        lis r2, ha16(.CPI_RateConvertMono8AltiVec_0)
        lfs f3, lo16(.CPI_RateConvertMono8AltiVec_0)(r2)
        fmr f3, f3
        fadd f0, f2, f0
        fadd f3, f0, f3
        fcmpu cr0, f3, f1
        bge cr0, LBB_RateConvertMono8AltiVec_2  ; no_exit

to an inner loop like this:

LBB_RateConvertMono8AltiVec_1:  ; no_exit
        fsub f2, f2, f1
        fcmpu cr0, f2, f1
        fmr f0, f2
        bge cr0, LBB_RateConvertMono8AltiVec_1  ; no_exit

Doh! good catch!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23838 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-20 04:47:10 +00:00
..
Analysis wrap a long line 2005-09-28 22:30:58 +00:00
Archive speed up Archive::isBytecodeArchive in the case when the archive doesn't have 2005-09-23 06:22:58 +00:00
AsmParser Implement PR614: 2005-08-27 18:50:39 +00:00
Bytecode Use a map to cache the ModuleType information, so we can do logarithmic 2005-10-03 21:26:53 +00:00
CodeGen Move the target constant divide optimization up into the dag combiner, so 2005-10-20 02:15:44 +00:00
Debugger For PR495: 2005-07-07 23:21:43 +00:00
ExecutionEngine Add help support for -mcpu and -mattr. 2005-09-02 19:27:43 +00:00
Linker For PR495: 2005-07-07 23:21:43 +00:00
Support Allow bugpoint+PPC codegen to use fsqrt 2005-08-29 13:14:24 +00:00
System For PR616: 2005-08-24 10:07:20 +00:00
Target Add some pattern fragments to simplify the repetitive parts of the patterns 2005-10-20 04:21:06 +00:00
Transforms Do NOT touch FP ops with LSR. This fixes a testcase Nate sent me from an 2005-10-20 04:47:10 +00:00
VMCore Allow $ 2005-10-14 01:28:34 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00