OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
sim: bfin: import testsuite
[pf3gnuchains/pf3gnuchains4x.git]
/
sim
/
testsuite
/
sim
/
bfin
/
issue109.s
1
//Statement of problem...
2
//16-bit ashift and lshift uses a 6-bit signed magnitude, which gives a
3
//range from -32 to 31. test the boundary.
4
# mach: bfin
5
6
.include "testutils.inc"
7
start
8
9
10
R1.L = 0x8000;
11
R0.L = -32;
12
R2.L = ASHIFT R1.L BY R0.L;
13
14
DBGA ( R2.L , 0xffff );
15
16
pass