[ARM] Add source mode to coprocessor pattern SETs
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 10 Apr 2017 11:21:55 +0000 (11:21 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 10 Apr 2017 11:21:55 +0000 (11:21 +0000)
* config/arm/arm.md (<mrc>): Add mode to SET source.
(<mrrc>): Likewise.

From-SVN: r246801

gcc/ChangeLog
gcc/config/arm/arm.md

index 8a773bd0214a4f63832b0bee134f40fa5e2822c0..ba40b098189873e5fa71d9021dcadd51b347d20c 100644 (file)
@@ -1,3 +1,8 @@
+2016-04-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/arm/arm.md (<mrc>): Add mode to SET source.
+       (<mrrc>): Likewise.
+
 2017-04-10  Richard Biener  <rguenther@suse.de>
 
        PR middle-end/80344
index 71cc109e102255f36f26e449c5ae23f1188872b6..21cfe3a4c31372e022331e3fa90d0a9c5bc96c10 100644 (file)
 
 (define_insn "<mrc>"
   [(set (match_operand:SI 0 "s_register_operand" "=r")
-       (unspec_volatile [(match_operand:SI 1 "immediate_operand" "n")
+       (unspec_volatile:SI [(match_operand:SI 1 "immediate_operand" "n")
                          (match_operand:SI 2 "immediate_operand" "n")
                          (match_operand:SI 3 "immediate_operand" "n")
                          (match_operand:SI 4 "immediate_operand" "n")
 
 (define_insn "<mrrc>"
   [(set (match_operand:DI 0 "s_register_operand" "=r")
-       (unspec_volatile [(match_operand:SI 1 "immediate_operand" "n")
+       (unspec_volatile:DI [(match_operand:SI 1 "immediate_operand" "n")
                          (match_operand:SI 2 "immediate_operand" "n")
                          (match_operand:SI 3 "immediate_operand" "n")] MRRCI))]
   "arm_coproc_builtin_available (VUNSPEC_<MRRC>)"