aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/builtins-1-be-folded.c
blob: 3cc487de2ffd25805c7bdb6911fc0d81d7091587 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target { powerpc-*-* } } } */
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */

/* Based on builtins-1-le.c ; ensure that the power8 builtins are accepted by
   the compiler, at O2 with gimple folding enabled.  */
/* Test that a number of newly added builtin overloads are accepted
   by the compiler.  */

/* The test code is in builtins-1.fold.h.  */
#include "builtins-1.fold.h"