Reported in https://github.com/opencv/opencv/issues/15413.
We have serveral extended mnemonics for Move To/From Vector-Scalar Register Instructions
eg: mffprd,mtfprd etc.
We only support one of them, this patch add the others.
Paths
| Differential D66963
[PowerPC] Support extended mnemonics mffprwz etc. ClosedPublic Authored by jsji on Aug 29 2019, 10:32 AM.
Details
Summary Reported in https://github.com/opencv/opencv/issues/15413. We have serveral extended mnemonics for Move To/From Vector-Scalar Register Instructions We only support one of them, this patch add the others.
Diff Detail
Event TimelineComment Actions
The '+32' bit is covered by the added CodeGen/PowerPC/inlineasm-extendedmne.ll test, but I'd really like to see direct encoding tests for all of the instructions. Can you please make sure that they all appear in MC/PowerPC/vsx.s and MC/Disassembler/PowerPC/vsx.txt? Comment Actions
Good point, and updated. Comment Actions
LGTM This revision is now accepted and ready to land.Aug 29 2019, 2:19 PM Closed by commit rL370411: [PowerPC] Support extended mnemonics mffprwz etc. (authored by jsji). · Explain WhyAug 29 2019, 2:54 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 217980 llvm/trunk/lib/Target/PowerPC/P9InstrResources.td
llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td
llvm/trunk/test/CodeGen/PowerPC/bitcasts-direct-move.ll
llvm/trunk/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll
llvm/trunk/test/CodeGen/PowerPC/direct-move-profit.ll
llvm/trunk/test/CodeGen/PowerPC/fp-int-conversions-direct-moves.ll
llvm/trunk/test/CodeGen/PowerPC/fp64-to-int16.ll
llvm/trunk/test/CodeGen/PowerPC/gpr-vsr-spill.ll
llvm/trunk/test/CodeGen/PowerPC/inlineasm-extendedmne.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64-align-long-double.ll
llvm/trunk/test/CodeGen/PowerPC/pr26180.ll
llvm/trunk/test/CodeGen/PowerPC/pr31144.ll
llvm/trunk/test/CodeGen/PowerPC/select-addrRegRegOnly.ll
llvm/trunk/test/CodeGen/PowerPC/setrnd.ll
llvm/trunk/test/CodeGen/PowerPC/store_fptoi.ll
llvm/trunk/test/CodeGen/PowerPC/uint-to-fp-v4i32.ll
llvm/trunk/test/CodeGen/PowerPC/uint-to-ppcfp128-crash.ll
llvm/trunk/test/CodeGen/PowerPC/vec_conv_fp64_to_i32_elts.ll
llvm/trunk/test/CodeGen/PowerPC/vec_conv_i16_to_fp32_elts.ll
llvm/trunk/test/CodeGen/PowerPC/vec_conv_i8_to_fp32_elts.ll
llvm/trunk/test/MC/Disassembler/PowerPC/vsx.txt
llvm/trunk/test/MC/PowerPC/vsx.s
|