aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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]