Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 2361) sorted by relevance

12345678910>>...95

/external/llvm/test/MC/Mips/
Dmacro-dli.s1 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 | \
3 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 | \
7 dli $5, 0x0000000000000001 # CHECK: addiu $5, $zero, 1 # encoding: [0x24,0x05,0x00,0x…
8 dli $5, 0x0000000000000002 # CHECK: addiu $5, $zero, 2 # encoding: [0x24,0x05,0x00,0x…
9 dli $5, 0x0000000000004000 # CHECK: addiu $5, $zero, 16384 # encoding: [0x24,0x05,0x40,0x…
10 dli $5, 0x0000000000008000 # CHECK: ori $5, $zero, 32768 # encoding: [0x34,0x05,0x80,0x…
11 dli $5, 0x00000000ffff8000 # CHECK: ori $5, $zero, 65535 # encoding: [0x34,0x05,0xff,0x…
12 … # CHECK: dsll $5, $5, 16 # encoding: [0x00,0x05,0x2c,0x38]
13 … # CHECK: ori $5, $5, 32768 # encoding: [0x34,0xa5,0x80,0x00]
14 dli $5, 0x00000000ffffc000 # CHECK: ori $5, $zero, 65535 # encoding: [0x34,0x05,0xff,0x…
[all …]
Dmacro-dla.s1 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 | \
3 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 | \
7 dla $5, 0x0000000000000001 # CHECK: daddiu $5, $zero, 1 # encoding: [0x64,0x05,0x00,0x…
8 dla $5, 0x0000000000000002 # CHECK: daddiu $5, $zero, 2 # encoding: [0x64,0x05,0x00,0x…
9 dla $5, 0x0000000000004000 # CHECK: daddiu $5, $zero, 16384 # encoding: [0x64,0x05,0x40,0x…
10 dla $5, 0x0000000000008000 # CHECK: ori $5, $zero, 32768 # encoding: [0x34,0x05,0x80,0x…
11 dla $5, 0x00000000ffff8000 # CHECK: ori $5, $zero, 65535 # encoding: [0x34,0x05,0xff,0x…
12 … # CHECK: dsll $5, $5, 16 # encoding: [0x00,0x05,0x2c,0x38]
13 … # CHECK: ori $5, $5, 32768 # encoding: [0x34,0xa5,0x80,0x00]
14 dla $5, 0x00000000ffffc000 # CHECK: ori $5, $zero, 65535 # encoding: [0x34,0x05,0xff,0x…
[all …]
Dmips64-expansions.s1 # RUN: llvm-mc %s -triple=mips64el-unknown-linux -show-encoding -mcpu=mips64r2 | FileCheck %s
5 # CHECK: lui $10, 65519 # encoding: [0xef,0xff,0x0a,0x3c]
6 # CHECK: ori $10, $10, 61423 # encoding: [0xef,0xef,0x4a,0x35]
11 # CHECK: addiu $1, $zero, 1 # encoding: [0x01,0x00,0x01,0x24]
12 # CHECK: dsll $1, $1, 16 # encoding: [0x38,0x0c,0x01,0x00]
13 # CHECK: ori $1, $1, 1 # encoding: [0x01,0x00,0x21,0x34]
14 # CHECK: dsll $1, $1, 16 # encoding: [0x38,0x0c,0x01,0x00]
15 # CHECK: ori $1, $1, 1 # encoding: [0x01,0x00,0x21,0x34]
16 # CHECK: bne $2, $1, 1332 # encoding: [0x4d,0x01,0x41,0x14]
17 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
[all …]
Dinstalias-imm-expanding.s1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -show-encoding | FileCheck %s
8 # CHECK: lui $1, 32768 # encoding: [0x00,0x80,0x01,0x3c]
9 # CHECK: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00]
11 # CHECK: lui $1, 65535 # encoding: [0xff,0xff,0x01,0x3c]
12 # CHECK: ori $1, $1, 32767 # encoding: [0xff,0x7f,0x21,0x34]
13 # CHECK: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00]
15 # CHECK: addi $4, $4, -32768 # encoding: [0x00,0x80,0x84,0x20]
17 # CHECK: addi $4, $4, 0 # encoding: [0x00,0x00,0x84,0x20]
19 # CHECK: ori $1, $zero, 65535 # encoding: [0xff,0xff,0x01,0x34]
20 # CHECK: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00]
[all …]
Dmacro-la.s1 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \
3 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 | \
5 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 -target-abi=n32 | \
7 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 -target-abi=n32 | \
12 la $5, 0x00000001 # CHECK: addiu $5, $zero, 1 # encoding: [0x24,0x05,0x00,0x01]
13 la $5, 0x00000002 # CHECK: addiu $5, $zero, 2 # encoding: [0x24,0x05,0x00,0x02]
14 la $5, 0x00004000 # CHECK: addiu $5, $zero, 16384 # encoding: [0x24,0x05,0x40,0x00]
15 la $5, 0x00008000 # CHECK: ori $5, $zero, 32768 # encoding: [0x34,0x05,0x80,0x00]
16 la $5, 0xffffffff # CHECK: addiu $5, $zero, -1 # encoding: [0x24,0x05,0xff,0xff]
17 la $5, 0xfffffffe # CHECK: addiu $5, $zero, -2 # encoding: [0x24,0x05,0xff,0xfe]
[all …]
Dmips-expansions.s1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | \
3 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \
11 # CHECK-LE: lui $8, %hi(($tmp0)) # encoding: [A,A,0x08,0x3c]
13 # CHECK-LE: addiu $8, $8, %lo(($tmp0)) # encoding: [A,A,0x08,0x25]
19 # CHECK-LE: lui $10, %hi(symbol) # encoding: [A,A,0x0a,0x3c]
21 # CHECK-LE: addu $10, $10, $4 # encoding: [0x21,0x50,0x44,0x01]
22 # CHECK-LE: lw $10, %lo(symbol)($10) # encoding: [A,A,0x4a,0x8d]
26 # CHECK-LE: lui $1, %hi(symbol) # encoding: [A,A,0x01,0x3c]
28 # CHECK-LE: addu $1, $1, $9 # encoding: [0x21,0x08,0x29,0x00]
29 # CHECK-LE: sw $10, %lo(symbol)($1) # encoding: [A,A,0x2a,0xac]
[all …]
Drotations64.s1 # RUN: llvm-mc %s -arch=mips -mcpu=mips64 -show-encoding | FileCheck %s -check-prefix=CHECK-64
2 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r2 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
3 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r3 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
4 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r5 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
5 # RUN: llvm-mc %s -arch=mips -mcpu=mips64r6 -show-encoding | FileCheck %s -check-prefix=CHECK-64R
10 # CHECK-64: subu $1, $zero, $5 # encoding: [0x00,0x05,0x08,0x23]
11 # CHECK-64: srlv $1, $4, $1 # encoding: [0x00,0x24,0x08,0x06]
12 # CHECK-64: sllv $4, $4, $5 # encoding: [0x00,0xa4,0x20,0x04]
13 # CHECK-64: or $4, $4, $1 # encoding: [0x00,0x81,0x20,0x25]
14 # CHECK-64R: subu $1, $zero, $5 # encoding: [0x00,0x05,0x08,0x23]
[all …]
Dmips-jump-instructions.s1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | \
3 # RUN: llvm-mc %s -triple=mips64el-unknown-linux -show-encoding -mcpu=mips64r2 | \
11 # CHECK32: b 1332 # encoding: [0x4d,0x01,0x00,0x10]
12 # CHECK32: nop # encoding: [0x00,0x00,0x00,0x00]
13 # CHECK32: bc1f 1332 # encoding: [0x4d,0x01,0x00,0x45]
14 # CHECK32: nop # encoding: [0x00,0x00,0x00,0x00]
15 # CHECK32: bc1t 1332 # encoding: [0x4d,0x01,0x01,0x45]
16 # CHECK32: nop # encoding: [0x00,0x00,0x00,0x00]
17 # CHECK32: beq $9, $6, 1332 # encoding: [0x4d,0x01,0x26,0x11]
18 # CHECK32: nop # encoding: [0x00,0x00,0x00,0x00]
[all …]
Dmicromips-16-bit-instructions.s1 # RUN: llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips | \
3 # RUN: llvm-mc %s -triple=mips -show-encoding -mattr=micromips | \
12 # CHECK-EL: addu16 $6, $17, $4 # encoding: [0x42,0x07]
13 # CHECK-EL: subu16 $5, $16, $3 # encoding: [0xb1,0x06]
14 # CHECK-EL: andi16 $16, $2, 31 # encoding: [0x29,0x2c]
15 # CHECK-EL: and16 $16, $2 # encoding: [0x82,0x44]
16 # CHECK-EL: not16 $17, $3 # encoding: [0x0b,0x44]
17 # CHECK-EL: or16 $16, $4 # encoding: [0xc4,0x44]
18 # CHECK-EL: xor16 $17, $5 # encoding: [0x4d,0x44]
19 # CHECK-EL: sll16 $3, $16, 5 # encoding: [0x8a,0x25]
[all …]
Dmips-control-instructions.s1 # RUN: llvm-mc %s -triple=mips-unknown-unknown -show-encoding -mcpu=mips32r2 | \
3 # RUN: llvm-mc %s -triple=mips64-unknown-unknown -show-encoding -mcpu=mips64r2 \
6 # CHECK32: break # encoding: [0x00,0x00,0x00,0x0d]
7 # CHECK32: break 7 # encoding: [0x00,0x07,0x00,0x0d]
8 # CHECK32: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d]
9 # CHECK32: syscall # encoding: [0x00,0x00,0x00,0x0c]
10 # CHECK32: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c]
11 # CHECK32: eret # encoding: [0x42,0x00,0x00,0x18]
12 # CHECK32: deret # encoding: [0x42,0x00,0x00,0x1f]
13 # CHECK32: di # encoding: [0x41,0x60,0x60,0x00]
[all …]
Drotations32.s1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -show-encoding | FileCheck %s -check-prefix=CHECK-32
2 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -show-encoding | FileCheck %s -check-prefix=CHECK-32R
3 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r3 -show-encoding | FileCheck %s -check-prefix=CHECK-32R
4 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r5 -show-encoding | FileCheck %s -check-prefix=CHECK-32R
5 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -show-encoding | FileCheck %s -check-prefix=CHECK-32R
10 # CHECK-32: negu $1, $5 # encoding: [0x00,0x05,0x08,0x23]
11 # CHECK-32: srlv $1, $4, $1 # encoding: [0x00,0x24,0x08,0x06]
12 # CHECK-32: sllv $4, $4, $5 # encoding: [0x00,0xa4,0x20,0x04]
13 # CHECK-32: or $4, $4, $1 # encoding: [0x00,0x81,0x20,0x25]
14 # CHECK-32R: negu $1, $5 # encoding: [0x00,0x05,0x08,0x23]
[all …]
Dmips-alu-instructions.s1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s
7 # CHECK: and $9, $6, $7 # encoding: [0x24,0x48,0xc7,0x00]
8 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30]
9 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30]
10 # CHECK: andi $9, $9, 17767 # encoding: [0x67,0x45,0x29,0x31]
11 # CHECK: clo $6, $7 # encoding: [0x21,0x30,0xe6,0x70]
12 # CHECK: clz $6, $7 # encoding: [0x20,0x30,0xe6,0x70]
13 # CHECK: ins $19, $9, 6, 7 # encoding: [0x84,0x61,0x33,0x7d]
14 # CHECK: nor $9, $6, $7 # encoding: [0x27,0x48,0xc7,0x00]
15 # CHECK: or $3, $3, $5 # encoding: [0x25,0x18,0x65,0x00]
[all …]
Dmips64-alu-instructions.s1 # RUN: llvm-mc %s -triple=mips64el-unknown-linux -show-encoding -mcpu=mips64r2 | FileCheck %s
7 # CHECK: and $9, $6, $7 # encoding: [0x24,0x48,0xc7,0x00]
8 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30]
9 # CHECK: andi $9, $6, 17767 # encoding: [0x67,0x45,0xc9,0x30]
10 # CHECK: clo $6, $7 # encoding: [0x21,0x30,0xe6,0x70]
11 # CHECK: clz $6, $7 # encoding: [0x20,0x30,0xe6,0x70]
12 # CHECK: ins $19, $9, 6, 7 # encoding: [0x84,0x61,0x33,0x7d]
13 # CHECK: nor $9, $6, $7 # encoding: [0x27,0x48,0xc7,0x00]
14 # CHECK: or $3, $3, $5 # encoding: [0x25,0x18,0x65,0x00]
15 # CHECK: ori $4, $5, 17767 # encoding: [0x67,0x45,0xa4,0x34]
[all …]
/external/llvm/test/MC/PowerPC/
Dvsx.s1 # RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=CHE…
2 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=C…
4 # CHECK-BE: xxswapd 7, 63 # encoding: [0xf0,0xff,0xfa,0x56]
5 # CHECK-LE: xxswapd 7, 63 # encoding: [0x56,0xfa,0xff,0xf0]
8 # CHECK-BE: lxsdx 39, 5, 31 # encoding: [0x7c,0xe5,0xfc,0x99]
9 # CHECK-LE: lxsdx 39, 5, 31 # encoding: [0x99,0xfc,0xe5,0x7c]
11 # CHECK-BE: lxsiwax 39, 5, 31 # encoding: [0x7c,0xe5,0xf8,0x99]
12 # CHECK-LE: lxsiwax 39, 5, 31 # encoding: [0x99,0xf8,0xe5,0x7c]
14 # CHECK-BE: lxsiwzx 39, 5, 31 # encoding: [0x7c,0xe5,0xf8,0x19]
15 # CHECK-LE: lxsiwzx 39, 5, 31 # encoding: [0x19,0xf8,0xe5,0x7c]
[all …]
Dppc64-encoding-vmx.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
9 # CHECK-BE: lvebx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x0e]
10 # CHECK-LE: lvebx 2, 3, 4 # encoding: [0x0e,0x20,0x43,0x7c]
12 # CHECK-BE: lvehx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x4e]
13 # CHECK-LE: lvehx 2, 3, 4 # encoding: [0x4e,0x20,0x43,0x7c]
15 # CHECK-BE: lvewx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x8e]
16 # CHECK-LE: lvewx 2, 3, 4 # encoding: [0x8e,0x20,0x43,0x7c]
18 # CHECK-BE: lvx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0xce]
19 # CHECK-LE: lvx 2, 3, 4 # encoding: [0xce,0x20,0x43,0x7c]
[all …]
Dppc64-encoding-fp.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
9 # CHECK-BE: lfs 2, 128(4) # encoding: [0xc0,0x44,0x00,0x80]
10 # CHECK-LE: lfs 2, 128(4) # encoding: [0x80,0x00,0x44,0xc0]
12 # CHECK-BE: lfsx 2, 3, 4 # encoding: [0x7c,0x43,0x24,0x2e]
13 # CHECK-LE: lfsx 2, 3, 4 # encoding: [0x2e,0x24,0x43,0x7c]
15 # CHECK-BE: lfsu 2, 128(4) # encoding: [0xc4,0x44,0x00,0x80]
16 # CHECK-LE: lfsu 2, 128(4) # encoding: [0x80,0x00,0x44,0xc4]
18 # CHECK-BE: lfsux 2, 3, 4 # encoding: [0x7c,0x43,0x24,0x6e]
19 # CHECK-LE: lfsux 2, 3, 4 # encoding: [0x6e,0x24,0x43,0x7c]
[all …]
Dppc64-encoding.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
9 # CHECK-BE: b target # encoding: [0b010010AA,A,A,0bAAAAAA00]
10 # CHECK-LE: b target # encoding: [0bAAAAAA00,A,A,0b010010AA]
14 # CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10]
15 # CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA]
19 # CHECK-BE: bl target # encoding: [0b010010AA,A,A,0bAAAAAA01]
20 # CHECK-LE: bl target # encoding: [0bAAAAAA01,A,A,0b010010AA]
24 # CHECK-BE: bla target # encoding: [0b010010AA,A,A,0bAAAAAA11]
25 # CHECK-LE: bla target # encoding: [0bAAAAAA11,A,A,0b010010AA]
[all …]
Dqpx.s1 # RUN: llvm-mc -triple powerpc64-bgq-linux --show-encoding %s | FileCheck %s
3 # CHECK: qvfabs 3, 5 # encoding: [0x10,0x60,0x2a,0x10]
6 # CHECK: qvfabs 3, 5 # encoding: [0x10,0x60,0x2a,0x10]
8 # CHECK: qvfadd 3, 4, 5 # encoding: [0x10,0x64,0x28,0x2a]
10 # CHECK: qvfadds 3, 4, 5 # encoding: [0x00,0x64,0x28,0x2a]
12 # CHECK: qvfandc 3, 4, 5 # encoding: [0x10,0x64,0x2a,0x08]
14 # CHECK: qvfand 3, 4, 5 # encoding: [0x10,0x64,0x28,0x88]
16 # CHECK: qvfcfid 3, 5 # encoding: [0x10,0x60,0x2e,0x9c]
18 # CHECK: qvfcfids 3, 5 # encoding: [0x00,0x60,0x2e,0x9c]
20 # CHECK: qvfcfidu 3, 5 # encoding: [0x10,0x60,0x2f,0x9c]
[all …]
Dppc64-encoding-spe.s1 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
2 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
6 # CHECK-BE: evlddx 14, 21, 28 # encoding: [0x11,0xd5,0xe3,0x00]
7 # CHECK-LE: evlddx 14, 21, 28 # encoding: [0x00,0xe3,0xd5,0x11]
9 # CHECK-BE: evldwx 14, 21, 28 # encoding: [0x11,0xd5,0xe3,0x02]
10 # CHECK-LE: evldwx 14, 21, 28 # encoding: [0x02,0xe3,0xd5,0x11]
12 # CHECK-BE: evldhx 14, 21, 28 # encoding: [0x11,0xd5,0xe3,0x04]
13 # CHECK-LE: evldhx 14, 21, 28 # encoding: [0x04,0xe3,0xd5,0x11]
15 # CHECK-BE: evlhhesplatx 14, 21, 28 # encoding: [0x11,0xd5,0xe3,0x08]
16 # CHECK-LE: evlhhesplatx 14, 21, 28 # encoding: [0x08,0xe3,0xd5,0x11]
[all …]
Dppc64-encoding-bookII.s2 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
3 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
7 # CHECK-BE: icbi 2, 3 # encoding: [0x7c,0x02,0x1f,0xac]
8 # CHECK-LE: icbi 2, 3 # encoding: [0xac,0x1f,0x02,0x7c]
11 # CHECK-BE: icbt 0, 5, 31 # encoding: [0x7c,0x05,0xf8,0x2c]
12 # CHECK-LE: icbt 0, 5, 31 # encoding: [0x2c,0xf8,0x05,0x7c]
15 # CHECK-BE: dcbt 2, 3, 10 # encoding: [0x7d,0x42,0x1a,0x2c]
16 # CHECK-LE: dcbt 2, 3, 10 # encoding: [0x2c,0x1a,0x42,0x7d]
18 # CHECK-BE: dcbt 2, 3, 10 # encoding: [0x7d,0x42,0x1a,0x2c]
19 # CHECK-LE: dcbt 2, 3, 10 # encoding: [0x2c,0x1a,0x42,0x7d]
[all …]
Dppc64-encoding-bookIII.s1 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
2 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
4 # CHECK-BE: mtmsr 4 # encoding: [0x7c,0x80,0x01,0x24]
5 # CHECK-LE: mtmsr 4 # encoding: [0x24,0x01,0x80,0x7c]
8 # CHECK-BE: mtmsr 4, 1 # encoding: [0x7c,0x81,0x01,0x24]
9 # CHECK-LE: mtmsr 4, 1 # encoding: [0x24,0x01,0x81,0x7c]
12 # CHECK-BE: mfmsr 4 # encoding: [0x7c,0x80,0x00,0xa6]
13 # CHECK-LE: mfmsr 4 # encoding: [0xa6,0x00,0x80,0x7c]
16 # CHECK-BE: mtmsrd 4 # encoding: [0x7c,0x80,0x01,0x64]
17 # CHECK-LE: mtmsrd 4 # encoding: [0x64,0x01,0x80,0x7c]
[all …]
Dppc64-encoding-4xx.s1 # RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK…
2 # RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHE…
6 # CHECK-BE: mfdcr 3, 178 # encoding: [0x7c,0x72,0x2a,0x86]
7 # CHECK-LE: mfdcr 3, 178 # encoding: [0x86,0x2a,0x72,0x7c]
9 # CHECK-BE: mtdcr 178, 3 # encoding: [0x7c,0x72,0x2b,0x86]
10 # CHECK-LE: mtdcr 178, 3 # encoding: [0x86,0x2b,0x72,0x7c]
13 # CHECK-BE: tlbrehi 2, 3 # encoding: [0x7c,0x43,0x07,0x64]
14 # CHECK-LE: tlbrehi 2, 3 # encoding: [0x64,0x07,0x43,0x7c]
16 # CHECK-BE: tlbrelo 2, 3 # encoding: [0x7c,0x43,0x0f,0x64]
17 # CHECK-LE: tlbrelo 2, 3 # encoding: [0x64,0x0f,0x43,0x7c]
[all …]
/external/llvm/test/MC/SystemZ/
Dinsn-good-z196.s2 # RUN: llvm-mc -triple s390x-linux-gnu -mcpu=z196 -show-encoding %s | FileCheck %s
4 #CHECK: aghik %r0, %r0, -32768 # encoding: [0xec,0x00,0x80,0x00,0x00,0xd9]
5 #CHECK: aghik %r0, %r0, -1 # encoding: [0xec,0x00,0xff,0xff,0x00,0xd9]
6 #CHECK: aghik %r0, %r0, 0 # encoding: [0xec,0x00,0x00,0x00,0x00,0xd9]
7 #CHECK: aghik %r0, %r0, 1 # encoding: [0xec,0x00,0x00,0x01,0x00,0xd9]
8 #CHECK: aghik %r0, %r0, 32767 # encoding: [0xec,0x00,0x7f,0xff,0x00,0xd9]
9 #CHECK: aghik %r0, %r15, 0 # encoding: [0xec,0x0f,0x00,0x00,0x00,0xd9]
10 #CHECK: aghik %r15, %r0, 0 # encoding: [0xec,0xf0,0x00,0x00,0x00,0xd9]
11 #CHECK: aghik %r7, %r8, -16 # encoding: [0xec,0x78,0xff,0xf0,0x00,0xd9]
22 #CHECK: agrk %r0, %r0, %r0 # encoding: [0xb9,0xe8,0x00,0x00]
[all …]
/external/llvm/test/MC/Mips/dspr2/
Dvalid.s1 # RUN: llvm-mc -show-encoding -triple=mips-unknown-unknown -mattr=dspr2 %s | FileCheck %s
5 …absq_s.ph $1, $2 # CHECK: absq_s.ph $1, $2 # encoding: [0x7c,0x02,0…
6 …absq_s.qb $3, $4 # CHECK: absq_s.qb $3, $4 # encoding: [0x7c,0x04,0…
7 …absq_s.w $5, $6 # CHECK: absq_s.w $5, $6 # encoding: [0x7c,0x06,0…
8 …addq.ph $7, $8, $9 # CHECK: addq.ph $7, $8, $9 # encoding: [0x7d,0x09,0…
9 …addq_s.ph $10, $11, $12 # CHECK: addq_s.ph $10, $11, $12 # encoding: [0x7d,0x6c,0…
10 …addq_s.w $13, $14, $15 # CHECK: addq_s.w $13, $14, $15 # encoding: [0x7d,0xcf,0…
11 …addqh.ph $16, $17, $18 # CHECK: addqh.ph $16, $17, $18 # encoding: [0x7e,0x32,0…
12 …addqh_r.ph $19, $20, $21 # CHECK: addqh_r.ph $19, $20, $21 # encoding: [0x7e,0x95,0…
13 …addqh.w $22, $23, $24 # CHECK: addqh.w $22, $23, $24 # encoding: [0x7e,0xf8,0…
[all …]
/external/llvm/test/MC/Mips/micromips32r6/
Dvalid.s1 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 -mattr=micromips | FileC…
4 add $3, $4, $5 # CHECK: add $3, $4, $5 # encoding: [0x00,0xa4,0x19,0x10]
5 addiu $3, $4, 1234 # CHECK: addiu $3, $4, 1234 # encoding: [0x30,0x64,0x04,0xd2]
6 addu $3, $4, $5 # CHECK: addu $3, $4, $5 # encoding: [0x00,0xa4,0x19,0x50]
7 addiupc $4, 100 # CHECK: addiupc $4, 100 # encoding: [0x78,0x80,0x00,0x19]
8 addiur1sp $7, 4 # CHECK: addiur1sp $7, 4 # encoding: [0x6f,0x83]
9 addiur2 $6, $7, -1 # CHECK: addiur2 $6, $7, -1 # encoding: [0x6f,0x7e]
10 addiur2 $6, $7, 12 # CHECK: addiur2 $6, $7, 12 # encoding: [0x6f,0x76]
11 addius5 $7, -2 # CHECK: addius5 $7, -2 # encoding: [0x4c,0xfc]
12 addiusp -1028 # CHECK: addiusp -1028 # encoding: [0x4f,0xff]
[all …]

12345678910>>...95