blob: 99296b1d86c93d1fe6a22a705154a97e5cc21c82 [file] [log] [blame]
/* APPLE LOCAL file mainline */
/* { 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". */
static unsigned short magic;
void t(void)
{
magic%=(unsigned short)0x8000U;
}