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
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
mips
/
truncate-4.c
blob
2958be8de1e76d681f1e174649dbd5b2a723ff13
1
/* The and is performed in DI mode so there is no need for truncation. */
2
/* { dg-options "-O -mgp64" } */
3
/* { dg-final { scan-assembler-not "\tsll\t" } } */
4
5
unsigned long long
6
f
(
unsigned long long
s
)
7
{
8
unsigned
u
=
s
&
0xfff
;
9
return
u
;
10
}