[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / bfp / scalar-insert-exp-0.c
blobd8243258a67335c6b98fc00d89730c5cabcba988
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-require-effective-target powerpc_p9vector_ok } */
4 /* { dg-options "-mdejagnu-cpu=power9" } */
6 /* This test should succeed only on 64-bit configurations. */
7 #include <altivec.h>
9 double
10 insert_exponent (unsigned long long int *significand_p,
11 unsigned long long int *exponent_p)
13 unsigned long long int significand = *significand_p;
14 unsigned long long int exponent = *exponent_p;
16 return scalar_insert_exp (significand, exponent);
19 /* { dg-final { scan-assembler "xsiexpdp" } } */