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
/
b2.S
1
# mach: bfin
2
3
#include "test.h"
4
.include "testutils.inc"
5
start
6
7
R0 = 0;
8
ASTAT = R0;
9
10
CC = BITTST ( R0 , 0x0 );
11
BITSET( R0 , 0x0 );
12
CC = BITTST ( R0 , 0x0 );
13
CC = ! BITTST( R0 , 0x0 );
14
R1.L = 1;
15
R1.H = 0;
16
CC = R0 == R1;
17
CC = BITTST ( R0 , 0x1 );
18
R5 = ASTAT;
19
CHECKREG R5, (_AC0|_AC0_COPY|_AZ)
20
21
BITSET( R0 , 0x1 );
22
R5 = ASTAT;
23
CHECKREG R5, 0
24
CC = BITTST ( R0 , 0x1 );
25
CC = ! BITTST( R0 , 0x1 );
26
pass