Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=avx,vpclmulqdq -show-mc-encoding | FileCheck %s --check-prefix=AVX_VPCLMULQDQ
      2 
      3 ; Check for vpclmulqdq
      4 define <4 x i64> @test_x86_pclmulqdq(<4 x i64> %a0, <4 x i64> %a1) {
      5 ; AVX_VPCLMULQDQ-LABEL: test_x86_pclmulqdq:
      6 ; AVX_VPCLMULQDQ:       # %bb.0:
      7 ; AVX_VPCLMULQDQ-NEXT:    vpclmulqdq $17, %ymm1, %ymm0, %ymm0 # encoding: [0xc4,0xe3,0x7d,0x44,0xc1,0x11]
      8 ; AVX_VPCLMULQDQ-NEXT:    retl # encoding: [0xc3]
      9   %res = call <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64> %a0, <4 x i64> %a1, i8 17)
     10   ret <4 x i64> %res
     11 }
     12 declare <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64>, <4 x i64>, i8) nounwind readnone
     13 
     14