]>
Commit | Line | Data |
---|---|---|
c906108c SS |
1 | # m32r testcase for addv $dr,$sr |
2 | # mach(): m32r m32rx | |
3 | ||
4 | .include "testutils.inc" | |
5 | ||
6 | start | |
7 | ||
8 | .global addv | |
9 | addv: | |
10 | mvi_h_condbit 0 | |
11 | mvi_h_gr r4, 0x80000000 | |
12 | mvi_h_gr r5, 0x80000000 | |
13 | ||
14 | addv r4, r5 | |
15 | ||
16 | bnc not_ok | |
17 | test_h_gr r4, 0 | |
18 | ||
19 | pass | |
20 | not_ok: | |
21 | fail |