1# RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s 2 3################################################################################ 4# Operands disassembly 5################################################################################ 6 7# CHECK: add r0, r0, r0 80x00 0x00 0x00 0x00 9 10# CHECK: add r1, r1, r1 110x00 0x21 0x08 0x00 12 13# CHECK: add r2, r2, r2 140x00 0x42 0x10 0x00 15 16# CHECK: add r3, r3, r3 170x00 0x63 0x18 0x00 18 19# CHECK: add r4, r4, r4 200x00 0x84 0x20 0x00 21 22# CHECK: add r5, r5, r5 230x00 0xa5 0x28 0x00 24 25# CHECK: add r6, r6, r6 260x00 0xc6 0x30 0x00 27 28# CHECK: add r7, r7, r7 290x00 0xe7 0x38 0x00 30 31# CHECK: add r8, r8, r8 320x01 0x08 0x40 0x00 33 34# CHECK: add r9, r9, r9 350x01 0x29 0x48 0x00 36 37# CHECK: add r10, r10, r10 380x01 0x4a 0x50 0x00 39 40# CHECK: add r11, r11, r11 410x01 0x6b 0x58 0x00 42 43# CHECK: add r12, r12, r12 440x01 0x8c 0x60 0x00 45 46# CHECK: add r13, r13, r13 470x01 0xad 0x68 0x00 48 49# CHECK: add r14, r14, r14 500x01 0xce 0x70 0x00 51 52# CHECK: add r15, r15, r15 530x01 0xef 0x78 0x00 54 55# CHECK: add r16, r16, r16 560x02 0x10 0x80 0x00 57 58# CHECK: add r17, r17, r17 590x02 0x31 0x88 0x00 60 61# CHECK: add r18, r18, r18 620x02 0x52 0x90 0x00 63 64# CHECK: add r19, r19, r19 650x02 0x73 0x98 0x00 66 67# CHECK: add r20, r20, r20 680x02 0x94 0xa0 0x00 69 70# CHECK: add r21, r21, r21 710x02 0xb5 0xa8 0x00 72 73# CHECK: add r22, r22, r22 740x02 0xd6 0xb0 0x00 75 76# CHECK: add r23, r23, r23 770x02 0xf7 0xb8 0x00 78 79# CHECK: add r24, r24, r24 800x03 0x18 0xc0 0x00 81 82# CHECK: add r25, r25, r25 830x03 0x39 0xc8 0x00 84 85# CHECK: add r26, r26, r26 860x03 0x5a 0xd0 0x00 87 88# CHECK: add r27, r27, r27 890x03 0x7b 0xd8 0x00 90 91# CHECK: add r28, r28, r28 920x03 0x9c 0xe0 0x00 93 94# CHECK: add r29, r29, r29 950x03 0xbd 0xe8 0x00 96 97# CHECK: add r30, r30, r30 980x03 0xde 0xf0 0x00 99 100# CHECK: add r31, r31, r31 1010x03 0xff 0xf8 0x00 102 103# CHECK: addi r0, r0, 0 1040x20 0x00 0x00 0x00 105 106# CHECK: addi r0, r0, 1 1070x20 0x00 0x00 0x01 108 109# CHECK: addi r0, r0, 2 1100x20 0x00 0x00 0x02 111 112# CHECK: addi r0, r0, 4 1130x20 0x00 0x00 0x04 114 115# CHECK: addi r0, r0, 8 1160x20 0x00 0x00 0x08 117 118# CHECK: addi r0, r0, 16 1190x20 0x00 0x00 0x10 120 121# CHECK: addi r0, r0, 32 1220x20 0x00 0x00 0x20 123 124# CHECK: addi r0, r0, 64 1250x20 0x00 0x00 0x40 126 127# CHECK: addi r0, r0, 128 1280x20 0x00 0x00 0x80 129 130# CHECK: addi r0, r0, 256 1310x20 0x00 0x01 0x00 132 133# CHECK: addi r0, r0, 512 1340x20 0x00 0x02 0x00 135 136# CHECK: addi r0, r0, 1024 1370x20 0x00 0x04 0x00 138 139# CHECK: addi r0, r0, 2048 1400x20 0x00 0x08 0x00 141 142# CHECK: addi r0, r0, 4096 1430x20 0x00 0x10 0x00 144 145# CHECK: addi r0, r0, 8192 1460x20 0x00 0x20 0x00 147 148# CHECK: addi r0, r0, 16384 1490x20 0x00 0x40 0x00 150 151# CHECK: addi r0, r0, -1 1520x20 0x00 0xff 0xff 153 154# CHECK: addi r0, r0, -2 1550x20 0x00 0xff 0xfe 156 157# CHECK: addi r0, r0, -4 1580x20 0x00 0xff 0xfc 159 160# CHECK: addi r0, r0, -8 1610x20 0x00 0xff 0xf8 162 163# CHECK: addi r0, r0, -16 1640x20 0x00 0xff 0xf0 165 166# CHECK: addi r0, r0, -32 1670x20 0x00 0xff 0xe0 168 169# CHECK: addi r0, r0, -64 1700x20 0x00 0xff 0xc0 171 172# CHECK: addi r0, r0, -128 1730x20 0x00 0xff 0x80 174 175# CHECK: addi r0, r0, -256 1760x20 0x00 0xff 0x00 177 178# CHECK: addi r0, r0, -512 1790x20 0x00 0xfe 0x00 180 181# CHECK: addi r0, r0, -1024 1820x20 0x00 0xfc 0x00 183 184# CHECK: addi r0, r0, -2048 1850x20 0x00 0xf8 0x00 186 187# CHECK: addi r0, r0, -4096 1880x20 0x00 0xf0 0x00 189 190# CHECK: addi r0, r0, -8192 1910x20 0x00 0xe0 0x00 192 193# CHECK: addi r0, r0, -16384 1940x20 0x00 0xc0 0x00 195 196# CHECK: addi r0, r0, -32768 1970x20 0x00 0x80 0x00 198