aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-09 08:18:47 +0900
committernsfisis <nsfisis@gmail.com>2024-09-09 08:21:04 +0900
commitdfef388b4ba6d37a173532929adadd2389c14201 (patch)
treebddb75eeddc017e991709896133dbe9c2feffa85
parent9dbbf8455b7a987d001281ce9056e99c0491a033 (diff)
downloadmncore-challenge-dfef388b4ba6d37a173532929adadd2389c14201.tar.gz
mncore-challenge-dfef388b4ba6d37a173532929adadd2389c14201.tar.zst
mncore-challenge-dfef388b4ba6d37a173532929adadd2389c14201.zip
10-Gather
-rw-r--r--problems/10-Gather/05.vsm8
-rw-r--r--problems/10-Gather/06.vsm6
2 files changed, 14 insertions, 0 deletions
diff --git a/problems/10-Gather/05.vsm b/problems/10-Gather/05.vsm
new file mode 100644
index 0000000..93e7616
--- /dev/null
+++ b/problems/10-Gather/05.vsm
@@ -0,0 +1,8 @@
+lpackbit $lm2048v4j0 $ls0 $t
+lpackbit $lm2064v4j0 $ls0 $nowrite
+dvpassa $lmt0 $ln0v4j0 $lr0v; lpassa $aluf $t
+nop
+dvpassa $lmt0 $ln16v4j0 $lr8v
+
+msr $lr0v $ln[0,4,8,12]
+msr $lr8v $ln[16,20,24,28]
diff --git a/problems/10-Gather/06.vsm b/problems/10-Gather/06.vsm
new file mode 100644
index 0000000..43a865c
--- /dev/null
+++ b/problems/10-Gather/06.vsm
@@ -0,0 +1,6 @@
+lpackbit $lm2048v4j0 $ls0 $t
+lpackbit $lm2064v4j0 $ls0 $nowrite
+dvpassa $lmt0 $ln0v4j0; lpassa $aluf $t
+msr $mauf $ln0v4
+dvpassa $lmt0 $ln16v4j0
+msr $mauf $ln16v4