[all-commits] [llvm/llvm-project] ff475a: [LoongArch] Add baseline tests for `bytepick` code...
WÁNG Xuěruì via All-commits
all-commits at lists.llvm.org
Thu Mar 16 00:07:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff475a0dd92fa7f425617d663caab4d4c65684ac
https://github.com/llvm/llvm-project/commit/ff475a0dd92fa7f425617d663caab4d4c65684ac
Author: WANG Xuerui <git at xen0n.name>
Date: 2023-03-16 (Thu, 16 Mar 2023)
Changed paths:
A llvm/test/CodeGen/LoongArch/bytepick.ll
Log Message:
-----------
[LoongArch] Add baseline tests for `bytepick` codegen. NFC
Reviewed By: SixWeining
Differential Revision: https://reviews.llvm.org/D143879
Commit: 19e2ebbf45bdd9f2a9abc3f7760bdbea8c808dc0
https://github.com/llvm/llvm-project/commit/19e2ebbf45bdd9f2a9abc3f7760bdbea8c808dc0
Author: WANG Xuerui <git at xen0n.name>
Date: 2023-03-16 (Thu, 16 Mar 2023)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/bitreverse.ll
M llvm/test/CodeGen/LoongArch/bswap.ll
M llvm/test/CodeGen/LoongArch/bytepick.ll
Log Message:
-----------
[LoongArch] Emit bytepick for picking from concatenation of two values
It seems the ISA manual's pseudo-code description for the
`BYTEPICK.[WD]` instructions is inaccurate; the behavior described here
should be correct though. The instructions' names are misleading too
(they pick full GRLen-wide words instead of bytes; they just index by
bytes) but let's stick to the official names for now.
Reviewed By: SixWeining
Differential Revision: https://reviews.llvm.org/D143880
Compare: https://github.com/llvm/llvm-project/compare/6d42953f147d...19e2ebbf45bd
More information about the All-commits
mailing list