projects
/
deliverable
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
sim: bfin: import testsuite
[deliverable/binutils-gdb.git]
/
sim
/
testsuite
/
sim
/
bfin
/
mac2halfreg.S
1
# mach: bfin
2
3
#include "test.h"
4
.include "testutils.inc"
5
start
6
7
init_r_regs 0;
8
ASTAT = R0;
9
10
r3.h=0x8000;
11
r2.h=0x8000;
12
r7=0;
13
r6.l=0x7f;
14
a0.x=r6.l;
15
r6.h=0x7fff;
16
r6.l=0xffff;
17
a0.w=r6;
18
_dbg a0;
19
r3.l=(a0+=r3.h*r2.h);
20
r7=ASTAT;
21
_dbg A0;
22
_dbg r3;
23
_dbg ASTAT;
24
//AV0 does not overflow
25
checkreg r7, (_VS|_V|_V_COPY);
26
27
pass
This page took
0.030136 seconds
and
4
git commands to generate.