[h8300] Fix ambiguous .md attribute uses

This patch is part of a series that fixes ambiguous attribute
uses in .md files, i.e. cases in which attributes didn't use
<ITER:ATTR> to specify an iterator, and in which <ATTR> could
have different values depending on the iterator chosen.

No behavioural change -- produces the same code as before.

2019-07-06  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* config/h8300/h8300.md (*push1_h8300hs_<mode>): Explicitly
	specify the mode iterator referenced by <mode>, giving...
	(*push1_h8300hs_<QHI:mode>): ...this.

From-SVN: r273160
This commit is contained in:
Richard Sandiford 2019-07-06 08:26:11 +00:00 committed by Richard Sandiford
parent 96eb1765a3
commit 212ecf90de
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2019-07-06 Richard Sandiford <richard.sandiford@arm.com>
* config/h8300/h8300.md (*push1_h8300hs_<mode>): Explicitly
specify the mode iterator referenced by <mode>, giving...
(*push1_h8300hs_<QHI:mode>): ...this.
2019-07-06 Richard Sandiford <richard.sandiford@arm.com>
* config/gcn/gcn-valu.md

View file

@ -728,7 +728,7 @@
"mov.w\\t%T0,@-r7"
[(set_attr "length" "2")])
(define_insn "*push1_h8300hs_<mode>"
(define_insn "*push1_h8300hs_<QHI:mode>"
[(set (mem:QHI
(pre_modify:P
(reg:P SP_REG)