OSDN Git Service

CellSPU:
authorScott Michel <scottm@aero.org>
Tue, 17 Mar 2009 01:15:45 +0000 (01:15 +0000)
committerScott Michel <scottm@aero.org>
Tue, 17 Mar 2009 01:15:45 +0000 (01:15 +0000)
commit7ea02ffe918baff29a39981276e83b0e845ede03
tree78b4c492430020331621420eecd69d1ac2095c31
parentd17d74bb80d9da1712a066df40122e8584dad227
CellSPU:
- Fix fabs, fneg for f32 and f64.
- Use BuildVectorSDNode.isConstantSplat, now that the functionality exists
- Continue to improve i64 constant lowering. Lower certain special constants
  to the constant pool when they correspond to SPU's shufb instruction's
  special mask values. This avoids the overhead of performing a shuffle on a
  zero-filled vector just to get the special constant when the memory load
  suffices.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67067 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CellSPU/SPUISelDAGToDAG.cpp
lib/Target/CellSPU/SPUISelLowering.cpp
lib/Target/CellSPU/SPUISelLowering.h
lib/Target/CellSPU/SPUInstrInfo.cpp
lib/Target/CellSPU/SPUInstrInfo.td
test/CodeGen/CellSPU/2009-01-01-BrCond.ll
test/CodeGen/CellSPU/fneg-fabs.ll