blob: f3df6993c0bdbd2f3670626da51b5d20c933ff66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* Verify that overloaded built-ins for vec_cmp{eq,ge,gt,le,lt,ne} with
char inputs produce the right code when -mcpu=power8 is specified. */
/* { dg-do compile } */
/* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
/* { dg-require-effective-target powerpc_vsx } */
#include "fold-vec-cmp-char.h"
/* { dg-final { scan-assembler-times "vcmpequb" 4 } } */
/* { dg-final { scan-assembler-times "vcmpgtsb" 4 } } */
/* { dg-final { scan-assembler-times "vcmpgtub" 4 } } */
/* { dg-final { scan-assembler-times "xxlnor" 6 } } */
|