[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)
commit49506d78e7f437785f4d3f68063f4aa9c622bb2c
tree739e77ae549aaedcd76923e16478bc36747296cd
parent80b3af7ab3f8e76507cc4491be1460f1b1d8adb2
[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.

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