From 875eb8c2d2c9ffa73d7ff1f481fa15b2f203308d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 10 Sep 2024 19:45:19 +0900 Subject: 11-Square-Sum --- problems/11-Square-Sum/04.vsm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 problems/11-Square-Sum/04.vsm (limited to 'problems') 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 -- cgit v1.2.3-70-g09d2