]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/m32r/addv.cgs
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / m32r / addv.cgs
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