aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-09-09 07:17:31 +0900
committernsfisis <nsfisis@gmail.com>2024-09-09 07:17:31 +0900
commit9dbbf8455b7a987d001281ce9056e99c0491a033 (patch)
treeac0de4f0dc15c0f2ca5331ebf56d0ef7f2993cf3
parente3d66e5bb8fc35a7acb45e8724153e0baad4fb09 (diff)
downloadmncore-challenge-9dbbf8455b7a987d001281ce9056e99c0491a033.tar.gz
mncore-challenge-9dbbf8455b7a987d001281ce9056e99c0491a033.tar.zst
mncore-challenge-9dbbf8455b7a987d001281ce9056e99c0491a033.zip
10-Gather
-rw-r--r--problems/10-Gather/03.vsm2
-rw-r--r--problems/10-Gather/04.vsm8
2 files changed, 9 insertions, 1 deletions
diff --git a/problems/10-Gather/03.vsm b/problems/10-Gather/03.vsm
index 592b02d..cb3eb51 100644
--- a/problems/10-Gather/03.vsm
+++ b/problems/10-Gather/03.vsm
@@ -1,4 +1,4 @@
-imm i"3" $ls8
+imm i"3" $nowrite
llsl $subpeid $aluf $t
nop
lpackbit $lmt2048v $ls0 $t
diff --git a/problems/10-Gather/04.vsm b/problems/10-Gather/04.vsm
new file mode 100644
index 0000000..900b3d0
--- /dev/null
+++ b/problems/10-Gather/04.vsm
@@ -0,0 +1,8 @@
+lpackbit $subpeid $ls0 $t
+nop
+lpackbit $lmt[2048,2056,2064,2072] $ls0 $t
+nop
+lpassa $lmt0 $ln[0,8,16,24]
+msr $aluf $ln[2,10,18,26]
+msr $aluf $ln[4,12,20,28]
+msr $aluf $ln[6,14,22,30]