re PR target/84914 (PowerPC complex multiply/divide calls the wrong function when...
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / mulkc3-2.c
blob9ba577a0cc33ff026659d5b5243cb94527639044
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_p8vector_ok } */
3 /* { dg-options "-O2 -mpower8-vector -mabi=ieeelongdouble -Wno-psabi" } */
5 /* Check that complex multiply generates the right call when long double is
6 IEEE 128-bit floating point. */
8 typedef _Complex long double cld_t;
10 void
11 multiply (cld_t *p, cld_t *q, cld_t *r)
13 *p = *q * *r;
16 /* { dg-final { scan-assembler "bl __mulkc3" } } */