blob: 2a864af76d0de3b67b34a831054b2d9187124295 [file] [log] [blame]
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
/* Should be done as "andw $32767, magic". */
unsigned short magic;
t()
{
magic%=(unsigned short)0x8000U;
}