blob: 6a49e1d029c0e00d42d486ee6cf3d52f62a859d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* Verify that overloaded built-ins for vec_neg with long long
inputs produce the right code. */
/* { dg-do compile } */
/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
/* { dg-require-effective-target powerpc_vsx } */
#include "fold-vec-neg-longlong.h"
/* { dg-final { scan-assembler-times "xxspltib|vspltisw" 1 } } */
/* { dg-final { scan-assembler-times "vsubudm" 1 } } */
/* { dg-final { scan-assembler-times "vmaxsd" 0 } } */
|