diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-12-17 05:38:20 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-12-27 19:02:03 +0800 |
commit | 80b8f1e53502a398248bbf10bf59f7d5b0f1c861 (patch) | |
tree | bd6970443b831035424a800454342266cb6f0427 /gcc/gcov-io.h | |
parent | c4ac073d4fc7474e29d085bbd10971138ee7478e (diff) | |
download | gcc-80b8f1e53502a398248bbf10bf59f7d5b0f1c861.zip gcc-80b8f1e53502a398248bbf10bf59f7d5b0f1c861.tar.gz gcc-80b8f1e53502a398248bbf10bf59f7d5b0f1c861.tar.bz2 |
LoongArch: Expand left rotate to right rotate with negated amount
gcc/ChangeLog:
* config/loongarch/loongarch.md (rotl<mode>3):
New define_expand.
* config/loongarch/simd.md (vrotl<mode>3): Likewise.
(rotl<mode>3): Likewise.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/rotl-with-rotr.c: New test.
* gcc.target/loongarch/rotl-with-vrotr-b.c: New test.
* gcc.target/loongarch/rotl-with-vrotr-h.c: New test.
* gcc.target/loongarch/rotl-with-vrotr-w.c: New test.
* gcc.target/loongarch/rotl-with-vrotr-d.c: New test.
* gcc.target/loongarch/rotl-with-xvrotr-b.c: New test.
* gcc.target/loongarch/rotl-with-xvrotr-h.c: New test.
* gcc.target/loongarch/rotl-with-xvrotr-w.c: New test.
* gcc.target/loongarch/rotl-with-xvrotr-d.c: New test.
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions