Unpredicated copy of indexed SVE element to SVE vector,
along with MOV-aliases.
For example:
dup z0.h, z1.h[0]
duplicates the first 16-bit element from z1 to all elements in
the result vector z0.
Paths
| Differential D47570
[AArch64][SVE] Asm: Support for indexed DUP instructions. ClosedPublic Authored by sdesmalen on May 30 2018, 11:46 PM.
Details Summary Unpredicated copy of indexed SVE element to SVE vector, For example: dup z0.h, z1.h[0] duplicates the first 16-bit element from z1 to all elements in
Diff Detail Event Timelinesdesmalen added a child revision: D47571: [AArch64][SVE] Asm: Print indexed element 0 as FPR..May 30 2018, 11:47 PM Comment Actions Looks okay to me.
This revision is now accepted and ready to land.Jun 1 2018, 9:02 AM
Closed by commit rL333871: [AArch64][SVE] Asm: Support for indexed DUP instructions. (authored by s.desmalen). · Explain WhyJun 3 2018, 11:45 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 149235 lib/Target/AArch64/AArch64InstrFormats.td
lib/Target/AArch64/AArch64SVEInstrInfo.td
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/AArch64/SVEInstrFormats.td
test/MC/AArch64/SVE/dup-diagnostics.s
test/MC/AArch64/SVE/dup.s
test/MC/AArch64/SVE/mov-diagnostics.s
test/MC/AArch64/SVE/mov.s
|
just checking: tryParseVectorIndex can also return NoMatch, which we map on Success. I guess that's okay because the index is optional.