projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support R_SPARC_WDISP10 and R_SPARC_H34.
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
bfin
/
issue142.s
1
# mach: bfin
2
3
.include "testutils.inc"
4
start
5
6
// load acc with values;
7
imm32 R0, 0x7d647b42;
8
A0.w = R0;
9
R0 = 0x0000 (Z);
10
A0.x = R0;
11
12
imm32 R0, 0x7be27f50;
13
A1.w = R0;
14
R0 = 0x0000 (Z);
15
A1.x = R0;
16
17
// load regs with values;
18
I1 = 0 (X);
19
I0 = 1 (X);
20
imm32 R2, 0xefef1212;
21
imm32 R3, 0xf23c0189;
22
23
SAA ( R3:2 , R3:2 ) (R);
24
25
R0 = A0.w
26
CHECKREG R0, 0x7d9f7bca;
27
R0 = A0.x
28
CHECKREG R0, 0;
29
R1 = A1.w;
30
CHECKREG R1, 0x7cc28006;
31
R1 = A1.x;
32
CHECKREG R1, 0;
33
34
pass