R600: Relax some vector constraints on Dot4.
authorVincent Lejeune <vljn@ovi.com>
Fri, 17 May 2013 16:50:32 +0000 (16:50 +0000)
committerVincent Lejeune <vljn@ovi.com>
Fri, 17 May 2013 16:50:32 +0000 (16:50 +0000)
commit4ed9917147b1d1f2616f7c941bbe6999b979f510
tree221d8b6de51be786194d310e6f95c5fdfa232624
parentd3293b49f9c7af741d2edd3062499fb50db0e89b
R600: Relax some vector constraints on Dot4.

Dot4 now uses 8 scalar operands instead of 2 vectors one which allows register
coalescer to remove some unneeded COPY.
This patch also defines some structures/functions that can be used to handle
every vector instructions (CUBE, Cayman special instructions...) in a similar
fashion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182126 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.h
lib/Target/R600/R600Defines.h
lib/Target/R600/R600EmitClauseMarkers.cpp
lib/Target/R600/R600ExpandSpecialInstrs.cpp
lib/Target/R600/R600ISelLowering.cpp
lib/Target/R600/R600InstrInfo.cpp
lib/Target/R600/R600InstrInfo.h
lib/Target/R600/R600Instructions.td
lib/Target/R600/R600MachineScheduler.cpp
lib/Target/R600/R600Packetizer.cpp
test/CodeGen/R600/pv.ll