1 # sh testcase for mac.l
3 # as(sh): -defsym sim_cpu=0
4 # as(shdsp): -defsym sim_cpu=1 -dsp
6 .include "testutils.inc"
13 # Prime {MACL, MACH} to #1.
18 mov.
l pfour00
, r0 ! 85
19 mov.
l pfour12
, r1 ! 17
27 assert_sreg
85*17+1, macl
29 # Ensure post-increment occurred.
31 assertreg four12+
4, r1