]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC, Mode Iterators 2/n] Eliminate picbase expanders.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Sep 2019 18:50:55 +0000 (18:50 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Sep 2019 18:50:55 +0000 (18:50 +0000)
commit6a9d76a2a832f6a073a2ee8625b13007fb085a3e
tree7c9f5f9ca8bfdbb62f3d85e4239c181a5e26c35f
parenta74b91fa21ca8df126c23b704285a433e76ba4dc
[Darwin, PPC, Mode Iterators 2/n] Eliminate picbase expanders.

We can use the mode iterators directly with an @pattern to avoid the
need for an expander that was only there to pass the mode through.

gcc/ChangeLog:

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

* config/rs6000/darwin.md: Replace the expanders for
load_macho_picbase and reload_macho_picbase with use of '@'
in their respective define_insns.
(nonlocal_goto_receiver): Pass Pmode to gen_reload_macho_picbase.
* config/rs6000/rs6000-logue.c (rs6000_emit_prologue): Pass
Pmode to gen_load_macho_picbase.
* config/rs6000/rs6000.md: Likewise.

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