diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-22 21:23:38 -0700 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2024-07-24 07:53:23 -0700 |
commit | 23f195b06ad759939805a36646c724bccc3f3984 (patch) | |
tree | 57d813f7b6a1d93efbe8f761bdbceaad5fc28484 /gcc/gcov.cc | |
parent | 6a99f3ae962542165fdfc077f1040ea4d936691b (diff) | |
download | gcc-23f195b06ad759939805a36646c724bccc3f3984.zip gcc-23f195b06ad759939805a36646c724bccc3f3984.tar.gz gcc-23f195b06ad759939805a36646c724bccc3f3984.tar.bz2 |
optabs/rs6000: Rename iorc and andc to iorn and andn
When I was trying to add an scalar version of iorc and andc, the optab that
got matched was for and/ior with the mode of csi and cdi instead of iorc and
andc optabs for si and di modes. Since csi/cdi are the complex integer modes,
we need to rename the optabs to be without c there. This changes c to n which
is a neutral and known not to be first letter of a mode.
Bootstrapped and tested on x86_64 and powerpc64le.
gcc/ChangeLog:
* config/rs6000/rs6000-builtins.def: s/iorc/iorn/. s/andc/andn/
for the code.
* config/rs6000/rs6000-string.cc (expand_cmp_vec_sequence): Update
to iorn.
* config/rs6000/rs6000.md (andc<mode>3): Rename to ...
(andn<mode>3): This.
(iorc<mode>3): Rename to ...
(iorn<mode>3): This.
* doc/md.texi: Update documentation for the rename.
* internal-fn.def (BIT_ANDC): Rename to ...
(BIT_ANDN): This.
(BIT_IORC): Rename to ...
(BIT_IORN): This.
* optabs.def (andc_optab): Rename to ...
(andn_optab): This.
(iorc_optab): Rename to ...
(iorn_optab): This.
* gimple-isel.cc (gimple_expand_vec_cond_expr): Update for the
renamed internal functions, ANDC/IORC to ANDN/IORN.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/gcov.cc')
0 files changed, 0 insertions, 0 deletions