summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/wide-shift-128.c
blob: d769833af04f9f4b47938fc9b5dbccf4350ed8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target aarch64*-*-* mips64*-*-* sparc64*-*-* } } */
/* { dg-require-effective-target int128 } */
/* { dg-options "-O2 -fdump-rtl-combine" } */

__int128_t
load2 (int data)
{
    return (__int128_t) data << 50;
}

/* { dg-final { scan-rtl-dump-not "ior" "combine" } } */