[SystemZ] Add CodeGen support for scalar f64 ops in vector registers
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 5 May 2015 19:28:34 +0000 (19:28 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 5 May 2015 19:28:34 +0000 (19:28 +0000)
commitcf0fa9b9dd296771a2de766c5262b96938cf13a3
tree6ff0787fe3a6be687769b417a1f97a8754cce76e
parent878c6281d32807b4a711251611a21f00ea4b09d4
[SystemZ] Add CodeGen support for scalar f64 ops in vector registers

The z13 vector facility includes some instructions that operate only on the
high f64 in a v2f64, effectively extending the FP register set from 16
to 32 registers.  It's still better to use the old instructions if the
operands happen to fit though, since the older instructions have a shorter
encoding.

Based on a patch by Richard Sandiford.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236524 91177308-0d34-0410-b5e6-96231b3b80d8
40 files changed:
lib/Target/SystemZ/SystemZ.td
lib/Target/SystemZ/SystemZAsmPrinter.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZInstrFP.td
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Target/SystemZ/SystemZInstrInfo.cpp
lib/Target/SystemZ/SystemZInstrVector.td
lib/Target/SystemZ/SystemZShortenInst.cpp
test/CodeGen/SystemZ/fp-abs-01.ll
test/CodeGen/SystemZ/fp-abs-02.ll
test/CodeGen/SystemZ/fp-add-02.ll
test/CodeGen/SystemZ/fp-cmp-02.ll
test/CodeGen/SystemZ/fp-conv-01.ll
test/CodeGen/SystemZ/fp-conv-02.ll
test/CodeGen/SystemZ/fp-div-02.ll
test/CodeGen/SystemZ/fp-move-01.ll
test/CodeGen/SystemZ/fp-move-04.ll
test/CodeGen/SystemZ/fp-move-07.ll
test/CodeGen/SystemZ/fp-move-11.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-mul-03.ll
test/CodeGen/SystemZ/fp-mul-07.ll
test/CodeGen/SystemZ/fp-mul-09.ll
test/CodeGen/SystemZ/fp-neg-01.ll
test/CodeGen/SystemZ/fp-round-02.ll
test/CodeGen/SystemZ/fp-sqrt-02.ll
test/CodeGen/SystemZ/fp-sub-02.ll
test/CodeGen/SystemZ/frame-03.ll
test/CodeGen/SystemZ/frame-07.ll
test/CodeGen/SystemZ/frame-17.ll
test/CodeGen/SystemZ/frame-20.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-abs-05.ll
test/CodeGen/SystemZ/vec-add-01.ll
test/CodeGen/SystemZ/vec-cmp-06.ll
test/CodeGen/SystemZ/vec-conv-02.ll
test/CodeGen/SystemZ/vec-div-01.ll
test/CodeGen/SystemZ/vec-mul-01.ll
test/CodeGen/SystemZ/vec-neg-01.ll
test/CodeGen/SystemZ/vec-round-01.ll
test/CodeGen/SystemZ/vec-sqrt-01.ll
test/CodeGen/SystemZ/vec-sub-01.ll