/aosp_15_r20/external/llvm/test/MC/PowerPC/ |
H A 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 …]
|
H A 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 …]
|
H A D | ppc64-encoding-ext.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… 7 # CHECK-BE: beqlr 0 # encoding: [0x4d,0x82,0x00,0x20] 8 # CHECK-LE: beqlr 0 # encoding: [0x20,0x00,0x82,0x4d] 10 # CHECK-BE: beqlr 1 # encoding: [0x4d,0x86,0x00,0x20] 11 # CHECK-LE: beqlr 1 # encoding: [0x20,0x00,0x86,0x4d] 13 # CHECK-BE: beqlr 2 # encoding: [0x4d,0x8a,0x00,0x20] 14 # CHECK-LE: beqlr 2 # encoding: [0x20,0x00,0x8a,0x4d] 16 # CHECK-BE: beqlr 3 # encoding: [0x4d,0x8e,0x00,0x20] 17 # CHECK-LE: beqlr 3 # encoding: [0x20,0x00,0x8e,0x4d] [all …]
|
H A 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] 11 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 12 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 14 # CHECK-BE: ba target # encoding: [0b010010AA,A,A,0bAAAAAA10] 15 # CHECK-LE: ba target # encoding: [0bAAAAAA10,A,A,0b010010AA] 16 # CHECK-BE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… 17 # CHECK-LE-NEXT: # fixup A - offset: 0, value: target, kind: fixup_ppc… [all …]
|
H A 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 …]
|
H A 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… 5 # Floating-point facility 7 # Floating-point load instructions 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] [all …]
|
/aosp_15_r20/external/llvm/test/MC/Mips/ |
H A D | mips-expansions.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK,CHECK-LE 3 # RUN: llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r2 | \ 4 # RUN: FileCheck %s --check-prefixes=CHECK,CHECK-BE 11 # CHECK-LE: lui $8, %hi($tmp0) # encoding: [A,A,0x08,0x3c] 12 # CHECK-LE: # fixup A - offset: 0, value: %hi($tmp0), kind: fixup_M… 13 # CHECK-LE: addiu $8, $8, %lo($tmp0) # encoding: [A,A,0x08,0x25] 14 # CHECK-LE: # fixup A - offset: 0, value: %lo($tmp0), kind: fixup_M… 19 # CHECK-LE: lui $10, %hi(symbol) # encoding: [A,A,0x0a,0x3c] 20 # CHECK-LE: # fixup A - offset: 0, value: %hi(symbol), kind: fixu… [all …]
|
H A 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 …]
|
H A 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 …]
|
/aosp_15_r20/external/llvm/test/MC/AArch64/ |
H A D | basic-a64-instructions.s | 1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+fp-armv8 < %s | FileCheck %s 14 //------------------------------------------------------------------------------ 16 //------------------------------------------------------------------------------ 17 // Basic extends 64-bit ops 26 // CHECK: add x2, x4, w5, uxtb // encoding: [0x82,0x00,0x25,0x8b] 27 // CHECK: add x20, sp, w19, uxth // encoding: [0xf4,0x23,0x33,0x8b] 28 // CHECK: add x12, x1, w20, uxtw // encoding: [0x2c,0x40,0x34,0x8b] 29 // CHECK: add x20, x3, x13, uxtx // encoding: [0x74,0x60,0x2d,0x8b] 30 // CHECK: add x17, x25, w20, sxtb // encoding: [0x31,0x83,0x34,0x8b] 31 // CHECK: add x18, x13, w19, sxth // encoding: [0xb2,0xa1,0x33,0x8b] [all …]
|
H A D | arm64-system-encoding.s | 1 ; RUN: not llvm-mc -triple arm64-apple-darwin -show-encoding < %s 2> %t | FileCheck %s 2 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s 6 ;----------------------------------------------------------------------------- 8 ;----------------------------------------------------------------------------- 17 ; CHECK: nop ; encoding: [0x1f,0x20,0x03,0xd5] 18 ; CHECK: sev ; encoding: [0x9f,0x20,0x03,0xd5] 19 ; CHECK: sevl ; encoding: [0xbf,0x20,0x03,0xd5] 20 ; CHECK: wfe ; encoding: [0x5f,0x20,0x03,0xd5] 21 ; CHECK: wfi ; encoding: [0x7f,0x20,0x03,0xd5] 22 ; CHECK: yield ; encoding: [0x3f,0x20,0x03,0xd5] [all …]
|
H A D | arm64-advsimd.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto,fullfp16 -output-asm-variant=1 -show-encodi… 12 ; CHECK: abs.8b v0, v0 ; encoding: [0x00,0xb8,0x20,0x0e] 13 ; CHECK: abs.16b v0, v0 ; encoding: [0x00,0xb8,0x20,0x4e] 14 ; CHECK: abs.4h v0, v0 ; encoding: [0x00,0xb8,0x60,0x0e] 15 ; CHECK: abs.8h v0, v0 ; encoding: [0x00,0xb8,0x60,0x4e] 16 ; CHECK: abs.2s v0, v0 ; encoding: [0x00,0xb8,0xa0,0x0e] 17 ; CHECK: abs.4s v0, v0 ; encoding: [0x00,0xb8,0xa0,0x4e] 27 ; CHECK: add.8b v0, v0, v0 ; encoding: [0x00,0x84,0x20,0x0e] 28 ; CHECK: add.16b v0, v0, v0 ; encoding: [0x00,0x84,0x20,0x4e] 29 ; CHECK: add.4h v0, v0, v0 ; encoding: [0x00,0x84,0x60,0x0e] [all …]
|
H A D | arm64-arithmetic-encoding.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon -show-encoding < %s | FileCheck %s 4 ;==---------------------------------------------------------------------------== 6 ;==---------------------------------------------------------------------------== 13 ; CHECK: adc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x1a] 14 ; CHECK: adc x1, x2, x3 ; encoding: [0x41,0x00,0x03,0x9a] 15 ; CHECK: adcs w5, w4, w3 ; encoding: [0x85,0x00,0x03,0x3a] 16 ; CHECK: adcs x5, x4, x3 ; encoding: [0x85,0x00,0x03,0xba] 23 ; CHECK: sbc w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x5a] 24 ; CHECK: sbc x1, x2, x3 ; encoding: [0x41,0x00,0x03,0xda] 25 ; CHECK: sbcs w1, w2, w3 ; encoding: [0x41,0x00,0x03,0x7a] [all …]
|
H A D | arm64-fp-encoding.s | 1 ; RUN: not llvm-mc -triple arm64-apple-darwin -mattr=neon -show-encoding -output-asm-variant=1 < %s… 2 ; RUN: FileCheck %s < %t --check-prefix=NO-FP16 3 …llvm-mc -triple arm64-apple-darwin -mattr=neon,v8.2a,fullfp16 -show-encoding -output-asm-variant=1… 6 ;----------------------------------------------------------------------------- 7 ; Floating-point arithmetic 8 ;----------------------------------------------------------------------------- 14 ; FP16: fabs h1, h2 ; encoding: [0x41,0xc0,0xe0,0x1e] 15 ; NO-FP16: error: instruction requires: 16 ; NO-FP16-NEXT: fabs h1, h2 17 ; CHECK: fabs s1, s2 ; encoding: [0x41,0xc0,0x20,0x1e] [all …]
|
/aosp_15_r20/external/llvm/test/MC/SystemZ/ |
H A D | insn-good.s | 2 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s 4 #CHECK: a %r0, 0 # encoding: [0x5a,0x00,0x00,0x00] 5 #CHECK: a %r0, 4095 # encoding: [0x5a,0x00,0x0f,0xff] 6 #CHECK: a %r0, 0(%r1) # encoding: [0x5a,0x00,0x10,0x00] 7 #CHECK: a %r0, 0(%r15) # encoding: [0x5a,0x00,0xf0,0x00] 8 #CHECK: a %r0, 4095(%r1,%r15) # encoding: [0x5a,0x01,0xff,0xff] 9 #CHECK: a %r0, 4095(%r15,%r1) # encoding: [0x5a,0x0f,0x1f,0xff] 10 #CHECK: a %r15, 0 # encoding: [0x5a,0xf0,0x00,0x00] 20 #CHECK: adb %f0, 0 # encoding: [0xed,0x00,0x00,0x00,0x00,0x1a] 21 #CHECK: adb %f0, 4095 # encoding: [0xed,0x00,0x0f,0xff,0x00,0x1a] [all …]
|
H A D | insn-good-z196.s | 2 # 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] 13 aghik %r0, %r0, -32768 [all …]
|
/aosp_15_r20/external/llvm/test/MC/ARM/ |
H A D | thumb2-narrow-dp.ll | 1 // RUN: llvm-mc -triple thumbv7 -show-encoding < %s | FileCheck %s 3 // Test each of the Thumb1 data-processing instructions 6 // Assemblers should chose the narrow thumb encoding when possible, i.e. 7 // - Rd == Rn 8 // - Rd, Rn and Rm are < r8 11 // - Rd == Rn || Rd == Rm 12 // - Rd, Rn and Rm are < r8 16 // CHECK: adds r0, r0, #5 @ encoding: [0x40,0x1d] 18 // CHECK: adds r1, #8 @ encoding: [0x08,0x31] 20 // CHECK: adds.w r1, r1, #8 @ encoding: [0x11,0xf1,0x08,0x01] [all …]
|
H A D | basic-thumb2-instructions.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s 2 @ RUN: llvm-mc -triple=thumbebv7-unknown-unknown -mcpu=cortex-a8 -show-encoding < %s | FileCheck --… 13 @ FIXME: Some 3-operand instructions have a 2-operand assembly syntax. 18 @------------------------------------------------------------------------------ 20 @------------------------------------------------------------------------------ 31 @ CHECK: adc r0, r1, #4 @ encoding: [0x41,0xf1,0x04,0x00] 32 @ CHECK: adcs r0, r1, #0 @ encoding: [0x51,0xf1,0x00,0x00] 33 @ CHECK: adc r1, r2, #255 @ encoding: [0x42,0xf1,0xff,0x01] 34 @ CHECK: adc r3, r7, #5570645 @ encoding: [0x47,0xf1,0x55,0x13] 35 @ CHECK: adc r8, r12, #2852170240 @ encoding: [0x4c,0xf1,0xaa,0x28] [all …]
|
H A D | basic-arm-instructions.s | 1 @ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s 2 @ RUN: llvm-mc -triple=armebv7-unknown-unknown -mcpu=cortex-a8 -show-encoding < %s | FileCheck --ch… 15 @------------------------------------------------------------------------------ 17 @------------------------------------------------------------------------------ 22 adc r7, r8, #-2147483638 41 @ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 42 @ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 43 @ CHECK: adc r1, r2, #15 @ encoding: [0x0f,0x10,0xa2,0xe2] 44 @ CHECK: adc r7, r8, #16711680 @ encoding: [0xff,0x78,0xa8,0xe2] 45 @ CHECK: adc r7, r8, #-2147483638 @ encoding: [0x2a,0x71,0xa8,0xe2] [all …]
|
/aosp_15_r20/external/mesa3d/src/amd/compiler/ |
H A D | aco_assembler.cpp | 4 * SPDX-License-Identifier: MIT 38 : program(program_), gfx_level(program->gfx_level), symbols(symbols_) in asm_context() 52 int subvector_begin_pos = -1; 58 unsigned addr_dwords = instr->operands.size() - 3; in get_mimg_nsa_dwords() 60 if (instr->operands[3 + i].physReg() != in get_mimg_nsa_dwords() 61 instr->operands[3 + (i - 1)].physReg().advance(instr->operands[3 + (i - 1)].bytes())) in get_mimg_nsa_dwords() 62 return DIV_ROUND_UP(addr_dwords - 1, 4); in get_mimg_nsa_dwords() 70 switch (instr->opcode) { in get_vopd_opy_start() 112 uint8_t mask = get_gfx11_true16_mask(instr->opcode); in needs_vop3_gfx11() 117 if (instr->operands[i].physReg().reg() >= (256 + 128)) in needs_vop3_gfx11() [all …]
|
/aosp_15_r20/external/llvm/utils/TableGen/ |
H A D | X86RecognizableInstr.cpp | 1 //===- X86RecognizableInstr.cpp - Disassembler instruction spec --*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 141 /// isRegFormat - Indicates whether a particular form requires the Mod field of 144 /// @param form - The form of the instruction. 145 /// @return - true if the form implies that Mod must be 0b11, false 154 /// byteFromBitsInit - Extracts a value at most 8 bits in width from a BitsInit. 157 /// @param init - A reference to the BitsInit to be decoded. 158 /// @return - The field, with the first bit in the BitsInit as the lowest 171 if (static_cast<BitInit*>(init.getBit(index))->getValue()) in byteFromBitsInit() [all …]
|
/aosp_15_r20/external/llvm/test/MC/X86/ |
H A D | x86_64-avx-encoding.s | 1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s 4 // CHECK: encoding: [0xc4,0x41,0x32,0x58,0xd0] 8 // CHECK: encoding: [0xc4,0x41,0x32,0x59,0xd0] 12 // CHECK: encoding: [0xc4,0x41,0x32,0x5c,0xd0] 16 // CHECK: encoding: [0xc4,0x41,0x32,0x5e,0xd0] 20 // CHECK: encoding: [0xc4,0x41,0x33,0x58,0xd0] 24 // CHECK: encoding: [0xc4,0x41,0x33,0x59,0xd0] 28 // CHECK: encoding: [0xc4,0x41,0x33,0x5c,0xd0] 32 // CHECK: encoding: [0xc4,0x41,0x33,0x5e,0xd0] 35 // CHECK: vaddss -4(%rcx,%rbx,8), %xmm10, %xmm11 [all …]
|
H A D | avx512-encodings.s | 1 // RUN: llvm-mc -triple x86_64-unknown-unknown -mcpu=knl --show-encoding < %s | FileCheck %s 4 // CHECK: encoding: [0x62,0x71,0xa5,0x40,0x58,0xc6] 8 // CHECK: encoding: [0x62,0x71,0xa5,0x47,0x58,0xc6] 12 // CHECK: encoding: [0x62,0x71,0xa5,0xc7,0x58,0xc6] 16 // CHECK: encoding: [0x62,0x71,0xa5,0x40,0x58,0x01] 20 // CHECK: encoding: [0x62,0x31,0xa5,0x40,0x58,0x84,0xf0,0x23,0x01,0x00,0x00] 24 // CHECK: encoding: [0x62,0x71,0xa5,0x50,0x58,0x01] 28 // CHECK: encoding: [0x62,0x71,0xa5,0x40,0x58,0x42,0x7f] 32 // CHECK: encoding: [0x62,0x71,0xa5,0x40,0x58,0x82,0x00,0x20,0x00,0x00] 35 // CHECK: vaddpd -8192(%rdx), %zmm27, %zmm8 [all …]
|
H A D | intel-syntax-avx512.s | 1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 -mcpu=kn… 4 // CHECK: encoding: [0x62,0xf1,0x74,0x48,0x58,0x08] 8 // CHECK: encoding: [0x62,0xf1,0xf5,0x48,0x58,0xca] 12 // CHECK: encoding: [0x62,0xf1,0xf5,0x4d,0x58,0xca] 16 // CHECK: encoding: [0x62,0xf1,0xf5,0xcd,0x58,0xca] 19 // CHECK: vaddpd zmm1, zmm1, zmm2, {rn-sae} 20 // CHECK: encoding: [0x62,0xf1,0xf5,0x18,0x58,0xca] 21 vaddpd zmm1, zmm1, zmm2, {rn-sae} 23 // CHECK: vaddpd zmm1, zmm1, zmm2, {ru-sae} 24 // CHECK: encoding: [0x62,0xf1,0xf5,0x58,0x58,0xca] [all …]
|
/aosp_15_r20/external/llvm/test/MC/Sparc/ |
H A D | sparc64-ctrl-instructions.s | 1 ! RUN: llvm-mc %s -triple=sparc64-unknown-linux-gnu -show-encoding | FileCheck %s 4 ! CHECK: bne %xcc, .BB0 ! encoding: [0x12,0b01101AAA,A,A] 5 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 8 ! CHECK: be %xcc, .BB0 ! encoding: [0x02,0b01101AAA,A,A] 9 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 12 ! CHECK: bg %xcc, .BB0 ! encoding: [0x14,0b01101AAA,A,A] 13 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 16 ! CHECK: ble %xcc, .BB0 ! encoding: [0x04,0b01101AAA,A,A] 17 ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br19 20 ! CHECK: bge %xcc, .BB0 ! encoding: [0x16,0b01101AAA,A,A] [all …]
|