]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: unnecessary clear after vctzlsbb in vec_first_match_or_eos_index
authorAjit Kumar Agarwal <aagarwa1@linux.ibm.com>
Sun, 17 Sep 2023 17:27:10 +0000 (12:27 -0500)
committerAjit Kumar Agarwal <aagarwa1@linux.ibm.com>
Sun, 17 Sep 2023 17:27:10 +0000 (12:27 -0500)
commitb34f8e705d961260adc2bea95db4361b2e70d565
treec8f51e38d25382088031b85c1050f05f6e62d20a
parent68845f7c4d58186cc0a5b09f7511f3c0a8f07e88
rs6000: unnecessary clear after vctzlsbb in vec_first_match_or_eos_index

For rs6000 target we dont need zero_extend after vctzlsbb as vctzlsbb
already zero extend.

2023-09-17  Ajit Kumar Agarwal  <aagarwa1@linux.ibm.com>

gcc/ChangeLog:

* config/rs6000/vsx.md (*vctzlsbb_zext_<mode>): New define_insn.

gcc/testsuite/ChangeLog:

* g++.target/powerpc/altivec-19.C: New testcase.
gcc/config/rs6000/vsx.md
gcc/testsuite/g++.target/powerpc/altivec-19.C [new file with mode: 0644]