summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/direct-move-double1.c
blob: 534a04a937b5b0c7eb710e7a58b88d2d76a3a9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-options "-mcpu=power8 -O2" } */
/* { dg-final { scan-assembler-times "mtvsrd" 1 } } */
/* { dg-final { scan-assembler-times "mfvsrd" 1 } } */

/* Check code generation for direct move for long types.  */

#define TYPE double
#define IS_FLOAT 1
#define NO_ALTIVEC 1

#include "direct-move.h"