[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / set-nomacro-micromips.s
blobe1f49141e5f3593642c639ac02f18d2f00bcafdd
1 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mattr=micromips 2>&1 | FileCheck %s
3 .text
4 .type main, @function
5 .set micromips
6 main:
7 # CHECK-NOT: warning: macro instruction expanded into multiple instructions
8 .set macro
9 b 132
10 b 1332
11 b bar
13 lwm $16, $17, 8($sp)
14 swm $16, $17, 8($sp)
16 add $4, $5, $6
18 .set noreorder
19 .set nomacro
20 b 132
21 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
22 b 1332
23 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
24 b bar
25 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
27 lwm $16, $17, 8($sp)
28 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
29 swm $16, $17, 8($sp)
30 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions
32 add $4, $5, $6
33 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions