diff options
author | Michael Meissner <meissner@linux.ibm.com> | 2023-10-02 13:17:15 -0400 |
---|---|---|
committer | Michael Meissner <meissner@linux.ibm.com> | 2023-10-02 13:17:15 -0400 |
commit | a70b158c270fffc40fde258bd778184fbc32b942 (patch) | |
tree | 5f8d1b86e3492719b6267257426ff7eece3d85ea /gcc/combine.cc | |
parent | 140820265d96b0d115ade21235f8b8017fde9a5a (diff) | |
download | gcc-a70b158c270fffc40fde258bd778184fbc32b942.zip gcc-a70b158c270fffc40fde258bd778184fbc32b942.tar.gz gcc-a70b158c270fffc40fde258bd778184fbc32b942.tar.bz2 |
Replace UNSPEC_COPYSIGN with copysign RTL
When I first implemented COPYSIGN support in the power7 days, we did not have a
copysign RTL insn, so I had to use UNSPEC to represent the copysign
instruction. This patch removes those UNSPECs, and it uses the native RTL
copysign insn.
2023-10-02 Michael Meissner <meissner@linux.ibm.com>
gcc/
* config/rs6000/rs6000.md (UNSPEC_COPYSIGN): Delete.
(copysign<mode>3_fcpsg): Use copysign RTL instead of UNSPEC.
(copysign<mode>3_hard): Likewise.
(copysign<mode>3_soft): Likewise.
* config/rs6000/vector.md (vector_copysign<mode>3): Use copysign RTL
instead of UNSPEC.
* config/rs6000/vsx.md (vsx_copysign<mode>3): Use copysign RTL instead
of UNSPEC.
Diffstat (limited to 'gcc/combine.cc')
0 files changed, 0 insertions, 0 deletions