]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Add instruction pattern for conditional shift operations
authorPaul-Antoine Arras <pa@codesourcery.com>
Wed, 1 Feb 2023 15:13:23 +0000 (16:13 +0100)
committerPaul-Antoine Arras <pa@codesourcery.com>
Thu, 2 Feb 2023 15:26:19 +0000 (16:26 +0100)
commit9c7e898bbd643f45a553afcb5204717048205a1a
tree76188604789967f051ac3bb18a73d2524a0f7831
parentcd41085a37b8288dbdfe0f81027ce04b978578f1
amdgcn: Add instruction pattern for conditional shift operations

gcc/ChangeLog:

* config/gcn/gcn-valu.md (cond_<expander><mode>): Add
cond_{ashl|ashr|lshr}

gcc/testsuite/ChangeLog:

* gcc.target/gcn/cond_shift_3.c: New test.
* gcc.target/gcn/cond_shift_3_run.c: New test.
* gcc.target/gcn/cond_shift_4.c: New test.
* gcc.target/gcn/cond_shift_4_run.c: New test.
* gcc.target/gcn/cond_shift_8.c: New test.
* gcc.target/gcn/cond_shift_8_run.c: New test.
* gcc.target/gcn/cond_shift_9.c: New test.
* gcc.target/gcn/cond_shift_9_run.c: New test.
gcc/config/gcn/gcn-valu.md
gcc/testsuite/gcc.target/gcn/cond_shift_3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_3_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_4_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_8_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_9.c [new file with mode: 0644]
gcc/testsuite/gcc.target/gcn/cond_shift_9_run.c [new file with mode: 0644]