diff options
Diffstat (limited to 'problems/11-Square-Sum/02.vsm')
| -rw-r--r-- | problems/11-Square-Sum/02.vsm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/problems/11-Square-Sum/02.vsm b/problems/11-Square-Sum/02.vsm new file mode 100644 index 0000000..28af088 --- /dev/null +++ b/problems/11-Square-Sum/02.vsm @@ -0,0 +1,22 @@ +imm i"4" $nowrite +llsl $mabid $aluf $t +nop + +lpassa $llmt0v $llr0v # $lm[16mab+0,...,16mab+14] +nop + +dvmulu $lmt0v $lr0v $ls0v +dvfmad $lmt0v $lr0v $mauf $ls0v +dvmulu $lmt8v $lr8v $ls8v +dvfmad $lmt8v $lr8v $mauf $ls8v + +l1bmrdfadd $ls0v $lb0 +l1bmm $lbi $lm256v +l1bmrdfadd $ls8v $lb0 +l1bmm $lbi $lm264v + +lpackbit $mabid $ls256 $t +nop + +l1bmrdfadd $lmt256v $lb0 +l1bmm $lbi $ln0v |
