AVR: Outsource code for avr-specific passes to new avr-passes.cc.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / bfp / scalar-insert-exp-0.c
blobc26f77975f5f954244096487285102e4d5b8f298
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
4 /* { dg-require-effective-target has_arch_ppc64 } */
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" } } */