1 --- a/gcc/config/mips/sync.md
2 +++ b/gcc/config/mips/sync.md
4 [(match_operand:SI 1 "register_operand" "d")
5 (match_operand:SI 2 "register_operand" "d")
6 (atomic_hiqi_op:SI (match_dup 0)
7 - (match_operand:SI 3 "register_operand" "dJ"))]
8 + (match_operand:SI 3 "reg_or_0_operand" "dJ"))]
9 UNSPEC_SYNC_OLD_OP_12))
10 (clobber (match_scratch:SI 4 "=&d"))]
13 [(match_operand:SI 2 "register_operand" "d")
14 (match_operand:SI 3 "register_operand" "d")
15 (atomic_hiqi_op:SI (match_dup 0)
16 - (match_operand:SI 4 "register_operand" "dJ"))]
17 + (match_operand:SI 4 "reg_or_0_operand" "dJ"))]
18 UNSPEC_SYNC_OLD_OP_12))
19 (clobber (match_scratch:SI 5 "=&d"))]
22 (match_operand:SI 2 "register_operand" "d")
23 (match_operand:SI 3 "register_operand" "d")
24 (atomic_hiqi_op:SI (match_dup 0)
25 - (match_operand:SI 4 "register_operand" "dJ"))]
26 + (match_operand:SI 4 "reg_or_0_operand" "dJ"))]
27 UNSPEC_SYNC_NEW_OP_12))
31 [(match_operand:SI 1 "register_operand" "d")
32 (match_operand:SI 2 "register_operand" "d")
34 - (match_operand:SI 3 "register_operand" "dJ")]
35 + (match_operand:SI 3 "reg_or_0_operand" "dJ")]
36 UNSPEC_SYNC_OLD_OP_12))
37 (clobber (match_scratch:SI 4 "=&d"))]
41 [(match_operand:SI 2 "register_operand" "d")
42 (match_operand:SI 3 "register_operand" "d")
43 - (match_operand:SI 4 "register_operand" "dJ")]
44 + (match_operand:SI 4 "reg_or_0_operand" "dJ")]
45 UNSPEC_SYNC_OLD_OP_12))
46 (clobber (match_scratch:SI 5 "=&d"))]
49 [(match_operand:SI 1 "memory_operand" "+R")
50 (match_operand:SI 2 "register_operand" "d")
51 (match_operand:SI 3 "register_operand" "d")
52 - (match_operand:SI 4 "register_operand" "dJ")]
53 + (match_operand:SI 4 "reg_or_0_operand" "dJ")]
54 UNSPEC_SYNC_NEW_OP_12))
59 (unspec_volatile:SI [(match_operand:SI 2 "register_operand" "d")
60 (match_operand:SI 3 "register_operand" "d")
61 - (match_operand:SI 4 "arith_operand" "dJ")]
62 + (match_operand:SI 4 "reg_or_0_operand" "dJ")]
63 UNSPEC_SYNC_EXCHANGE_12))]
65 { return mips_output_sync_loop (insn, operands); }