diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-05 08:37:23 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-05 08:37:23 +0900 |
| commit | a535c53104e8355d4a3e51419c29b1e2efa582e6 (patch) | |
| tree | be69aa988954d1d161fad5a848d39582010ccb08 /problems | |
| parent | 132dcf7f637a570639681b5f57fe76ab66921a61 (diff) | |
| download | mncore-challenge-a535c53104e8355d4a3e51419c29b1e2efa582e6.tar.gz mncore-challenge-a535c53104e8355d4a3e51419c29b1e2efa582e6.tar.zst mncore-challenge-a535c53104e8355d4a3e51419c29b1e2efa582e6.zip | |
11-Square-Sum
Diffstat (limited to 'problems')
| -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 |
