Lines Matching refs:encoding
1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s
7 # CHECK: ori $5, $zero, 123 # encoding: [0x7b,0x00,0x05,0x34]
8 # CHECK: addiu $6, $zero, -2345 # encoding: [0xd7,0xf6,0x06,0x24]
9 # CHECK: lui $7, 1 # encoding: [0x01,0x00,0x07,0x3c]
10 # CHECK: ori $7, $7, 2 # encoding: [0x02,0x00,0xe7,0x34]
11 # CHECK: addiu $8, $zero, -8 # encoding: [0xf8,0xff,0x08,0x24]
13 # CHECK: addiu $4, $zero, 20 # encoding: [0x14,0x00,0x04,0x24]
14 # CHECK: lui $7, 1 # encoding: [0x01,0x00,0x07,0x3c]
15 # CHECK: ori $7, $7, 2 # encoding: [0x02,0x00,0xe7,0x34]
16 # CHECK: addiu $4, $5, 20 # encoding: [0x14,0x00,0xa4,0x24]
17 # CHECK: lui $7, 1 # encoding: [0x01,0x00,0x07,0x3c]
18 # CHECK: ori $7, $7, 2 # encoding: [0x02,0x00,0xe7,0x34]
19 # CHECK: addu $7, $7, $8 # encoding: [0x21,0x38,0xe8,0x00]
20 # CHECK: lui $10, %hi(symbol) # encoding: [A,A,0x0a,0x3c]
22 # CHECK: addu $10, $10, $4 # encoding: [0x21,0x50,0x44,0x01]
23 # CHECK: lw $10, %lo(symbol)($10) # encoding: [A,A,0x4a,0x8d]
25 # CHECK: lui $1, %hi(symbol) # encoding: [A,A,0x01,0x3c]
27 # CHECK: addu $1, $1, $9 # encoding: [0x21,0x08,0x29,0x00]
28 # CHECK: sw $10, %lo(symbol)($1) # encoding: [A,A,0x2a,0xac]
30 # CHECK: lui $10, 10 # encoding: [0x0a,0x00,0x0a,0x3c]
31 # CHECK: addu $10, $10, $4 # encoding: [0x21,0x50,0x44,0x01]
32 # CHECK: lw $10, 123($10) # encoding: [0x7b,0x00,0x4a,0x8d]
33 # CHECK: lui $1, 2 # encoding: [0x02,0x00,0x01,0x3c]
34 # CHECK: addu $1, $1, $9 # encoding: [0x21,0x08,0x29,0x00]
35 # CHECK: sw $10, 57920($1) # encoding: [0x40,0xe2,0x2a,0xac]