aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/11-Square-Sum/04.vsm
blob: e5d7b5fec484bcbdc178f071e1d9f285d2125bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
lpackbit $mabid $ln0 $t   # t=2*mab
nop

dvmulu $lmt0v32 $lmt0v32 $nowrite
dvfmad $lmt0v32 $lmt0v32 $mauf $nowrite
dvmulu $lmt128v32 $lmt128v32 $nowrite; l1bmrdfadd $mauf $lb0
dvfmad $lmt128v32 $lmt128v32 $mauf $nowrite; l1bmm $lbi $nowrite

lpassa $lbf $lm256v; l1bmrdfadd $mauf $lb0
l1bmm $lbi $lm264v

lpackbit $mabid $ls256 $t
nop

l1bmrdfadd $lmt256v $lb0
l1bmm $lbi $ln0v