Skip to content

Commit f14a124

Browse files
committed
phoebewang comment
1 parent b1f12e0 commit f14a124

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/CodeGen/target-builtin-noerror.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ int qq(void) {
3232

3333
// Test that fma and fma4 are both separately and combined valid for an fma intrinsic.
3434
__m128 __attribute__((target("fma"))) fma_1(__m128 a, __m128 b, __m128 c) {
35-
return __builtin_elementwise_fma(a, b, c);
35+
return __builtin_ia32_vfmaddsubps(a, b, c);
3636
}
3737

3838
__m128 __attribute__((target("fma4"))) fma_2(__m128 a, __m128 b, __m128 c) {
39-
return __builtin_elementwise_fma(a, b, c);
39+
return __builtin_ia32_vfmaddsubps(a, b, c);
4040
}
4141

4242
__m128 __attribute__((target("fma,fma4"))) fma_3(__m128 a, __m128 b, __m128 c) {
43-
return __builtin_elementwise_fma(a, b, c);
43+
return __builtin_ia32_vfmaddsubps(a, b, c);
4444
}
4545

4646
void verifyfeaturestrings(void) {

0 commit comments

Comments
 (0)