rs6000: Don't align tiny loops to 32 bytes for POWER9
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 5 Mar 2018 19:11:54 +0000 (20:11 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 5 Mar 2018 19:11:54 +0000 (20:11 +0100)
commit34b01e681ea99cfeef9dbb69fbb1f9fb1dc3a088
tree5d2029591a80ce6bcba264391fab859fb72d4e85
parent14710257c19ff60d7c111d41a94f3c3f48ba8d84
rs6000: Don't align tiny loops to 32 bytes for POWER9

For POWER4..POWER8 we align loops of 5..8 instructions to 32 bytes
(instead of to 16 bytes) because that executes faster.  This is no
longer the case on POWER9, so we can just as well only align to 16
bytes.

* config/rs6000/rs6000.c (rs6000_loop_align): Don't align tiny loops
to 32 bytes when compiling for POWER9.

From-SVN: r258260
gcc/ChangeLog
gcc/config/rs6000/rs6000.c