[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / divkc3-2.c
blobe34ed40bac21953cc3ecf6a098c95007d490b7d0
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_p8vector_ok } */
3 /* { dg-require-effective-target longdouble128 } */
4 /* { dg-options "-O2 -mpower8-vector -mabi=ieeelongdouble -Wno-psabi" } */
6 /* Check that complex multiply generates the right call when long double is
7 IEEE 128-bit floating point. */
9 typedef _Complex long double cld_t;
11 void
12 divide (cld_t *p, cld_t *q, cld_t *r)
14 *p = *q / *r;
17 /* { dg-final { scan-assembler "bl __divkc3" } } */