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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
xopt.c
blob
b1a50f86cef2c0092649dab03ab5ea865fb3125f
1
proc1
(
a
)
2
unsigned
a
;
3
{
4
return
(
a
>>
20
) &
0x010fffff
;
5
}
6
7
proc2
(
a
)
8
unsigned
a
;
9
{
10
return
(
a
<<
17
) &
0xfffff001
;
11
}
12
13
proc3
(
a
)
14
unsigned
a
;
15
{
16
return
(
a
&
0xff00000a
) >>
25
;
17
}
18
19
proc4
(
a
)
20
unsigned
a
;
21
{
22
return
(
a
&
0x100000ff
) <<
25
;
23
}
24
25
proc5
(
a
)
26
unsigned
a
;
27
{
28
return
(
unsigned char
) (
a
>>
24
);
29
}
30
31
proc6
(
a
)
32
unsigned
a
;
33
{
34
return
((
unsigned char
)
a
) <<
30
;
35
}