1# m32r testcase for addv $dr,$sr
2# mach(): m32r m32rx
3
4 .include "testutils.inc"
5
6 start
7
8 .global addv
9addv:
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
20not_ok:
21 fail
22