]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p3
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)
commit35c83e66c0085bc67fcb21b4413bace452ce0ca0
tree39fb00fcca54d15bdd3589f4bc78679cfbb6270e
parentd35ee820b43e80a1298deecc60fdee32d9416eff
rs6000: Rework vector integer comparison in rs6000_emit_vector_compare - p3

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 3, it's to refactor the handlings on NE.
This patch doesn't introduce any functionality change.

gcc/ChangeLog:

* config/rs6000/rs6000.cc (rs6000_emit_vector_compare): Refactor the
handlings for operator NE.
gcc/config/rs6000/rs6000.cc