diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-10 19:45:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-10 19:45:19 +0900 |
| commit | 875eb8c2d2c9ffa73d7ff1f481fa15b2f203308d (patch) | |
| tree | 4dacc22efeb0d06c870cc8c3766eaf69a3a4f6dc /problems | |
| parent | d1d6718f4fcdf3ac36403295d0cccde086fba0a3 (diff) | |
| download | mncore-challenge-875eb8c2d2c9ffa73d7ff1f481fa15b2f203308d.tar.gz mncore-challenge-875eb8c2d2c9ffa73d7ff1f481fa15b2f203308d.tar.zst mncore-challenge-875eb8c2d2c9ffa73d7ff1f481fa15b2f203308d.zip | |
11-Square-Sum
Diffstat (limited to 'problems')
| -rw-r--r-- | problems/11-Square-Sum/04.vsm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/problems/11-Square-Sum/04.vsm b/problems/11-Square-Sum/04.vsm new file mode 100644 index 0000000..e5d7b5f --- /dev/null +++ b/problems/11-Square-Sum/04.vsm @@ -0,0 +1,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 |
