Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / X86 / x86_64-avx-clmul-encoding.s
blob67e82c6cd0d2955060c20d5e3d7109ebf7fc2d08
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: vpclmulqdq $17, %xmm12, %xmm10, %xmm11
4 // CHECK: encoding: [0xc4,0x43,0x29,0x44,0xdc,0x11]
5 vpclmulhqhqdq %xmm12, %xmm10, %xmm11
7 // CHECK: vpclmulqdq $17, (%rax), %xmm10, %xmm13
8 // CHECK: encoding: [0xc4,0x63,0x29,0x44,0x28,0x11]
9 vpclmulhqhqdq (%rax), %xmm10, %xmm13
11 // CHECK: vpclmulqdq $1, %xmm12, %xmm10, %xmm11
12 // CHECK: encoding: [0xc4,0x43,0x29,0x44,0xdc,0x01]
13 vpclmulhqlqdq %xmm12, %xmm10, %xmm11
15 // CHECK: vpclmulqdq $1, (%rax), %xmm10, %xmm13
16 // CHECK: encoding: [0xc4,0x63,0x29,0x44,0x28,0x01]
17 vpclmulhqlqdq (%rax), %xmm10, %xmm13
19 // CHECK: vpclmulqdq $16, %xmm12, %xmm10, %xmm11
20 // CHECK: encoding: [0xc4,0x43,0x29,0x44,0xdc,0x10]
21 vpclmullqhqdq %xmm12, %xmm10, %xmm11
23 // CHECK: vpclmulqdq $16, (%rax), %xmm10, %xmm13
24 // CHECK: encoding: [0xc4,0x63,0x29,0x44,0x28,0x10]
25 vpclmullqhqdq (%rax), %xmm10, %xmm13
27 // CHECK: vpclmulqdq $0, %xmm12, %xmm10, %xmm11
28 // CHECK: encoding: [0xc4,0x43,0x29,0x44,0xdc,0x00]
29 vpclmullqlqdq %xmm12, %xmm10, %xmm11
31 // CHECK: vpclmulqdq $0, (%rax), %xmm10, %xmm13
32 // CHECK: encoding: [0xc4,0x63,0x29,0x44,0x28,0x00]
33 vpclmullqlqdq (%rax), %xmm10, %xmm13
35 // CHECK: vpclmulqdq $17, %xmm12, %xmm10, %xmm11
36 // CHECK: encoding: [0xc4,0x43,0x29,0x44,0xdc,0x11]
37 vpclmulqdq $17, %xmm12, %xmm10, %xmm11
39 // CHECK: vpclmulqdq $17, (%rax), %xmm10, %xmm13
40 // CHECK: encoding: [0xc4,0x63,0x29,0x44,0x28,0x11]
41 vpclmulqdq $17, (%rax), %xmm10, %xmm13