aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-07-06 08:26:11 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-07-06 08:26:11 +0000
commit212ecf90de89e3fde0704753dc2b1268a7062f1b (patch)
tree69f2b33fe9a00d77106f7bd51211147bbf021ba1
parent96eb1765a38dd4074fdbaedef76b8b1fe1d7e175 (diff)
downloadgcc-212ecf90de89e3fde0704753dc2b1268a7062f1b.zip
gcc-212ecf90de89e3fde0704753dc2b1268a7062f1b.tar.gz
gcc-212ecf90de89e3fde0704753dc2b1268a7062f1b.tar.bz2
[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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/h8300/h8300.md2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9dc0e09..262244db 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
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
(vcond<VEC_1REG_MODE:mode><VEC_1REG_ALT:mode>): Use
gen_vec_cmp<VEC_1REG_ALT:mode>di rather than (implicitly)
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 42610fd..778d3e1 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -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)