[Darwin, PPC, Mode Iterators 1/n] Use mode iterators in picbase patterns.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 24 Sep 2019 19:28:08 +0000 (19:28 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 24 Sep 2019 19:28:08 +0000 (19:28 +0000)
commitdd9ed099056a247286a43a33cafa2cfd0d0a1524
treecb5cb4c01cb6091b5b10f6478a32950b8249cfff
parent42eb48017d5cf2a7c76b73cb829871e67635536a
[Darwin, PPC, Mode Iterators 1/n] Use mode iterators in picbase patterns.

This switches the picbase load and reload patterns to use the 'P' mode
iterator instead of writing an SI and DI pattern for each.

gcc/ChangeLog:

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

* config/rs6000/rs6000.md (load_macho_picbase_<mode>): New, using
the 'P' mode iterator, replacing the (removed) SI and DI variants.
(reload_macho_picbase_<mode>): Likewise.

From-SVN: r276107
gcc/ChangeLog
gcc/config/rs6000/darwin.md