-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmult44tablerot.s
23 lines (21 loc) · 1.31 KB
/
mult44tablerot.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; We also can use this separate rotated multiply table to avoid having to
; rotate the partial products P1 and P2 before storing them into the partial
; accum registers. The questio nof wherever such a micro-optimization is worth
; it will only be aswered later.
mult44tablerot:
dcb $0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,$0,
dcb $0,$10,$20,$30,$40,$50,$60,$70,$80,$90,$a0,$b0,$c0,$d0,$e0,$f0,
dcb $0,$20,$40,$60,$80,$a0,$c0,$e0,$1,$21,$41,$61,$81,$a1,$c1,$e1,
dcb $0,$30,$60,$90,$c0,$f0,$21,$51,$81,$b1,$e1,$12,$42,$72,$a2,$d2,
dcb $0,$40,$80,$c0,$1,$41,$81,$c1,$2,$42,$82,$c2,$3,$43,$83,$c3,
dcb $0,$50,$a0,$f0,$41,$91,$e1,$32,$82,$d2,$23,$73,$c3,$14,$64,$b4,
dcb $0,$60,$c0,$21,$81,$e1,$42,$a2,$3,$63,$c3,$24,$84,$e4,$45,$a5,
dcb $0,$7,$e,$15,$1c,$23,$2a,$31,$38,$3f,$46,$4d,$54,$5b,$62,$69,
dcb $0,$8,$10,$18,$20,$28,$30,$38,$40,$48,$50,$58,$60,$68,$70,$78,
dcb $0,$9,$12,$1b,$24,$2d,$36,$3f,$48,$51,$5a,$63,$6c,$75,$7e,$87,
dcb $0,$a,$14,$1e,$28,$32,$3c,$46,$50,$5a,$64,$6e,$78,$82,$8c,$96,
dcb $0,$b,$16,$21,$2c,$37,$42,$4d,$58,$63,$6e,$79,$84,$8f,$9a,$a5,
dcb $0,$c,$18,$24,$30,$3c,$48,$54,$60,$6c,$78,$84,$90,$9c,$a8,$b4,
dcb $0,$d,$1a,$27,$34,$41,$4e,$5b,$68,$75,$82,$8f,$9c,$a9,$b6,$c3,
dcb $0,$e,$1c,$2a,$38,$46,$54,$62,$70,$7e,$8c,$9a,$a8,$b6,$c4,$d2,
dcb $0,$f,$1e,$2d,$3c,$4b,$5a,$69,$78,$87,$96,$a5,$b4,$c3,$d2,$e1