diff options
Diffstat (limited to 'test/MC/Mips/set-nomacro.s')
-rw-r--r-- | test/MC/Mips/set-nomacro.s | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/MC/Mips/set-nomacro.s b/test/MC/Mips/set-nomacro.s index 00d6b2117c021..3f82f81613158 100644 --- a/test/MC/Mips/set-nomacro.s +++ b/test/MC/Mips/set-nomacro.s @@ -60,6 +60,13 @@ bgtu $0, $8, local_label bgtu $0, $0, local_label + ulhu $5, 0 + + ulw $8, 2 + ulw $8, 0x8000 + ulw $8, 2($9) + ulw $8, 0x8000($9) + add $4, $5, $6 .set noreorder @@ -168,5 +175,17 @@ bgtu $0, $0, local_label # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + ulhu $5, 0 +# CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + + ulw $8, 2 +# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + ulw $8, 0x8000 +# CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + ulw $8, 2($9) +# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + ulw $8, 0x8000($9) +# CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions + add $4, $5, $6 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions |