3 # sim: --environment operating
9 ;; The d10v implements negated addition for subtraction
11 .macro check_sub2w s x y r c v
53 check_sub2w
1 0x00000000 0x00000000 0x00000000 1 0
54 check_sub2w
2 0x00000000 0x00000001 0xffffffff 0 0
55 check_sub2w
3 0x00000001 0x00000000 0x00000001 1 0
56 check_sub2w
3 0x00000001 0x00000001 0x00000000 1 0
57 check_sub2w
5 0x00000000 0x80000000 0x80000000 0 1
58 check_sub2w
6 0x80000000 0x00000001 0x7fffffff 1 1
59 check_sub2w
7 0x7fffffff 0x7fffffff 0x00000000 1 0