[mips] Fix ambiguous .md attribute uses
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 16 Jul 2019 08:40:55 +0000 (08:40 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 16 Jul 2019 08:40:55 +0000 (08:40 +0000)
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

gcc/ChangeLog
gcc/config/mips/micromips.md

index 82a8f0b..69a7f8e 100644 (file)
@@ -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
index 9f8158e..782d9d1 100644 (file)
     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")])