2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-mul.c
blob2a864af76d0de3b67b34a831054b2d9187124295
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
5 /* Should be done as "andw $32767, magic". */
6 unsigned short magic;
7 t()
9 magic%=(unsigned short)0x8000U;