repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
i386-mul.c
blob
2a864af76d0de3b67b34a831054b2d9187124295
1
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -march=k8" } */
3
/* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
4
5
/* Should be done as "andw $32767, magic". */
6
unsigned short
magic
;
7
t
()
8
{
9
magic
%=(
unsigned short
)
0x8000
U
;
10
}