/external/llvm-project/clang/test/CodeGen/ |
D | builtins-mips-msa.c | 19 v4i32 v4i32_r; in test() local 53 v4i32_r = __msa_add_a_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.add.a.w( in test() 58 v4i32_r = __msa_adds_a_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.adds.a.w( in test() 63 v4i32_r = __msa_adds_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.adds.s.w( in test() 73 v4i32_r = __msa_addv_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.addv.w( in test() 83 v4i32_r = __msa_addvi_w(v4i32_a, 25); // CHECK: call <4 x i32> @llvm.mips.addvi.w( in test() 93 v4i32_r = __msa_and_v(v4i32_a, v4i32_b); // CHECK: call <16 x i8> @llvm.mips.and.v( in test() 98 v4i32_r = __msa_andi_b(v4i32_a, 25); // CHECK: call <16 x i8> @llvm.mips.andi.b( in test() 108 v4i32_r = __msa_asub_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.asub.s.w( in test() 118 v4i32_r = __msa_ave_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.ave.s.w( in test() [all …]
|
D | builtins-mips-msa-error.c | 17 v4i32 v4i32_r; in test() local 41 …v4i32_r = __msa_andi_b(v4i32_a, 256); // expected-error {{argument value 256 is outsi… in test() 46 …v4i32_r = __msa_bclri_w(v4i32_a, 32); // expected-error {{argument value 32 is outsid… in test() 51 …v4i32_r = __msa_binsli_w(v4i32_r, v4i32_a, 32); // expected-error {{argument value 32 is outsid… in test() 56 …v4i32_r = __msa_binsri_w(v4i32_r, v4i32_a, 32); // expected-error {{argument value 32 is outsid… in test() 65 …v4i32_r = __msa_bnegi_w(v4i32_a, 32); // expected-error {{argument value 32 is outsid… in test() 72 …v4i32_r = __msa_bseti_w(v4i32_a, 32); // expected-error {{argument value 32 is outsid… in test() 77 …v4i32_r = __msa_ceqi_w(v4i32_a, 16); // expected-error {{argument value 16 is outsid… in test() 84 …v4i32_r = __msa_clei_s_w(v4i32_a, 16); // expected-error {{argument value 16 is outsid… in test() 94 …v4i32_r = __msa_clti_s_w(v4i32_a, 16); // expected-error {{argument value 16 is outsid… in test() [all …]
|
D | mips-inline-asm-modifiers.c | 17 v4i32 v4i32_r; in main() local 37 {asm ("ldi.w %w0,1" : "=f" (v4i32_r));} in main()
|
/external/clang/test/CodeGen/ |
D | builtins-mips-msa.c | 26 v4i32 v4i32_r; in test() local 60 v4i32_r = __builtin_msa_add_a_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.add.a.w( in test() 65 v4i32_r = __builtin_msa_adds_a_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.adds.a.w( in test() 70 v4i32_r = __builtin_msa_adds_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.adds.s.w( in test() 80 v4i32_r = __builtin_msa_addv_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.addv.w( in test() 90 v4i32_r = __builtin_msa_addvi_w(v4i32_a, 25); // CHECK: call <4 x i32> @llvm.mips.addvi.w( in test() 100 v4i32_r = __builtin_msa_and_v(v4i32_a, v4i32_b); // CHECK: call <16 x i8> @llvm.mips.and.v( in test() 105 v4i32_r = __builtin_msa_andi_b(v4i32_a, 25); // CHECK: call <16 x i8> @llvm.mips.andi.b( in test() 115 v4i32_r = __builtin_msa_asub_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.asub.s.w( in test() 125 v4i32_r = __builtin_msa_ave_s_w(v4i32_a, v4i32_b); // CHECK: call <4 x i32> @llvm.mips.ave.s.w( in test() [all …]
|
D | mips-inline-asm-modifiers.c | 17 v4i32 v4i32_r; in main() local 37 {asm ("ldi.w %w0,1" : "=f" (v4i32_r));} in main()
|
/external/llvm/test/CodeGen/Mips/msa/ |
D | inline-asm.ll | 5 @v4i32_r = global <4 x i32> zeroinitializer, align 16 12 store <4 x i32> %0, <4 x i32>* @v4i32_r 19 %0 = load <4 x i32>, <4 x i32>* @v4i32_r 22 store <4 x i32> %1, <4 x i32>* @v4i32_r 29 %0 = load <4 x i32>, <4 x i32>* @v4i32_r 32 store <4 x i32> %1, <4 x i32>* @v4i32_r
|
/external/llvm-project/llvm/test/CodeGen/Mips/msa/ |
D | inline-asm.ll | 5 @v4i32_r = global <4 x i32> zeroinitializer, align 16 12 store <4 x i32> %0, <4 x i32>* @v4i32_r 19 %0 = load <4 x i32>, <4 x i32>* @v4i32_r 22 store <4 x i32> %1, <4 x i32>* @v4i32_r 29 %0 = load <4 x i32>, <4 x i32>* @v4i32_r 32 store <4 x i32> %1, <4 x i32>* @v4i32_r
|
/external/llvm-project/clang/test/Sema/ |
D | vector-gcc-compat.cpp | 133 v4i32 v4i32_r; in floatTestConstantComparison() local 134 v4i32_r = v4f32_a > 0.4f; in floatTestConstantComparison() 135 v4i32_r = v4f32_a >= 0.4f; in floatTestConstantComparison() 136 v4i32_r = v4f32_a < 0.4f; in floatTestConstantComparison() 137 v4i32_r = v4f32_a <= 0.4f; in floatTestConstantComparison() 138 …v4i32_r = v4f32_a == 0.4f; // expected-warning {{comparing floating point with == or != is unsafe}} in floatTestConstantComparison() 139 …v4i32_r = v4f32_a != 0.4f; // expected-warning {{comparing floating point with == or != is unsafe}} in floatTestConstantComparison()
|
D | vector-gcc-compat.c | 135 v4i32 v4i32_r; in floatTestConstantComparison() local 136 v4i32_r = v4f32_a > 0.4f; in floatTestConstantComparison() 137 v4i32_r = v4f32_a >= 0.4f; in floatTestConstantComparison() 138 v4i32_r = v4f32_a < 0.4f; in floatTestConstantComparison() 139 v4i32_r = v4f32_a <= 0.4f; in floatTestConstantComparison() 140 …v4i32_r = v4f32_a == 0.4f; // expected-warning {{comparing floating point with == or != is unsafe}} in floatTestConstantComparison() 141 …v4i32_r = v4f32_a != 0.4f; // expected-warning {{comparing floating point with == or != is unsafe}} in floatTestConstantComparison()
|