1# m32r testcase for st $src1,@+$src2 2# mach(): m32r m32rx 3 4 .include "testutils.inc" 5 6 start 7 8 .global st_plus 9st_plus: 10 mvaddr_h_gr r4, data_loc 11 mvi_h_gr r5, 1 12 13 st r5, @+r4 14 15 mvaddr_h_gr r5, data_loc2 16 17 bne r4, r5, not_ok 18 ld r4, @r4 19 test_h_gr r4, 1 20 21 pass 22not_ok: 23 fail 24 25data_loc: 26 .word 0 27data_loc2: 28 .word 0 29