/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/ |
D | macro-dli.s | 1 # 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 …]
|
D | macro-dla.s | 1 # 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 …]
|
D | mips64-instalias-imm-expanding.s | 1 # RUN: llvm-mc -triple mips64el-unknown-linux -show-encoding -print-imm-hex %s | FileCheck %s 7 # CHECK-NEXT: lui $1, 0x8000 # encoding: [0x00,0x80,0x01,0x3c] 8 # CHECK-NEXT: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 10 # CHECK-NEXT: lui $1, 0xffff # encoding: [0xff,0xff,0x01,0x3c] 11 # CHECK-NEXT: ori $1, $1, 0x7fff # encoding: [0xff,0x7f,0x21,0x34] 12 # CHECK-NEXT: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 14 # CHECK-NEXT: addi $4, $4, -0x8000 # encoding: [0x00,0x80,0x84,0x20] 16 # CHECK-NEXT: addi $4, $4, 0x0 # encoding: [0x00,0x00,0x84,0x20] 18 # CHECK-NEXT: ori $1, $zero, 0xffff # encoding: [0xff,0xff,0x01,0x34] 19 # CHECK-NEXT: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] [all …]
|
D | mips-expansions.s | 1 # 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] 17 # CHECK-LE: lui $4, 1 # encoding: [0x01,0x00,0x04,0x3c] 18 # CHECK-LE: lb $4, -32768($4) # encoding: [0x00,0x80,0x84,0x80] 21 # CHECK-LE: lui $4, 2 # encoding: [0x02,0x00,0x04,0x3c] 22 # CHECK-LE: addu $4, $4, $3 # encoding: [0x21,0x20,0x83,0x00] 23 # CHECK-LE: lb $4, 4($4) # encoding: [0x04,0x00,0x84,0x80] 26 # CHECK-LE: lui $4, 1 # encoding: [0x01,0x00,0x04,0x3c] [all …]
|
D | macro-la.s | 1 # 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 …]
|
D | rotations64.s | 1 # 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 …]
|
D | instalias-imm-expanding.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -show-encoding -show-inst | FileChec… 2 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -show-encoding -show-inst -mattr=+mi… 9 # MIPS: lui $1, 32768 # encoding: [0x00,0x80,0x01,0x3c] 10 # MIPS: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 12 # MICROMIPS: lui $1, 32768 # encoding: [0xa1,0x41,0x00,0x80] 13 # MICROMIPS: add $4, $4, $1 # encoding: [0x24,0x00,0x10,0x21] 16 # MIPS: lui $1, 65535 # encoding: [0xff,0xff,0x01,0x3c] 17 # MIPS: ori $1, $1, 32767 # encoding: [0xff,0x7f,0x21,0x34] 18 # MIPS: add $4, $4, $1 # encoding: [0x20,0x20,0x81,0x00] 20 # MICROMIPS: lui $1, 65535 # encoding: [0xa1,0x41,0xff,0xff] [all …]
|
D | macro-ddivu.s | 1 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 | \ 3 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r2 \ 7 # CHECK-NOTRAP: bne $11, $zero, .Ltmp0 # encoding: [0x15,0x60,A,A] 9 # CHECK-NOTRAP: ddivu $zero, $25, $11 # encoding: [0x03,0x2b,0x00,0x1f] 10 # CHECK-NOTRAP: break 7 # encoding: [0x00,0x07,0x00,0x0d] 12 # CHECK-NOTRAP: mflo $25 # encoding: [0x00,0x00,0xc8,0x12] 13 # CHECK-TRAP: teq $11, $zero, 7 # encoding: [0x01,0x60,0x01,0xf4] 14 # CHECK-TRAP: ddivu $zero, $25, $11 # encoding: [0x03,0x2b,0x00,0x1f] 15 # CHECK-TRAP: mflo $25 # encoding: [0x00,0x00,0xc8,0x12] 18 # CHECK-NOTRAP: bne $12, $zero, .Ltmp1 # encoding: [0x15,0x80,A,A] [all …]
|
/external/llvm/test/MC/Mips/ |
D | macro-dli.s | 1 # 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 …]
|
D | macro-dla.s | 1 # 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 …]
|
D | mips64-expansions.s | 1 # 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 …]
|
D | mips-expansions.s | 1 # 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 …]
|
D | macro-la.s | 1 # 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 …]
|
D | rotations64.s | 1 # 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 …]
|
D | instalias-imm-expanding.s | 1 # 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/PowerPC/ |
D | ppc64-encoding-vmx.s | 2 # 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 …]
|
D | vsx.s | 1 # 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 …]
|
D | ppc64-encoding-fp.s | 2 # 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 …]
|
D | ppc64-encoding-spe.s | 1 # 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 …]
|
D | ppc64-encoding.s | 2 # 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 …]
|
/external/llvm/test/MC/PowerPC/ |
D | ppc64-encoding-vmx.s | 2 # 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 …]
|
D | vsx.s | 1 # 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 …]
|
D | ppc64-encoding-fp.s | 2 # 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 …]
|
D | ppc64-encoding.s | 2 # 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 …]
|
D | qpx.s | 1 # 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 …]
|