]> granicus.if.org Git - llvm/commit
[SystemZ] Support vector load/store alignment hints
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 19 Jun 2019 14:20:00 +0000 (14:20 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 19 Jun 2019 14:20:00 +0000 (14:20 +0000)
commitd3bcee479040048558476eb35670ece858ee5288
treeccd996e877ae7d65908aa6c3702f09f7e7c289f9
parentd48da2b6432c4a5616f44ca12170f2cfbfdeafac
[SystemZ] Support vector load/store alignment hints

Vector load/store instructions support an optional alignment field
that the compiler can use to provide known alignment info to the
hardware.  If the field is used (and the information is correct),
the hardware may be able (on some models) to perform faster memory
accesses than otherwise.

This patch adds support for alignment hints in the assembler and
disassembler, and fills in known alignment during codegen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363806 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/SystemZ/SystemZAsmPrinter.cpp
lib/Target/SystemZ/SystemZInstrFormats.td
lib/Target/SystemZ/SystemZInstrVector.td
lib/Target/SystemZ/SystemZScheduleZ13.td
lib/Target/SystemZ/SystemZScheduleZ14.td
test/CodeGen/SystemZ/frame-19.ll
test/CodeGen/SystemZ/vec-move-02.ll
test/CodeGen/SystemZ/vec-move-03.ll
test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll
test/MC/Disassembler/SystemZ/insns-z13.txt
test/MC/SystemZ/insn-bad-z13.s
test/MC/SystemZ/insn-good-z13.s