aboutsummaryrefslogtreecommitdiffhomepage
path: root/problems/11-Square-Sum/06.vsm
diff options
context:
space:
mode:
Diffstat (limited to 'problems/11-Square-Sum/06.vsm')
-rw-r--r--problems/11-Square-Sum/06.vsm12
1 files changed, 12 insertions, 0 deletions
diff --git a/problems/11-Square-Sum/06.vsm b/problems/11-Square-Sum/06.vsm
new file mode 100644
index 0000000..cef4384
--- /dev/null
+++ b/problems/11-Square-Sum/06.vsm
@@ -0,0 +1,12 @@
+lpackbit $mabid $ln0 $t # t = 2 x mab
+nop
+dvmulu $lmt0v32 $lmt0v32 $nowrite
+dvfmad $lmt0v32 $lmt0v32 $mauf $nowrite
+dvfmau $lmt128v32 $lmt128v32 $mauf $nowrite
+dvfmad $lmt128v32 $lmt128v32 $mauf $nowrite
+l1bmrdfadd $mauf $lbi
+l1bmm $lbi $lm256v
+nop
+nop
+l1bmrdfadd $lmt256v $lbi
+l1bmm $lbi $ln0v