]> gcc.gnu.org Git - gcc.git/commit
PowerPC: Change cmove function return to bool.
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 1 Sep 2020 04:57:49 +0000 (00:57 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Tue, 1 Sep 2020 20:25:44 +0000 (16:25 -0400)
commit6aa908834f8791334513763f91038793c97c0e73
tree4b95a47ae7ea906bcf68e0f235b794f5a78a4c2a
parent73e86474fce90123b896e7ba1d9710de17a6c0c7
PowerPC: Change cmove function return to bool.

In doing the other work for adding ISA 3.1 128-bit minimum, maximum, and
conditional move support, I noticed the two functions that process conditional
moves return 'int' instead of 'bool'.  This patch changes these functions to
return 'bool'.

I have built compilers on a little endian power9 Linux system with all 4
patches applied.  I did bootstrap builds and ran the testsuite, with no
regressions.  Previous versions of the patch was also tested on a little endian
power8 Linux system.  I would like to check this patch into the master
branch for GCC 11.  At this time, I do not anticipate needing to backport these
changes to GCC 10.3.

gcc/
2020-09-01  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/rs6000-protos.h (rs6000_emit_cmove): Change return
type to bool.
(rs6000_emit_int_cmove): Change return type to bool.
* config/rs6000/rs6000.c (rs6000_emit_cmove): Change return type
to bool.
(rs6000_emit_int_cmove): Change return type to bool.
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
This page took 0.058851 seconds and 6 git commands to generate.