]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p2
authorKewen Lin <linkw@linux.ibm.com>
Fri, 15 Nov 2024 03:46:33 +0000 (03:46 +0000)
committerKewen Lin <linkw@gcc.gnu.org>
Fri, 15 Nov 2024 03:46:33 +0000 (03:46 +0000)
commitd35ee820b43e80a1298deecc60fdee32d9416eff
treefb25e8ecdce00d1e258ba76c5bdddd1e3a5be7bd
parent311bcf9d4c3950e75a8ea83f8b1dd1facffd1910
rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p2

The current handlings in rs6000_emit_vector_compare is a bit
complicated to me, especially after we emit vector float
comparison insn with the given code directly.  So it's better
to refactor the handlings of vector integer comparison here.

This is part 2, it's to refactor the handlings on LT and LTU.
This patch doesn't introduce any functionality change.

gcc/ChangeLog:

* config/rs6000/rs6000.cc (rs6000_emit_vector_compare): Refine the
handlings for operators LT and LTU.
gcc/config/rs6000/rs6000.cc