aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-07-16 08:40:55 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-07-16 08:40:55 +0000
commit8f5b616591371edc9ec4f31f9b8c1d611b3b7577 (patch)
tree1de3b7d390276a7c32f15b245c4fd775f7a362b8
parentd3ed5b56646511a52db9992f4024969bfc9a13f9 (diff)
downloadgcc-8f5b616591371edc9ec4f31f9b8c1d611b3b7577.zip
gcc-8f5b616591371edc9ec4f31f9b8c1d611b3b7577.tar.gz
gcc-8f5b616591371edc9ec4f31f9b8c1d611b3b7577.tar.bz2
[mips] 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-16 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/mips/micromips.md (*movep<MOVEP1:mode><MOVEP2:mode>): Explicitly use <MOVEP1:MODE> for the mode attribute. From-SVN: r273508
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/micromips.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 82a8f0b..69a7f8e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-07-16 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/mips/micromips.md (*movep<MOVEP1:mode><MOVEP2:mode>):
+ Explicitly use <MOVEP1:MODE> for the mode attribute.
+
2019-07-16 Jan Hubicka <hubicka@ucw.cz>
PR bootstrap/91176
diff --git a/gcc/config/mips/micromips.md b/gcc/config/mips/micromips.md
index 9f8158e..782d9d1 100644
--- a/gcc/config/mips/micromips.md
+++ b/gcc/config/mips/micromips.md
@@ -133,5 +133,5 @@
return "movep\t%2,%0,%z3,%z1";
}
[(set_attr "type" "move")
- (set_attr "mode" "<MODE>")
+ (set_attr "mode" "<MOVEP1:MODE>")
(set_attr "can_delay" "no")])