| /llvm-project-15.0.7/clang/test/CodeGen/SystemZ/ |
| H A D | builtins-systemz-zvector2-constrained.c | 86 vf = vec_revb(vf); in test_core() 91 vf = vec_reve(vf); in test_core() 152 vf = vec_mergeh(vf, vf); in test_core() 159 vf = vec_mergel(vf, vf); in test_core() 377 vf = vec_abs(vf); in test_float() 393 vf = vec_max(vf, vf); in test_float() 400 vf = vec_min(vf, vf); in test_float() 407 vf = vec_madd(vf, vf, vf); in test_float() 414 vf = vec_msub(vf, vf, vf); in test_float() 423 vf = vec_nmadd(vf, vf, vf); in test_float() [all …]
|
| H A D | builtins-systemz-zvector2.c | 118 vf = vec_perm(vf, vf, vuc); in test_core() 139 vf = vec_sel(vf, vf, vui); in test_core() 141 vf = vec_sel(vf, vf, vbi); in test_core() 257 vf = vec_mergeh(vf, vf); in test_core() 487 vf = vec_nor(vf, vf); in test_integer() 545 vf = vec_orc(vf, vf); in test_integer() 574 vf = vec_eqv(vf, vf); in test_integer() 710 vf = vec_madd(vf, vf, vf); in test_float() 717 vf = vec_msub(vf, vf, vf); in test_float() 726 vf = vec_nmadd(vf, vf, vf); in test_float() [all …]
|
| H A D | builtins-systemz-vector2.c | 85 vf = __builtin_s390_vfmaxsb(vf, vf, 4); in test_float() 87 vf = __builtin_s390_vfmaxsb(vf, vf, 0); in test_float() 89 vf = __builtin_s390_vfmaxsb(vf, vf, 15); in test_float() 92 vf = __builtin_s390_vfminsb(vf, vf, 4); in test_float() 94 vf = __builtin_s390_vfminsb(vf, vf, 0); in test_float() 96 vf = __builtin_s390_vfminsb(vf, vf, 15); in test_float() 99 vf = __builtin_s390_vfsqsb(vf); in test_float() 102 vf = __builtin_s390_vfmasb(vf, vf, vf); in test_float() 104 vf = __builtin_s390_vfmssb(vf, vf, vf); in test_float() 107 vf = __builtin_s390_vfnmasb(vf, vf, vf); in test_float() [all …]
|
| H A D | builtins-systemz-vector2-constrained.c | 28 vf = __builtin_s390_vfmaxsb(vf, vf, 4); in test_float() 31 vf = __builtin_s390_vfminsb(vf, vf, 4); in test_float() 34 vf = __builtin_s390_vfsqsb(vf); in test_float() 37 vf = __builtin_s390_vfmasb(vf, vf, vf); in test_float() 39 vf = __builtin_s390_vfmssb(vf, vf, vf); in test_float() 42 vf = __builtin_s390_vfnmasb(vf, vf, vf); in test_float() 45 vf = __builtin_s390_vfnmssb(vf, vf, vf); in test_float() 50 vf = __builtin_s390_vflpsb(vf); in test_float() 52 vf = __builtin_s390_vflnsb(vf); in test_float() 56 vf = __builtin_s390_vfisb(vf, 0, 0); in test_float() [all …]
|
| H A D | builtins-systemz-vector2-error.c | 25 volatile vec_float vf; variable 44 …__builtin_s390_vftcisb(vf, -1, &cc); // expected-error-re {{argument value {{.*}} is outside… in test_float() 46 __builtin_s390_vftcisb(vf, len, &cc); // expected-error {{must be a constant integer}} in test_float() 50 __builtin_s390_vfisb(vf, len, 0); // expected-error {{must be a constant integer}} in test_float() 53 __builtin_s390_vfisb(vf, 0, len); // expected-error {{must be a constant integer}} in test_float() 55 …__builtin_s390_vfmaxsb(vf, vf, -1); // expected-error-re {{argument value {{.*}} is outside… in test_float() 56 …__builtin_s390_vfmaxsb(vf, vf, 16); // expected-error-re {{argument value {{.*}} is outside… in test_float() 57 __builtin_s390_vfmaxsb(vf, vf, len); // expected-error {{must be a constant integer}} in test_float() 58 …__builtin_s390_vfminsb(vf, vf, -1); // expected-error-re {{argument value {{.*}} is outside… in test_float() 59 …__builtin_s390_vfminsb(vf, vf, 16); // expected-error-re {{argument value {{.*}} is outside… in test_float() [all …]
|
| H A D | builtins-systemz-zvector2-error.c | 20 volatile vector float vf; variable 63 vf = vec_gather_element(vf, vui, cptrf, idx); // expected-error {{no matching function}} in test_core() 66 vf = vec_gather_element(vf, vui, cptrf, -1); // expected-error {{no matching function}} in test_core() 69 vf = vec_gather_element(vf, vui, cptrf, 4); // expected-error {{no matching function}} in test_core() 82 vec_scatter_element(vf, vui, ptrf, idx); // expected-error {{no matching function}} in test_core() 85 vec_scatter_element(vf, vui, ptrf, -1); // expected-error {{no matching function}} in test_core() 88 vec_scatter_element(vf, vui, ptrf, 4); // expected-error {{no matching function}} in test_core() 101 vf = vec_splat(vf, idx); // expected-error {{no matching function}} in test_core() 104 vf = vec_splat(vf, -1); // expected-error {{no matching function}} in test_core() 107 vf = vec_splat(vf, 4); // expected-error {{no matching function}} in test_core() [all …]
|
| H A D | builtins-systemz-zvector4-error.c | 20 volatile vector float vf; variable 26 …vf = vec_extend_to_fp32_hi(vus, -1); // expected-error {{argument value -1 is outside the … in test_nnp_assist() 27 …vf = vec_extend_to_fp32_hi(vus, 16); // expected-error {{argument value 16 is outside the … in test_nnp_assist() 28 …vf = vec_extend_to_fp32_hi(vus, len); // expected-error {{argument to '__builtin_s390_vclfn… in test_nnp_assist() 30 …vf = vec_extend_to_fp32_lo(vus, -1); // expected-error {{argument value -1 is outside the … in test_nnp_assist() 31 …vf = vec_extend_to_fp32_lo(vus, 16); // expected-error {{argument value 16 is outside the … in test_nnp_assist() 32 …vf = vec_extend_to_fp32_lo(vus, len); // expected-error {{argument to '__builtin_s390_vclfn… in test_nnp_assist() 34 …vus = vec_round_from_fp32(vf, vf, -1); // expected-error {{argument value -1 is outside the … in test_nnp_assist() 35 …vus = vec_round_from_fp32(vf, vf, 16); // expected-error {{argument value 16 is outside the … in test_nnp_assist() 36 …vus = vec_round_from_fp32(vf, vf, len); // expected-error {{argument to '__builtin_s390_vcrnf… in test_nnp_assist()
|
| H A D | builtins-systemz-zvector3-constrained.c | 17 volatile vector float vf; variable 36 vf += vec_revb(vec_xl(idx, cptrf)); in test_core() 41 vec_xst(vec_revb(vf), idx, ptrf); in test_core() 51 vf += vec_revb(vec_splats(f)); in test_core() 56 vf2 = vf; in test_core() 63 f = vec_extract(vec_revb(vf), 0); in test_core() 73 vec_xst(vec_reve(vf), idx, ptrf); in test_core() 88 vf = vec_float(vsi); in test_float() 91 vf = vec_float(vui); in test_float() 98 vsi = vec_signed(vf); in test_float() [all …]
|
| H A D | builtins-systemz-zvector4.c | 23 volatile vector float vf; variable 29 vf = vec_extend_to_fp32_hi(vus, 0); in test_nnp_assist() 32 vf = vec_extend_to_fp32_hi(vus, 15); in test_nnp_assist() 36 vf = vec_extend_to_fp32_lo(vus, 0); in test_nnp_assist() 39 vf = vec_extend_to_fp32_lo(vus, 15); in test_nnp_assist() 43 vus = vec_round_from_fp32(vf, vf, 0); in test_nnp_assist() 46 vus = vec_round_from_fp32(vf, vf, 15); in test_nnp_assist()
|
| H A D | builtins-systemz-vector4.c | 25 volatile vec_float vf; variable 28 vf = __builtin_s390_vclfnhs(vus, 0); in test_nnp_assist() 30 vf = __builtin_s390_vclfnhs(vus, 15); in test_nnp_assist() 33 vf = __builtin_s390_vclfnls(vus, 0); in test_nnp_assist() 35 vf = __builtin_s390_vclfnls(vus, 15); in test_nnp_assist() 38 vus = __builtin_s390_vcrnfs(vf, vf, 0); in test_nnp_assist() 40 vus = __builtin_s390_vcrnfs(vf, vf, 15); in test_nnp_assist()
|
| H A D | builtins-systemz-zvector3.c | 23 volatile vector float vf; variable 139 vf += vec_revb(vec_splats(f)); in test_core() 169 vf2 = vf; in test_core() 304 vf = vec_sldb(vf, vf, 0); in test_integer() 307 vf = vec_sldb(vf, vf, 7); in test_integer() 365 vf = vec_srdb(vf, vf, 0); in test_integer() 368 vf = vec_srdb(vf, vf, 7); in test_integer() 448 vf = vec_float(vsi); in test_float() 451 vf = vec_float(vui); in test_float() 458 vsi = vec_signed(vf); in test_float() [all …]
|
| H A D | builtins-systemz-vector4-error.c | 25 volatile vec_float vf; variable 38 …__builtin_s390_vcrnfs(vf, vf, -1); // expected-error-re {{argument value {{.*}} is outside… in test_nnp_assist() 39 …__builtin_s390_vcrnfs(vf, vf, 16); // expected-error-re {{argument value {{.*}} is outside… in test_nnp_assist() 40 __builtin_s390_vcrnfs(vf, vf, len); // expected-error {{must be a constant integer}} in test_nnp_assist()
|
| /llvm-project-15.0.7/clang/test/CodeGen/PowerPC/ |
| H A D | builtins-ppc-fpconstrained.c | 22 volatile vec_float vf; variable 25 vf = __builtin_vsx_xvsqrtsp(vf); in test_float() 37 vf = __builtin_vsx_xvrspim(vf); in test_float() 49 vf = __builtin_vsx_xvrspi(vf); in test_float() 61 vf = __builtin_vsx_xvrspic(vf); in test_float() 73 vf = __builtin_vsx_xvrspip(vf); in test_float() 85 vf = __builtin_vsx_xvrspiz(vf); in test_float() 97 vf = __builtin_vsx_xvmaddasp(vf, vf, vf); in test_float() 109 vf = __builtin_vsx_xvnmaddasp(vf, vf, vf); in test_float() 127 vf = __builtin_vsx_xvmsubasp(vf, vf, vf); in test_float() [all …]
|
| H A D | builtins-ppc-fma.c | 9 volatile vec_float vf; variable 12 vf = __builtin_vsx_xvmaddasp(vf, vf, vf); in test_fma() 18 vf = __builtin_vsx_xvnmaddasp(vf, vf, vf); in test_fma() 26 vf = __builtin_vsx_xvmsubasp(vf, vf, vf); in test_fma() 34 vf = __builtin_vsx_xvnmsubasp(vf, vf, vf); in test_fma()
|
| H A D | builtins-ppc-vsx.c | 99 res_i = vec_any_ne(vf, vf); in test1() 107 res_i = vec_any_nle(vf, vf); in test1() 115 res_i = vec_any_nlt(vf, vf); in test1() 123 res_i = vec_any_nge(vf, vf); in test1() 159 res_i = vec_all_ne(vf, vf); in test1() 352 res_vf = vec_div(vf, vf); in test1() 361 res_vf = vec_max(vf, vf); in test1() 793 res_vf = vec_madd(vf, vf, vf); in test1() 852 res_vf = vec_msub(vf, vf, vf); in test1() 888 res_vf = vec_nmadd(vf, vf, vf); in test1() [all …]
|
| H A D | builtins-ppc-altivec.c | 94 vf = vec_abs(vf); in test1() 227 res_vf = vec_add(vf, vf); in test1() 765 res_vf = vec_andc(vf, vf); in test1() 1770 res_vf =vec_madd(vf, vf, vf); in test6() 1774 res_vf = vec_vmaddfp(vf, vf, vf); in test6() 2493 res_vf = vec_nmsub(vf, vf, vf); in test6() 2497 res_vf = vec_vnmsubfp(vf, vf, vf); in test6() 4943 vec_st(vf, 0, &vf); in test6() 5047 vec_stvx(vf, 0, &vf); in test6() 5273 vec_stl(vf, 0, &vf); in test6() [all …]
|
| /llvm-project-15.0.7/llvm/test/MC/RISCV/rvv/ |
| H A D | fmacc.s | 26 vfmacc.vf v8, fa0, v4, v0.t 32 vfmacc.vf v8, fa0, v4 56 vfnmacc.vf v8, fa0, v4 80 vfmsac.vf v8, fa0, v4 104 vfnmsac.vf v8, fa0, v4 128 vfmadd.vf v8, fa0, v4 152 vfnmadd.vf v8, fa0, v4 176 vfmsub.vf v8, fa0, v4 200 vfnmsub.vf v8, fa0, v4 224 vfwmacc.vf v8, fa0, v4 [all …]
|
| H A D | fcompare.s | 26 vmfeq.vf v8, v4, fa0, v0.t 32 vmfeq.vf v8, v4, fa0 50 vmfne.vf v8, v4, fa0, v0.t 56 vmfne.vf v8, v4, fa0 74 vmflt.vf v8, v4, fa0, v0.t 80 vmflt.vf v8, v4, fa0 98 vmfle.vf v8, v4, fa0, v0.t 104 vmfle.vf v8, v4, fa0 110 vmfgt.vf v8, v4, fa0, v0.t 116 vmfgt.vf v8, v4, fa0 [all …]
|
| H A D | sign-injection.s | 26 vfsgnj.vf v8, v4, fa0, v0.t 27 # CHECK-INST: vfsgnj.vf v8, v4, fa0, v0.t 32 vfsgnj.vf v8, v4, fa0 33 # CHECK-INST: vfsgnj.vf v8, v4, fa0 50 vfsgnjn.vf v8, v4, fa0, v0.t 51 # CHECK-INST: vfsgnjn.vf v8, v4, fa0, v0.t 56 vfsgnjn.vf v8, v4, fa0 57 # CHECK-INST: vfsgnjn.vf v8, v4, fa0 74 vfsgnjx.vf v8, v4, fa0, v0.t 80 vfsgnjx.vf v8, v4, fa0 [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | ext_vector_casts.c | 101 float2 vf = f; in splats() local 117 vf = 1 + vf; in splats() 118 …vf = l + vf; // expected-warning {{implicit conversion from 'long' to 'float2' (vector of 2 'float… in splats() 119 vf = 2.0 + vf; in splats() 120 vf = d + vf; // expected-warning {{implicit conversion loses floating-point precision}} in splats() 121 …vf = vf + 0xffffffff; // expected-warning {{implicit conversion from 'unsigned int' to 'float2' (v… in splats() 122 vf = vf + 2.1; // expected-warning {{implicit conversion loses floating-point precision}} in splats()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/rvv/ |
| H A D | fixed-vectors-vfwmacc.ll | 18 ret <1 x float> %vf 32 ret <1 x float> %vf 163 ret <2 x float> %vf 177 ret <2 x float> %vf 309 ret <4 x float> %vf 323 ret <4 x float> %vf 454 ret <8 x float> %vf 468 ret <8 x float> %vf 599 ret <16 x float> %vf 613 ret <16 x float> %vf [all …]
|
| H A D | vfwmacc-sdnode.ll | 18 ret <vscale x 1 x float> %vf 32 ret <vscale x 1 x float> %vf 163 ret <vscale x 2 x float> %vf 177 ret <vscale x 2 x float> %vf 309 ret <vscale x 4 x float> %vf 323 ret <vscale x 4 x float> %vf 454 ret <vscale x 8 x float> %vf 468 ret <vscale x 8 x float> %vf 599 ret <vscale x 16 x float> %vf 613 ret <vscale x 16 x float> %vf [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | vsx-minmax.ll | 21 %0 = load volatile <4 x float>, <4 x float>* @vf, align 16 22 %1 = load volatile <4 x float>, <4 x float>* @vf, align 16 30 %5 = load volatile <4 x float>, <4 x float>* @vf, align 16 31 %6 = load volatile <4 x float>, <4 x float>* @vf, align 16 35 %8 = load volatile <4 x float>, <4 x float>* @vf, align 16 36 %9 = load volatile <4 x float>, <4 x float>* @vf, align 16 81 ;volatile vector float vf = { -1.5, 2.5, -3.5, 4.5 }; 90 ; vf1 = vec_max(vf, vf); 92 ; vf2 = vec_vmaxfp(vf, vf); 93 ; vf3 = vec_min(vf, vf); [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | insertelement-bitcast.ll | 14 %vf = bitcast <4 x i32> %v to <4 x float> 15 %r = insertelement <4 x float> %vf, float %xf, i32 0 29 %vf = bitcast <4 x i32> %v to <4 x float> 30 %r = insertelement <4 x float> %vf, float %xf, i32 1 43 %vf = bitcast <4 x i32> %v to <4 x float> 44 call void @use_v4f32(<4 x float> %vf) 62 %vf = bitcast <4 x i32> %v to <4 x float> 63 call void @use_v4f32(<4 x float> %vf) 64 %r = insertelement <4 x float> %vf, float %xf, i32 0 78 %vf = bitcast i64 %notv to <2 x float> [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | matrix-type-operators-fast-math.c | 40 void add_matrix_scalar_double_float(dx5x5_t a, float vf) { in add_matrix_scalar_double_float() argument 50 a = a + vf; in add_matrix_scalar_double_float() 53 void add_compound_matrix_scalar_double_float(dx5x5_t a, float vf) { in add_compound_matrix_scalar_double_float() argument 63 a += vf; in add_compound_matrix_scalar_double_float() 66 void subtract_compound_matrix_scalar_double_float(dx5x5_t a, float vf) { in subtract_compound_matrix_scalar_double_float() argument 76 a -= vf; in subtract_compound_matrix_scalar_double_float()
|