From 6e0091b99e1a092c5cc22de603177d5ff5a4b087 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 7 Sep 2024 01:54:48 +0900 Subject: 11-Square-Sum --- problems/11-Square-Sum/03.vsm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 problems/11-Square-Sum/03.vsm diff --git a/problems/11-Square-Sum/03.vsm b/problems/11-Square-Sum/03.vsm new file mode 100644 index 0000000..a85e53c --- /dev/null +++ b/problems/11-Square-Sum/03.vsm @@ -0,0 +1,18 @@ +imm i"4" $nowrite +llsl $mabid $aluf $t # t=16*mab +nop + +dvmulu $lmt0v $lmt0v $nowrite +dvfmad $lmt0v $lmt0v $mauf $nowrite +dvmulu $lmt8v $lmt8v $ls0v; l1bmrdfadd $mauf $lb0 +dvfmad $lmt8v $lmt8v $mauf $ls0v + +l1bmm $lbi $lm256v +l1bmrdfadd $ls0v $lb0 +l1bmm $lbi $lm264v + +lpackbit $mabid $ls256 $t +nop + +l1bmrdfadd $lmt256v $lb0 +l1bmm $lbi $ln0v -- cgit v1.2.3-70-g09d2