1# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 | \
2# RUN:   FileCheck %s
3
4    .text
5    rotr  $7, $7, 22
6
7    .set mips32r6
8    mod   $2, $4, $6
9    .set mips0
10    rotr  $2, $2, 15
11
12    .set mips3
13    dadd  $4, $4, $4
14    .set mips0
15    rotr  $3, $3, 19
16
17# CHECK: rotr  $7, $7, 22
18
19# CHECK: .set mips32r6
20# CHECK: mod   $2, $4, $6
21# CHECK: .set mips0
22# CHECK: rotr  $2, $2, 15
23
24# CHECK: .set mips3
25# CHECK: dadd  $4, $4, $4
26# CHECK: .set mips0
27# CHECK: rotr  $3, $3, 19
28