]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC, Mode Iterators 1/n] Use mode iterators in picbase patterns.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Sep 2019 19:28:08 +0000 (19:28 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Sep 2019 19:28:08 +0000 (19:28 +0000)
commit6ccf1ce78e880c4b5c644d57fc86b991268c333a
treecb5cb4c01cb6091b5b10f6478a32950b8249cfff
parent2fae2dfa8fc0db7394fbb3cb02f73bf58dfe68db
[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.

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