brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.3 KiB · 441842b Raw
71 lines · plain
1// REQUIRES: asserts2// RUN: llvm-mc -triple x86_64-unknown-unknown  -debug-only=asm-matcher  %s 2>&1 | FileCheck %s3 4// CHECK: AsmMatcher: found 4 encodings with mnemonic 'pshufb'5// CHECK: Trying to match opcode MMX_PSHUFBrr6// CHECK:   Matching formal operand class MCK_VR64 against actual operand at index 1 (Memory: ModeSize=64,BaseReg=rip,Scale=1,Disp=CPI1_0): Opcode result: multiple operand mismatches, ignoring this opcode7// CHECK: Trying to match opcode PSHUFBrr8// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 1 (Memory: ModeSize=64,BaseReg=rip,Scale=1,Disp=CPI1_0): Opcode result: multiple operand mismatches, ignoring this opcode9// CHECK: Trying to match opcode PSHUFBrm10// CHECK:   Matching formal operand class MCK_Mem128 against actual operand at index 1 (Memory: ModeSize=64,BaseReg=rip,Scale=1,Disp=CPI1_0): match success using generic matcher11// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 2 (Reg:xmm1): match success using generic matcher12// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range13// CHECK:   Opcode result: complete match, selecting this opcode14// CHECK: AsmMatcher: found 2 encodings with mnemonic 'sha1rnds4'15// CHECK: Trying to match opcode SHA1RNDS4rri16// CHECK:   Matching formal operand class MCK_ImmUnsignedi8 against actual operand at index 1 (Imm:1): match success using generic matcher17// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 2 (Reg:xmm1): match success using generic matcher18// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 3 (Reg:xmm2): match success using generic matcher19// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 4: actual operand index out of range20// CHECK:   Opcode result: complete match, selecting this opcode21// CHECK: AsmMatcher: found 4 encodings with mnemonic 'pinsrw'22// CHECK: Trying to match opcode MMX_PINSRWrr23// CHECK:   Matching formal operand class MCK_ImmUnsignedi8 against actual operand at index 1 (Imm:3): match success using generic matcher24// CHECK:   Matching formal operand class MCK_GR32orGR64 against actual operand at index 2 (Reg:ecx): match success using generic matcher25// CHECK:   Matching formal operand class MCK_VR64 against actual operand at index 3 (Reg:xmm5): Opcode result: multiple operand mismatches, ignoring this opcode26// CHECK: Trying to match opcode PINSRWrr27// CHECK:   Matching formal operand class MCK_ImmUnsignedi8 against actual operand at index 1 (Imm:3): match success using generic matcher28// CHECK:   Matching formal operand class MCK_GR32orGR64 against actual operand at index 2 (Reg:ecx): match success using generic matcher29// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 3 (Reg:xmm5): match success using generic matcher30// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 4: actual operand index out of range31// CHECK:   Opcode result: complete match, selecting this opcode32// CHECK: AsmMatcher: found 4 encodings with mnemonic 'crc32l'33// CHECK: Trying to match opcode CRC32r32r3234// CHECK:   Matching formal operand class MCK_GR32 against actual operand at index 1 (Memory: ModeSize=64,BaseReg=rbx,IndexReg=rcx,Scale=8,Disp=2125315823,SegReg=gs): Opcode result: multiple operand mismatches, ignoring this opcode35// CHECK: Trying to match opcode CRC32r32m3236// CHECK:   Matching formal operand class MCK_Mem32 against actual operand at index 1 (Memory: ModeSize=64,BaseReg=rbx,IndexReg=rcx,Scale=8,Disp=2125315823,SegReg=gs): match success using generic matcher37// CHECK:   Matching formal operand class MCK_GR32 against actual operand at index 2 (Reg:ecx): match success using generic matcher38// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range39// CHECK:   Opcode result: complete match, selecting this opcode40// CHECK: AsmMatcher: found 2 encodings with mnemonic 'maskmovdqu'41// CHECK: Trying to match opcode MASKMOVDQU6442// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 1 (Reg:xmm0): match success using generic matcher43// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 2 (Reg:xmm1): match success using generic matcher44// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range45// CHECK:   Opcode result: complete match, selecting this opcode46// CHECK: AsmMatcher: found 2 encodings with mnemonic 'vmaskmovdqu'47// CHECK: Trying to match opcode VMASKMOVDQU6448// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 1 (Reg:xmm0): match success using generic matcher49// CHECK:   Matching formal operand class MCK_FR16 against actual operand at index 2 (Reg:xmm1): match success using generic matcher50// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range51// CHECK:   Opcode result: complete match, selecting this opcode52// CHECK: AsmMatcher: found 4 encodings with mnemonic 'punpcklbw'53// CHECK: Trying to match opcode MMX_PUNPCKLBWrr54// CHECK:   Matching formal operand class MCK_VR64 against actual operand at index 1 (Reg:mm0): match success using generic matcher55// CHECK:   Matching formal operand class MCK_VR64 against actual operand at index 2 (Memory: ModeSize=64,Size=32,BaseReg=rsp,Scale=1): Opcode result: multiple operand mismatches, ignoring this opcode56// CHECK: Trying to match opcode MMX_PUNPCKLBWrm57// CHECK:   Matching formal operand class MCK_VR64 against actual operand at index 1 (Reg:mm0): match success using generic matcher58// CHECK:   Matching formal operand class MCK_Mem32 against actual operand at index 2 (Memory: ModeSize=64,Size=32,BaseReg=rsp,Scale=1): match success using generic matcher59// CHECK:   Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range60// CHECK:   Opcode result: complete match, selecting this opcode61 62pshufb    CPI1_0(%rip), %xmm163sha1rnds4 $1, %xmm1, %xmm264pinsrw    $3, %ecx, %xmm565crc32l    %gs:0x7eadbeef(%rbx,%rcx,8),%ecx66maskmovdqu     %xmm0, %xmm167vmaskmovdqu     %xmm0, %xmm168 69.intel_syntax70punpcklbw mm0, dword ptr [rsp]71