Revert "[mips] [IAS] Add support for BNE and BEQ with an immediate operand." (r239396).
[oota-llvm.git] / test / MC / Mips / set-nomacro.s
1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 2>&1 | FileCheck %s
2
3 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
4   .set macro
5   li  $8, -16
6   li  $8, 16
7   li  $8, 161616
8
9   la  $8, 16
10   la  $8, 161616
11   la  $8, 16($9)
12   la  $8, 161616($9)
13   la  $8, symbol
14
15   jal $25
16   jal $4, $25
17
18   add $4, $5, $6
19
20   .set noreorder
21   .set nomacro
22   li  $8, -16
23 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
24   li  $8, 16
25 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
26   li  $8, 161616
27 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
28
29   la  $8, 16
30 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
31   la  $8, 161616
32 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
33   la  $8, 16($9)
34 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
35   la  $8, 161616($9)
36 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
37   la  $8, symbol
38 # CHECK: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
39
40   jal $25
41 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
42   jal $4, $25
43 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
44
45   add $4, $5, $6
46 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions