[CostModel][X86] Add v2f32 -> v2i64 fptosi/fptoui cost tests
llvm-svn: 287756
This commit is contained in:
parent
b243bbc87d
commit
e5dbdbefca
|
|
@ -134,6 +134,13 @@ define i32 @fptosi_float_i64(i32 %arg) {
|
|||
; AVX2: cost of 1 {{.*}} %I64 = fptosi
|
||||
; AVX512: cost of 1 {{.*}} %I64 = fptosi
|
||||
%I64 = fptosi float undef to i64
|
||||
; SSE2: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
; SSE42: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
; AVX1: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
; AVX2: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
; AVX512F: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
; AVX512DQ: cost of 6 {{.*}} %V2I64 = fptosi
|
||||
%V2I64 = fptosi <2 x float> undef to <2 x i64>
|
||||
; SSE2: cost of 13 {{.*}} %V4I64 = fptosi
|
||||
; SSE42: cost of 13 {{.*}} %V4I64 = fptosi
|
||||
; AVX1: cost of 12 {{.*}} %V4I64 = fptosi
|
||||
|
|
|
|||
|
|
@ -136,6 +136,13 @@ define i32 @fptoui_float_i64(i32 %arg) {
|
|||
; AVX2: cost of 4 {{.*}} %I64 = fptoui
|
||||
; AVX512: cost of 1 {{.*}} %I64 = fptoui
|
||||
%I64 = fptoui float undef to i64
|
||||
; SSE2: cost of 12 {{.*}} %V2I64 = fptoui
|
||||
; SSE42: cost of 12 {{.*}} %V2I64 = fptoui
|
||||
; AVX1: cost of 12 {{.*}} %V2I64 = fptoui
|
||||
; AVX2: cost of 12 {{.*}} %V2I64 = fptoui
|
||||
; AVX512F: cost of 6 {{.*}} %V2I64 = fptoui
|
||||
; AVX512DQ: cost of 1 {{.*}} %V2I64 = fptoui
|
||||
%V2I64 = fptoui <2 x float> undef to <2 x i64>
|
||||
; SSE2: cost of 25 {{.*}} %V4I64 = fptoui
|
||||
; SSE42: cost of 25 {{.*}} %V4I64 = fptoui
|
||||
; AVX1: cost of 24 {{.*}} %V4I64 = fptoui
|
||||
|
|
|
|||
Loading…
Reference in New Issue