aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/clzero.c
blob: 9a68a4928a894de418ac5feaf71e89e611b1c02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O2 -mclzero" } */

/* Verify that they work in both 32bit and 64bit.  */

#include <x86intrin.h>

void
foo (void *k)
{
   _mm_clzero (k);
}