]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC, Mode Iterators 4/n] Update macho_high.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Sep 2019 19:32:31 +0000 (19:32 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Sep 2019 19:32:31 +0000 (19:32 +0000)
commit1334eb86c38aeae399c1bed61f959cbfc4c986d4
tree06f769200357c1179cb4e34c6e04e0a1430012ad
parentcb9a5db89bdc083eb8c7019926b18833952dbf96
[Darwin, PPC, Mode Iterators 4/n] Update macho_high.

Drop the expander and use a mode iterator on the define_insn
for @macho_high_<mode> instead.

gcc/ChangeLog:

2019-09-28  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (gen_macho_high): Amend to include the mode
argument.
(machopic_indirect_data_reference): Amend gen_macho_high call
to include mode argument.
(machopic_legitimize_pic_address): Likewise.
* config/rs6000/rs6000.c (rs6000_legitimize_address):
* config/rs6000/darwin.md (@macho_high_<mode>): New, replaces
the macho_high expander and two define_insn entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276256 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin.c
gcc/config/rs6000/darwin.md
gcc/config/rs6000/rs6000.c