summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr32280-1.c
blob: e8619fa7eb7469cfe7708b0b1f10fc71e034d44d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-require-effective-target int128 } */
/* { dg-options "-O2" } */

__uint128_t
t1 (__uint128_t a)
{
  return a << 8;
}

__uint128_t
t2 (__uint128_t a)
{
  return a >> 8;
}

/* { dg-final { scan-assembler-not "pslldq" } } */
/* { dg-final { scan-assembler-not "psrldq" } } */