/external/llvm-project/llvm/test/CodeGen/X86/ |
D | atomic-idempotent.ll | 4 …y-machineinstrs -mcpu=slm -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 5 …y-machineinstrs -mcpu=goldmont -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 6 …y-machineinstrs -mcpu=knl -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 28 ; X86-SLM-LABEL: add8: 29 ; X86-SLM: # %bb.0: 30 ; X86-SLM-NEXT: movl {{[0-9]+}}(%esp), %ecx 31 ; X86-SLM-NEXT: xorl %eax, %eax 32 ; X86-SLM-NEXT: lock xaddb %al, (%ecx) 33 ; X86-SLM-NEXT: # kill: def $al killed $al killed $eax 34 ; X86-SLM-NEXT: retl [all …]
|
D | movbe.ll | 2 ; RUN: llc -mtriple=x86_64-linux -mcpu=slm < %s | FileCheck %s -check-prefix=SLM 14 ; SLM-LABEL: test1: 15 ; SLM: movbew %si, (%rdi) 24 ; SLM-LABEL: test2: 25 ; SLM: movbew (%rdi), %ax 34 ; SLM-LABEL: test3: 35 ; SLM: movbel %esi, (%rdi) 44 ; SLM-LABEL: test4: 45 ; SLM: movbel (%rdi), %eax 54 ; SLM-LABEL: test5: [all …]
|
D | bypass-slow-division-tune.ll | 5 …triple=x86_64-unknown-linux-gnu -mcpu=silvermont < %s | FileCheck -check-prefixes=CHECK,REST,SLM %s 84 ; SLM-LABEL: div64: 85 ; SLM: # %bb.0: # %entry 86 ; SLM-NEXT: movq %rdi, %rcx 87 ; SLM-NEXT: movq %rdi, %rax 88 ; SLM-NEXT: orq %rsi, %rcx 89 ; SLM-NEXT: shrq $32, %rcx 90 ; SLM-NEXT: je .LBB1_1 91 ; SLM-NEXT: # %bb.2: 92 ; SLM-NEXT: cqto [all …]
|
D | mul-constant-i32.ll | 8 …-unknown -mcpu=slm | FileCheck %s --check-prefixes=X64,X64-SLM 9 … -mul-constant-optimization=false -mcpu=slm | FileCheck %s --check-prefixes=X64-NOOPT,SLM-NOOPT 316 ; X64-SLM-LABEL: test_mul_by_11: 317 ; X64-SLM: # %bb.0: 318 ; X64-SLM-NEXT: imull $11, %edi, %eax 319 ; X64-SLM-NEXT: retq 384 ; X64-SLM-LABEL: test_mul_by_13: 385 ; X64-SLM: # %bb.0: 386 ; X64-SLM-NEXT: imull $13, %edi, %eax 387 ; X64-SLM-NEXT: retq [all …]
|
D | mul-constant-i64.ll | 6 … -mcpu=slm | FileCheck %s --check-prefixes=X64,X64-OPT,X64-SLM 9 …nstant-optimization=false -mcpu=slm | FileCheck %s --check-prefixes=X64,X64-NOOPT,X64-SLM-NOOPT 313 ; X64-SLM-LABEL: test_mul_by_11: 314 ; X64-SLM: # %bb.0: 315 ; X64-SLM-NEXT: imulq $11, %rdi, %rax 316 ; X64-SLM-NEXT: retq 389 ; X64-SLM-LABEL: test_mul_by_13: 390 ; X64-SLM: # %bb.0: 391 ; X64-SLM-NEXT: imulq $13, %rdi, %rax 392 ; X64-SLM-NEXT: retq [all …]
|
/external/llvm-project/llvm/test/Transforms/SLPVectorizer/X86/ |
D | alternate-fp.ll | 3 …lm -basic-aa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM 58 ; SLM-LABEL: @fmul_fdiv_v8f32( 59 ; SLM-NEXT: [[A0:%.*]] = extractelement <8 x float> [[A:%.*]], i32 0 60 ; SLM-NEXT: [[A1:%.*]] = extractelement <8 x float> [[A]], i32 1 61 ; SLM-NEXT: [[A2:%.*]] = extractelement <8 x float> [[A]], i32 2 62 ; SLM-NEXT: [[A3:%.*]] = extractelement <8 x float> [[A]], i32 3 63 ; SLM-NEXT: [[A4:%.*]] = extractelement <8 x float> [[A]], i32 4 64 ; SLM-NEXT: [[A5:%.*]] = extractelement <8 x float> [[A]], i32 5 65 ; SLM-NEXT: [[A6:%.*]] = extractelement <8 x float> [[A]], i32 6 66 ; SLM-NEXT: [[A7:%.*]] = extractelement <8 x float> [[A]], i32 7 [all …]
|
D | zext.ll | 3 … -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefixes=SLM 25 ; SLM-LABEL: @loadext_2i8_to_2i64( 26 ; SLM-NEXT: [[P1:%.*]] = getelementptr inbounds i8, i8* [[P0:%.*]], i64 1 27 ; SLM-NEXT: [[I0:%.*]] = load i8, i8* [[P0]], align 1 28 ; SLM-NEXT: [[I1:%.*]] = load i8, i8* [[P1]], align 1 29 ; SLM-NEXT: [[X0:%.*]] = zext i8 [[I0]] to i64 30 ; SLM-NEXT: [[X1:%.*]] = zext i8 [[I1]] to i64 31 ; SLM-NEXT: [[V0:%.*]] = insertelement <2 x i64> undef, i64 [[X0]], i32 0 32 ; SLM-NEXT: [[V1:%.*]] = insertelement <2 x i64> [[V0]], i64 [[X1]], i32 1 33 ; SLM-NEXT: ret <2 x i64> [[V1]] [all …]
|
D | sext.ll | 3 …riple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefixes=SSE,SLM 63 ; SLM-LABEL: @loadext_4i8_to_4i32( 64 ; SLM-NEXT: [[P1:%.*]] = getelementptr inbounds i8, i8* [[P0:%.*]], i64 1 65 ; SLM-NEXT: [[P2:%.*]] = getelementptr inbounds i8, i8* [[P0]], i64 2 66 ; SLM-NEXT: [[P3:%.*]] = getelementptr inbounds i8, i8* [[P0]], i64 3 67 ; SLM-NEXT: [[I0:%.*]] = load i8, i8* [[P0]], align 1 68 ; SLM-NEXT: [[I1:%.*]] = load i8, i8* [[P1]], align 1 69 ; SLM-NEXT: [[I2:%.*]] = load i8, i8* [[P2]], align 1 70 ; SLM-NEXT: [[I3:%.*]] = load i8, i8* [[P3]], align 1 71 ; SLM-NEXT: [[X0:%.*]] = sext i8 [[I0]] to i32 [all …]
|
D | alternate-cast.ll | 3 …lm -basic-aa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM 37 ; SLM-LABEL: @sitofp_uitofp( 38 ; SLM-NEXT: [[TMP1:%.*]] = sitofp <8 x i32> [[A:%.*]] to <8 x float> 39 ; SLM-NEXT: [[TMP2:%.*]] = uitofp <8 x i32> [[A]] to <8 x float> 40 ; SLM-NEXT: [[R7:%.*]] = shufflevector <8 x float> [[TMP1]], <8 x float> [[TMP2]], <8 x i32> <i3… 41 ; SLM-NEXT: ret <8 x float> [[R7]] 110 ; SLM-LABEL: @fptosi_fptoui( 111 ; SLM-NEXT: [[A0:%.*]] = extractelement <8 x float> [[A:%.*]], i32 0 112 ; SLM-NEXT: [[A1:%.*]] = extractelement <8 x float> [[A]], i32 1 113 ; SLM-NEXT: [[A2:%.*]] = extractelement <8 x float> [[A]], i32 2 [all …]
|
D | hadd.ll | 3 …lm -basic-aa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM 20 ; SLM-LABEL: @test_v2f64( 21 ; SLM-NEXT: [[A0:%.*]] = extractelement <2 x double> [[A:%.*]], i32 0 22 ; SLM-NEXT: [[A1:%.*]] = extractelement <2 x double> [[A]], i32 1 23 ; SLM-NEXT: [[B0:%.*]] = extractelement <2 x double> [[B:%.*]], i32 0 24 ; SLM-NEXT: [[B1:%.*]] = extractelement <2 x double> [[B]], i32 1 25 ; SLM-NEXT: [[R0:%.*]] = fadd double [[A0]], [[A1]] 26 ; SLM-NEXT: [[R1:%.*]] = fadd double [[B0]], [[B1]] 27 ; SLM-NEXT: [[R00:%.*]] = insertelement <2 x double> undef, double [[R0]], i32 0 28 ; SLM-NEXT: [[R01:%.*]] = insertelement <2 x double> [[R00]], double [[R1]], i32 1 [all …]
|
D | hsub.ll | 3 …lm -basic-aa -slp-vectorizer -instcombine -S | FileCheck %s --check-prefix=CHECK --check-prefix=SLM 20 ; SLM-LABEL: @test_v2f64( 21 ; SLM-NEXT: [[A0:%.*]] = extractelement <2 x double> [[A:%.*]], i32 0 22 ; SLM-NEXT: [[A1:%.*]] = extractelement <2 x double> [[A]], i32 1 23 ; SLM-NEXT: [[B0:%.*]] = extractelement <2 x double> [[B:%.*]], i32 0 24 ; SLM-NEXT: [[B1:%.*]] = extractelement <2 x double> [[B]], i32 1 25 ; SLM-NEXT: [[R0:%.*]] = fsub double [[A0]], [[A1]] 26 ; SLM-NEXT: [[R1:%.*]] = fsub double [[B0]], [[B1]] 27 ; SLM-NEXT: [[R00:%.*]] = insertelement <2 x double> undef, double [[R0]], i32 0 28 ; SLM-NEXT: [[R01:%.*]] = insertelement <2 x double> [[R00]], double [[R1]], i32 1 [all …]
|
D | arith-div.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 41 ; SLM-LABEL: @sdiv_v16i32_uniformconst( 42 ; SLM-NEXT: [[TMP1:%.*]] = load <4 x i32>, <4 x i32>* bitcast ([16 x i32]* @a32 to <4 x i32>*), … 43 ; SLM-NEXT: [[TMP2:%.*]] = load <4 x i32>, <4 x i32>* bitcast (i32* getelementptr inbounds ([16 … 44 ; SLM-NEXT: [[TMP3:%.*]] = load <4 x i32>, <4 x i32>* bitcast (i32* getelementptr inbounds ([16 … 45 ; SLM-NEXT: [[TMP4:%.*]] = load <4 x i32>, <4 x i32>* bitcast (i32* getelementptr inbounds ([16 … 46 ; SLM-NEXT: [[TMP5:%.*]] = sdiv <4 x i32> [[TMP1]], <i32 5, i32 5, i32 5, i32 5> 47 ; SLM-NEXT: [[TMP6:%.*]] = sdiv <4 x i32> [[TMP2]], <i32 5, i32 5, i32 5, i32 5> 48 ; SLM-NEXT: [[TMP7:%.*]] = sdiv <4 x i32> [[TMP3]], <i32 5, i32 5, i32 5, i32 5> 49 ; SLM-NEXT: [[TMP8:%.*]] = sdiv <4 x i32> [[TMP4]], <i32 5, i32 5, i32 5, i32 5> [all …]
|
D | arith-fix.ll | 3 … -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefixes=SLM 48 ; SLM-LABEL: @smul_v8i64( 49 ; SLM-NEXT: [[TMP1:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @a64 to <2 x i64>*), a… 50 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 51 ; SLM-NEXT: [[TMP3:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 52 ; SLM-NEXT: [[TMP4:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 53 ; SLM-NEXT: [[TMP5:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @b64 to <2 x i64>*), a… 54 ; SLM-NEXT: [[TMP6:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 55 ; SLM-NEXT: [[TMP7:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 56 ; SLM-NEXT: [[TMP8:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… [all …]
|
D | arith-mul.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 61 ; SLM-LABEL: @mul_v8i64( 62 ; SLM-NEXT: [[A0:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 63 ; SLM-NEXT: [[A1:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 64 ; SLM-NEXT: [[A2:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 65 ; SLM-NEXT: [[A3:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 66 ; SLM-NEXT: [[A4:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 67 ; SLM-NEXT: [[A5:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 68 ; SLM-NEXT: [[A6:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 69 ; SLM-NEXT: [[A7:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … [all …]
|
D | arith-add.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 45 ; SLM-LABEL: @add_v8i64( 46 ; SLM-NEXT: [[TMP1:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @a64 to <2 x i64>*), a… 47 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 48 ; SLM-NEXT: [[TMP3:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 49 ; SLM-NEXT: [[TMP4:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 50 ; SLM-NEXT: [[TMP5:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @b64 to <2 x i64>*), a… 51 ; SLM-NEXT: [[TMP6:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 52 ; SLM-NEXT: [[TMP7:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 53 ; SLM-NEXT: [[TMP8:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… [all …]
|
D | arith-sub.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 45 ; SLM-LABEL: @sub_v8i64( 46 ; SLM-NEXT: [[TMP1:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @a64 to <2 x i64>*), a… 47 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 48 ; SLM-NEXT: [[TMP3:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 49 ; SLM-NEXT: [[TMP4:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 50 ; SLM-NEXT: [[TMP5:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @b64 to <2 x i64>*), a… 51 ; SLM-NEXT: [[TMP6:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 52 ; SLM-NEXT: [[TMP7:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 53 ; SLM-NEXT: [[TMP8:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… [all …]
|
D | arith-sub-ssat.ll | 3 … -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefixes=SLM 64 ; SLM-LABEL: @sub_v8i64( 65 ; SLM-NEXT: [[A0:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 66 ; SLM-NEXT: [[A1:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 67 ; SLM-NEXT: [[A2:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 68 ; SLM-NEXT: [[A3:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 69 ; SLM-NEXT: [[A4:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 70 ; SLM-NEXT: [[A5:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 71 ; SLM-NEXT: [[A6:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 72 ; SLM-NEXT: [[A7:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … [all …]
|
D | arith-add-ssat.ll | 3 … -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefixes=SLM 64 ; SLM-LABEL: @add_v8i64( 65 ; SLM-NEXT: [[A0:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 66 ; SLM-NEXT: [[A1:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 67 ; SLM-NEXT: [[A2:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 68 ; SLM-NEXT: [[A3:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 69 ; SLM-NEXT: [[A4:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 70 ; SLM-NEXT: [[A5:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 71 ; SLM-NEXT: [[A6:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … 72 ; SLM-NEXT: [[A7:%.*]] = load i64, i64* getelementptr inbounds ([8 x i64], [8 x i64]* @a64, i32 … [all …]
|
D | arith-smin.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 64 ; SLM-LABEL: @smin_v8i64( 65 ; SLM-NEXT: [[TMP1:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @a64 to <2 x i64>*), a… 66 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 67 ; SLM-NEXT: [[TMP3:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 68 ; SLM-NEXT: [[TMP4:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 69 ; SLM-NEXT: [[TMP5:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @b64 to <2 x i64>*), a… 70 ; SLM-NEXT: [[TMP6:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 71 ; SLM-NEXT: [[TMP7:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 72 ; SLM-NEXT: [[TMP8:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… [all …]
|
D | arith-smax.ll | 3 …%s -mtriple=x86_64-unknown -mcpu=slm -basic-aa -slp-vectorizer -S | FileCheck %s --check-prefix=SLM 64 ; SLM-LABEL: @smax_v8i64( 65 ; SLM-NEXT: [[TMP1:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @a64 to <2 x i64>*), a… 66 ; SLM-NEXT: [[TMP2:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 67 ; SLM-NEXT: [[TMP3:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 68 ; SLM-NEXT: [[TMP4:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 69 ; SLM-NEXT: [[TMP5:%.*]] = load <2 x i64>, <2 x i64>* bitcast ([8 x i64]* @b64 to <2 x i64>*), a… 70 ; SLM-NEXT: [[TMP6:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 71 ; SLM-NEXT: [[TMP7:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… 72 ; SLM-NEXT: [[TMP8:%.*]] = load <2 x i64>, <2 x i64>* bitcast (i64* getelementptr inbounds ([8 x… [all …]
|
/external/llvm-project/llvm/test/Analysis/CostModel/X86/ |
D | slm-arith-costs.ll | 2 ; RUN: opt < %s -cost-model -analyze -mcpu=slm | FileCheck %s --check-prefixes=CHECK,SLM 10 ; SLM-LABEL: 'slm-costs_64_vector_add' 11 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %res = add <2 x i64> %a, %b 12 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %res 24 ; SLM-LABEL: 'slm-costs_64_vector_sub' 25 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %res = sub <2 x i64> %a, %b 26 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %res 49 ; SLM-LABEL: 'slm-costs_8_v2_mul' 50 ; SLM-NEXT: Cost Model: Found an estimated cost of 14 for instruction: %res = mul nsw <2 x i8> %a,… 51 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i8> %res [all …]
|
D | fptoui.ll | 9 …-mtriple=x86_64-apple-darwin -cost-model -analyze -mcpu=slm | FileCheck %s --check-prefixes=SSE,SLM 49 ; SLM-LABEL: 'fptoui_double_i64' 50 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = fptoui double undef t… 51 ; SLM-NEXT: Cost Model: Found an estimated cost of 18 for instruction: %V2I64 = fptoui <2 x double… 52 ; SLM-NEXT: Cost Model: Found an estimated cost of 36 for instruction: %V4I64 = fptoui <4 x double… 53 ; SLM-NEXT: Cost Model: Found an estimated cost of 72 for instruction: %V8I64 = fptoui <8 x double… 54 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret i32 undef 92 ; SLM-LABEL: 'fptoui_double_i32' 93 ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %I32 = fptoui double undef t… 94 ; SLM-NEXT: Cost Model: Found an estimated cost of 9 for instruction: %V2I32 = fptoui <2 x double>… [all …]
|
D | reduction.ll | 8 …-reduxcost=true -mtriple=x86_64-apple-darwin -analyze -mcpu=slm | FileCheck %s --check-prefixes=SLM 47 ; SLM-LABEL: 'reduction_cost_float' 48 ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %rdx.shuf = shufflevector <4… 49 ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %bin.rdx = fadd <4 x float> … 50 ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %rdx.shuf7 = shufflevector <… 51 ; SLM-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %bin.rdx8 = fadd <4 x float>… 52 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %r = extractelement <4 x flo… 53 ; SLM-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret float %r 95 ; SLM-LABEL: 'reduction_cost_int' 96 ; SLM-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %rdx.shuf = shufflevector <8… [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | movbe.ll | 2 ; RUN: llc -mtriple=x86_64-linux -mcpu=slm < %s | FileCheck %s -check-prefix=SLM 14 ; SLM-LABEL: test1: 15 ; SLM: movbew %si, (%rdi) 24 ; SLM-LABEL: test2: 25 ; SLM: movbew (%rdi), %ax 34 ; SLM-LABEL: test3: 35 ; SLM: movbel %esi, (%rdi) 44 ; SLM-LABEL: test4: 45 ; SLM: movbel (%rdi), %eax 54 ; SLM-LABEL: test5: [all …]
|
/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/ |
D | mul_slm_16bit.ll | 2 ; RUN: opt < %s -S -debug -loop-vectorize -mcpu=slm 2>&1 | FileCheck %s --check-prefix=SLM 35 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32 39 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32 45 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32 51 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32 56 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32 61 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32 66 ; SLM: cost of 3 for VF 4 {{.*}} mul nsw i32 104 ; SLM: cost of 5 for VF 4 {{.*}} mul nsw i32 108 ; SLM: cost of 11 for VF 4 {{.*}} mul nsw i32 [all …]
|