/external/llvm/test/MC/Mips/msa/ |
test_i5.s | 1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s 3 # CHECK: addvi.b $w3, $w31, 30 # encoding: [0x78,0x1e,0xf8,0xc6] 4 # CHECK: addvi.h $w24, $w13, 26 # encoding: [0x78,0x3a,0x6e,0x06] 5 # CHECK: addvi.w $w26, $w20, 26 # encoding: [0x78,0x5a,0xa6,0x86] 6 # CHECK: addvi.d $w16, $w1, 21 # encoding: [0x78,0x75,0x0c,0x06] 7 # CHECK: ceqi.b $w24, $w21, -8 # encoding: [0x78,0x18,0xae,0x07] 8 # CHECK: ceqi.h $w31, $w15, 2 # encoding: [0x78,0x22,0x7f,0xc7] 9 # CHECK: ceqi.w $w12, $w1, -1 # encoding: [0x78,0x5f,0x0b,0x07] 10 # CHECK: ceqi.d $w24, $w22, 7 # encoding: [0x78,0x67,0xb6,0x07] 11 # CHECK: clei_s.b $w12, $w16, 1 # encoding: [0x7a,0x01,0x83,0x07 [all...] |
test_i8.s | 1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s 3 # CHECK: andi.b $w2, $w29, 48 # encoding: [0x78,0x30,0xe8,0x80] 4 # CHECK: bmnzi.b $w6, $w22, 126 # encoding: [0x78,0x7e,0xb1,0x81] 5 # CHECK: bmzi.b $w27, $w1, 88 # encoding: [0x79,0x58,0x0e,0xc1] 6 # CHECK: bseli.b $w29, $w3, 189 # encoding: [0x7a,0xbd,0x1f,0x41] 7 # CHECK: nori.b $w1, $w17, 56 # encoding: [0x7a,0x38,0x88,0x40] 8 # CHECK: ori.b $w26, $w20, 135 # encoding: [0x79,0x87,0xa6,0x80] 9 # CHECK: shf.b $w19, $w30, 105 # encoding: [0x78,0x69,0xf4,0xc2] 10 # CHECK: shf.h $w17, $w8, 76 # encoding: [0x79,0x4c,0x44,0x42] 11 # CHECK: shf.w $w14, $w3, 93 # encoding: [0x7a,0x5d,0x1b,0x82 [all...] |
test_2r.s | 1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s 3 # CHECK: fill.b $w30, $9 # encoding: [0x7b,0x00,0x4f,0x9e] 4 # CHECK: fill.h $w31, $23 # encoding: [0x7b,0x01,0xbf,0xde] 5 # CHECK: fill.w $w16, $24 # encoding: [0x7b,0x02,0xc4,0x1e] 6 # CHECK: nloc.b $w21, $w0 # encoding: [0x7b,0x08,0x05,0x5e] 7 # CHECK: nloc.h $w18, $w31 # encoding: [0x7b,0x09,0xfc,0x9e] 8 # CHECK: nloc.w $w2, $w23 # encoding: [0x7b,0x0a,0xb8,0x9e] 9 # CHECK: nloc.d $w4, $w10 # encoding: [0x7b,0x0b,0x51,0x1e] 10 # CHECK: nlzc.b $w31, $w2 # encoding: [0x7b,0x0c,0x17,0xde] 11 # CHECK: nlzc.h $w27, $w22 # encoding: [0x7b,0x0d,0xb6,0xde [all...] |
test_elm.s | 1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s 3 # CHECK: copy_s.b $13, $w8[2] # encoding: [0x78,0x82,0x43,0x59] 4 # CHECK: copy_s.h $1, $w25[0] # encoding: [0x78,0xa0,0xc8,0x59] 5 # CHECK: copy_s.w $22, $w5[1] # encoding: [0x78,0xb1,0x2d,0x99] 6 # CHECK: copy_u.b $22, $w20[4] # encoding: [0x78,0xc4,0xa5,0x99] 7 # CHECK: copy_u.h $20, $w4[0] # encoding: [0x78,0xe0,0x25,0x19] 8 # CHECK: copy_u.w $fp, $w13[2] # encoding: [0x78,0xf2,0x6f,0x99] 9 # CHECK: sldi.b $w0, $w29[4] # encoding: [0x78,0x04,0xe8,0x19] 10 # CHECK: sldi.h $w8, $w17[0] # encoding: [0x78,0x20,0x8a,0x19] 11 # CHECK: sldi.w $w20, $w27[2] # encoding: [0x78,0x32,0xdd,0x19 [all...] |
/external/llvm/test/MC/SystemZ/ |
regs-good.s | 1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s 3 #CHECK: lr %r0, %r1 # encoding: [0x18,0x01] 4 #CHECK: lr %r2, %r3 # encoding: [0x18,0x23] 5 #CHECK: lr %r4, %r5 # encoding: [0x18,0x45] 6 #CHECK: lr %r6, %r7 # encoding: [0x18,0x67] 7 #CHECK: lr %r8, %r9 # encoding: [0x18,0x89] 8 #CHECK: lr %r10, %r11 # encoding: [0x18,0xab] 9 #CHECK: lr %r12, %r13 # encoding: [0x18,0xcd] 10 #CHECK: lr %r14, %r15 # encoding: [0x18,0xef] 21 #CHECK: lgr %r0, %r1 # encoding: [0xb9,0x04,0x00,0x01 [all...] |
/external/llvm/test/MC/AArch64/ |
arm64-memory.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s 43 ; CHECK: ldr w5, [x4, #20] ; encoding: [0x85,0x14,0x40,0xb9] 44 ; CHECK: ldr x4, [x3] ; encoding: [0x64,0x00,0x40,0xf9] 45 ; CHECK: ldr x2, [sp, #32] ; encoding: [0xe2,0x13,0x40,0xf9] 46 ; CHECK: ldr b5, [sp, #1] ; encoding: [0xe5,0x07,0x40,0x3d] 47 ; CHECK: ldr h6, [sp, #2] ; encoding: [0xe6,0x07,0x40,0x7d] 48 ; CHECK: ldr s7, [sp, #4] ; encoding: [0xe7,0x07,0x40,0xbd] 49 ; CHECK: ldr d8, [sp, #8] ; encoding: [0xe8,0x07,0x40,0xfd] 50 ; CHECK: ldr q9, [sp, #16] ; encoding: [0xe9,0x07,0xc0,0x3d] 51 ; CHECK: ldrb w4, [x3] ; encoding: [0x64,0x00,0x40,0x39 [all...] |
arm64-arithmetic-encoding.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon -show-encoding < %s | FileCheck %s 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] 26 ; CHECK: sbcs x1, x2, x3 ; encoding: [0x41,0x00,0x03,0xfa] 37 ; CHECK: add w3, w4, #1024 ; encoding: [0x83,0x00,0x10,0x11 [all...] |
arm64-optional-hash.s | 1 ; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s 4 ; CHECK: add sp, sp, #32 ; encoding: [0xff,0x83,0x00,0x91] 8 ; CHECK: adds x3, x4, #1024, lsl #12 ; encoding: [0x83,0x00,0x50,0xb1] 12 ; CHECK: add sp, x2, x3 ; encoding: [0x5f,0x60,0x23,0x8b] 16 ; CHECK: fmov s1, #0.12500000 ; encoding: [0x01,0x10,0x28,0x1e] 20 ; CHECK: dmb osh ; encoding: [0xbf,0x33,0x03,0xd5] 26 ; CHECK: ldnp w3, w2, [x15, #16] ; encoding: [0xe3,0x09,0x42,0x28] 30 ; CHECK: prfm pstl3strm, [x4, x5, lsl #3] ; encoding: [0x95,0x78,0xa5,0xf8]
|
/external/llvm/test/MC/Mips/ |
micromips-fpu-instructions.s | 1 # RUN: llvm-mc %s -triple=mipsel -show-encoding -mattr=micromips \ 3 # RUN: llvm-mc %s -triple=mips -show-encoding -mattr=micromips \ 12 # CHECK-EL: add.s $f4, $f6, $f8 # encoding: [0x06,0x55,0x30,0x20] 13 # CHECK-EL: add.d $f4, $f6, $f8 # encoding: [0x06,0x55,0x30,0x21] 14 # CHECK-EL: div.s $f4, $f6, $f8 # encoding: [0x06,0x55,0xf0,0x20] 15 # CHECK-EL: div.d $f4, $f6, $f8 # encoding: [0x06,0x55,0xf0,0x21] 16 # CHECK-EL: mul.s $f4, $f6, $f8 # encoding: [0x06,0x55,0xb0,0x20] 17 # CHECK-EL: mul.d $f4, $f6, $f8 # encoding: [0x06,0x55,0xb0,0x21] 18 # CHECK-EL: sub.s $f4, $f6, $f8 # encoding: [0x06,0x55,0x70,0x20] 19 # CHECK-EL: sub.d $f4, $f6, $f8 # encoding: [0x06,0x55,0x70,0x21 [all...] |
mips-memory-instructions.s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s 7 # CHECK: sb $4, 16($5) # encoding: [0x10,0x00,0xa4,0xa0] 8 # CHECK: sc $4, 16($5) # encoding: [0x10,0x00,0xa4,0xe0] 9 # CHECK: sh $4, 16($5) # encoding: [0x10,0x00,0xa4,0xa4] 10 # CHECK: sw $4, 16($5) # encoding: [0x10,0x00,0xa4,0xac] 11 # CHECK: sw $7, 0($5) # encoding: [0x00,0x00,0xa7,0xac] 12 # CHECK: swc1 $f2, 16($5) # encoding: [0x10,0x00,0xa2,0xe4] 13 # CHECK: swl $4, 16($5) # encoding: [0x10,0x00,0xa4,0xa8] 26 # CHECK: lb $4, 4($5) # encoding: [0x04,0x00,0xa4,0x80] 27 # CHECK: lw $4, 4($5) # encoding: [0x04,0x00,0xa4,0x8c [all...] |
mips-register-names-o32.s | 1 # RUN: llvm-mc %s -triple=mips-unknown-freebsd -show-encoding | FileCheck %s 8 addiu $zero, $zero, 0 # CHECK: encoding: [0x24,0x00,0x00,0x00] 9 addiu $at, $zero, 0 # CHECK: encoding: [0x24,0x01,0x00,0x00] 10 addiu $v0, $zero, 0 # CHECK: encoding: [0x24,0x02,0x00,0x00] 11 addiu $v1, $zero, 0 # CHECK: encoding: [0x24,0x03,0x00,0x00] 12 addiu $a0, $zero, 0 # CHECK: encoding: [0x24,0x04,0x00,0x00] 13 addiu $a1, $zero, 0 # CHECK: encoding: [0x24,0x05,0x00,0x00] 14 addiu $a2, $zero, 0 # CHECK: encoding: [0x24,0x06,0x00,0x00] 15 addiu $a3, $zero, 0 # CHECK: encoding: [0x24,0x07,0x00,0x00] 16 addiu $t0, $zero, 0 # CHECK: encoding: [0x24,0x08,0x00,0x00 [all...] |
mips64-register-names-o32.s | 1 # RUN: llvm-mc %s -triple=mips64-unknown-freebsd -show-encoding \ 9 daddiu $zero, $zero, 0 # CHECK: encoding: [0x64,0x00,0x00,0x00] 10 daddiu $at, $zero, 0 # CHECK: encoding: [0x64,0x01,0x00,0x00] 11 daddiu $v0, $zero, 0 # CHECK: encoding: [0x64,0x02,0x00,0x00] 12 daddiu $v1, $zero, 0 # CHECK: encoding: [0x64,0x03,0x00,0x00] 13 daddiu $a0, $zero, 0 # CHECK: encoding: [0x64,0x04,0x00,0x00] 14 daddiu $a1, $zero, 0 # CHECK: encoding: [0x64,0x05,0x00,0x00] 15 daddiu $a2, $zero, 0 # CHECK: encoding: [0x64,0x06,0x00,0x00] 16 daddiu $a3, $zero, 0 # CHECK: encoding: [0x64,0x07,0x00,0x00] 17 daddiu $t0, $zero, 0 # CHECK: encoding: [0x64,0x08,0x00,0x00 [all...] |
mips-dsp-instructions.s | 1 # RUN: llvm-mc -show-encoding -triple=mips-unknown-unknown -mattr=dspr2 %s | FileCheck %s 4 # CHECK: precrq.qb.ph $16, $17, $18 # encoding: [0x7e,0x32,0x83,0x11] 5 # CHECK: precrq.ph.w $17, $18, $19 # encoding: [0x7e,0x53,0x8d,0x11] 6 # CHECK: precrq_rs.ph.w $18, $19, $20 # encoding: [0x7e,0x74,0x95,0x51] 7 # CHECK: precrqu_s.qb.ph $19, $20, $21 # encoding: [0x7e,0x95,0x9b,0xd1] 8 # CHECK: preceq.w.phl $20, $21 # encoding: [0x7c,0x15,0xa3,0x12] 9 # CHECK: preceq.w.phr $21, $22 # encoding: [0x7c,0x16,0xab,0x52] 10 # CHECK: precequ.ph.qbl $22, $23 # encoding: [0x7c,0x17,0xb1,0x12] 11 # CHECK: precequ.ph.qbr $23, $24 # encoding: [0x7c,0x18,0xb9,0x52] 12 # CHECK: precequ.ph.qbla $24, $25 # encoding: [0x7c,0x19,0xc1,0x92 [all...] |
llvm-mc-fixup-endianness.s | 1 # RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mips-unknown-unknown %s | FileCheck -check-prefix=BE %s 2 # RUN: llvm-mc -show-encoding -mcpu=mips32 -triple mipsel-unknown-unknown %s | FileCheck -check-prefix=LE %s 5 b foo # BE: b foo # encoding: [0x10,0x00,A,A] 6 # LE: b foo # encoding: [A,A,0x00,0x10]
|
/external/llvm/test/MC/ARM/ |
neont2-pairwise-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s 9 @ CHECK: vpadd.i8 d1, d5, d11 @ encoding: [0x05,0xef,0x1b,0x1b] 10 @ CHECK: vpadd.i16 d13, d2, d12 @ encoding: [0x12,0xef,0x1c,0xdb] 11 @ CHECK: vpadd.i32 d14, d1, d13 @ encoding: [0x21,0xef,0x1d,0xeb] 12 @ CHECK: vpadd.f32 d19, d16, d14 @ encoding: [0x40,0xff,0x8e,0x3d] 28 @ CHECK: vpaddl.s8 d7, d10 @ encoding: [0xb0,0xff,0x0a,0x72] 29 @ CHECK: vpaddl.s16 d8, d11 @ encoding: [0xb4,0xff,0x0b,0x82] 30 @ CHECK: vpaddl.s32 d9, d12 @ encoding: [0xb8,0xff,0x0c,0x92] 31 @ CHECK: vpaddl.u8 d0, d13 @ encoding: [0xb0,0xff,0x8d,0x02] 32 @ CHECK: vpaddl.u16 d5, d14 @ encoding: [0xb4,0xff,0x8e,0x52 [all...] |
neon-shift-encoding.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding < %s | FileCheck %s 21 @ CHECK: vshl.u8 d16, d17, d16 @ encoding: [0xa1,0x04,0x40,0xf3] 22 @ CHECK: vshl.u16 d16, d17, d16 @ encoding: [0xa1,0x04,0x50,0xf3] 23 @ CHECK: vshl.u32 d16, d17, d16 @ encoding: [0xa1,0x04,0x60,0xf3] 24 @ CHECK: vshl.u64 d16, d17, d16 @ encoding: [0xa1,0x04,0x70,0xf3] 25 @ CHECK: vshl.i8 d16, d16, #7 @ encoding: [0x30,0x05,0xcf,0xf2] 26 @ CHECK: vshl.i16 d16, d16, #15 @ encoding: [0x30,0x05,0xdf,0xf2] 27 @ CHECK: vshl.i32 d16, d16, #31 @ encoding: [0x30,0x05,0xff,0xf2] 28 @ CHECK: vshl.i64 d16, d16, #63 @ encoding: [0xb0,0x05,0xff,0xf2] 29 @ CHECK: vshl.u8 q8, q9, q8 @ encoding: [0xe2,0x04,0x40,0xf3 [all...] |
arm_instructions.s | 1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s \ 3 @ RUN: llvm-mc -mcpu=cortex-a9-mp -triple armv7-unknown-nacl -show-encoding %s \ 5 @ RUN: llvm-mc -mcpu=cortex-a8 -mattr=+nacl-trap -triple armv7 -show-encoding %s \ 9 @ ALL: encoding: [0xfe,0xde,0xff,0xe7] 11 @ NACL: encoding: [0xf0,0xde,0xfe,0xe7] 15 @ CHECK: encoding: [0x1e,0xff,0x2f,0xe1] 19 @ CHECK: encoding: [0xa0,0x0d,0xe1,0xf2] 22 @ CHECK: and r1, r2, r3 @ encoding: [0x03,0x10,0x02,0xe0] 25 @ CHECK: ands r1, r2, r3 @ encoding: [0x03,0x10,0x12,0xe0] 28 @ CHECK: eor r1, r2, r3 @ encoding: [0x03,0x10,0x22,0xe0 [all...] |
thumb-neon-crypto.s | 1 @ RUN: llvm-mc -triple thumbv8 -mattr=+neon,+crypto -show-encoding < %s | FileCheck %s 4 @ CHECK: aesd.8 q0, q1 @ encoding: [0xb0,0xff,0x42,0x03] 6 @ CHECK: aese.8 q0, q1 @ encoding: [0xb0,0xff,0x02,0x03] 8 @ CHECK: aesimc.8 q0, q1 @ encoding: [0xb0,0xff,0xc2,0x03] 10 @ CHECK: aesmc.8 q0, q1 @ encoding: [0xb0,0xff,0x82,0x03] 13 @ CHECK: sha1h.32 q0, q1 @ encoding: [0xb9,0xff,0xc2,0x02] 15 @ CHECK: sha1su1.32 q0, q1 @ encoding: [0xba,0xff,0x82,0x03] 17 @ CHECK: sha256su0.32 q0, q1 @ encoding: [0xba,0xff,0xc2,0x03] 20 @ CHECK: sha1c.32 q0, q1, q2 @ encoding: [0x02,0xef,0x44,0x0c] 22 @ CHECK: sha1m.32 q0, q1, q2 @ encoding: [0x22,0xef,0x44,0x0c [all...] |
udf-arm.s | 1 @ RUN: llvm-mc -triple arm-eabi -show-encoding %s | FileCheck %s 10 @ CHECK: udf #0 @ encoding: [0xf0,0x00,0xf0,0xe7]
|
udf-thumb.s | 1 @ RUN: llvm-mc -triple thumbv6m-eabi -show-encoding %s | FileCheck %s 10 @ CHECK: udf #0 @ encoding: [0x00,0xde]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
pairingsessiontest.cc | 118 encoding::EncodingOption encoding(encoding::EncodingOption::kHexadecimal, 8); 119 message::ConfigurationMessage configuration(encoding, 124 ASSERT_EQ(encoding::EncodingOption::kHexadecimal, 125 session_.GetConfiguration()->encoding().encoding_type()); 126 ASSERT_EQ(8, session_.GetConfiguration()->encoding().symbol_length()); 138 encoding::EncodingOption encoding(encoding::EncodingOption::kHexadecimal, 8) [all...] |
/external/llvm/test/MC/Mips/mips64/ |
valid.s | 3 # RUN: llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64 | FileCheck %s 6 abs.d $f7,$f25 # CHECK: encoding: 12 addi $8,$8,~1 # CHECK: addi $8, $8, -2 # encoding: [0x21,0x08,0xff,0xfe] 15 and $2,4 # CHECK: andi $2, $2, 4 # encoding: [0x30,0x42,0x00,0x04] 16 bc1f $fcc0, 4 # CHECK: bc1f 4 # encoding: [0x45,0x00,0x00,0x01] 17 bc1f $fcc1, 4 # CHECK: bc1f $fcc1, 4 # encoding: [0x45,0x04,0x00,0x01] 18 bc1f 4 # CHECK: bc1f 4 # encoding: [0x45,0x00,0x00,0x01] 19 bc1t $fcc0, 4 # CHECK: bc1t 4 # encoding: [0x45,0x01,0x00,0x01] 20 bc1t $fcc1, 4 # CHECK: bc1t $fcc1, 4 # encoding: [0x45,0x05,0x00,0x01] 21 bc1t 4 # CHECK: bc1t 4 # encoding: [0x45,0x01,0x00,0x01 [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/tools/ |
antlr.sh | 5 java -Dfile.encoding=windows-1252 \
|
/external/chromium_org/third_party/WebKit/Source/modules/encoding/ |
TextEncoder.cpp | 33 #include "modules/encoding/TextEncoder.h" 43 WTF::TextEncoding encoding(utfLabel); 44 if (!encoding.isValid()) { 45 exceptionState.throwTypeError("The encoding label provided ('" + utfLabel + "') is invalid."); 49 String name(encoding.name()); 51 exceptionState.throwTypeError("The encoding provided ('" + utfLabel + "') is not one of 'utf-8', 'utf-16', or 'utf-16be'."); 55 return new TextEncoder(encoding); 58 TextEncoder::TextEncoder(const WTF::TextEncoding& encoding) 59 : m_encoding(encoding) 60 , m_codec(newTextCodec(encoding)) 68 String TextEncoder::encoding() const function in class:blink::TextEncoder [all...] |
/external/libunwind/src/dwarf/ |
Gpe.c | 33 unw_word_t *addr, unsigned char encoding, 37 return dwarf_read_encoded_pointer_inlined (as, a, addr, encoding,
|