diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-07 22:55:46 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-07 22:55:46 +0900 |
| commit | 4343e6891b7f2db5dbd9cc43078c45ce4aee025b (patch) | |
| tree | ce9cbfb0816f80a174c7afaefc91c2a7f2ff4e81 /problems | |
| parent | 92ea8ff9f471ec920a2ee4edc29560acd83f99c4 (diff) | |
| download | mncore-challenge-4343e6891b7f2db5dbd9cc43078c45ce4aee025b.tar.gz mncore-challenge-4343e6891b7f2db5dbd9cc43078c45ce4aee025b.tar.zst mncore-challenge-4343e6891b7f2db5dbd9cc43078c45ce4aee025b.zip | |
14-Matrix-Square
Diffstat (limited to 'problems')
| -rw-r--r-- | problems/14-Matrix-Square/02.vsm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/problems/14-Matrix-Square/02.vsm b/problems/14-Matrix-Square/02.vsm new file mode 100644 index 0000000..e4ca741 --- /dev/null +++ b/problems/14-Matrix-Square/02.vsm @@ -0,0 +1,17 @@ +hmwrite $llm0vr $ly0; hbfn/9 $llm0vr $lr0v +hmwrite $llm16vr $ly4; hbfn/9 $llm16vr $lr8v +hmwrite $llm32vr $ly8; hbfn/9 $llm32vr $lr16v +hmwrite $llm48vr $ly12; hbfn/9 $llm48vr $lr24v + +hmwrite $llr0v $llx0; hmread $lly0 $nowrite +hmwrite $llr16v $llx8; hmread $lly8 $nowrite; hbfn/9 $mreadf $lls0v +hbfn/9 $mreadf $llr0v + +hmmul $lx $ls0v $lln0v +hmmul $lx $ls8v $lln16v +hmmul $lx $lr0v $lln32v +hmmul $lx $lr8v $lln48v + +# BF, write to $x +# write to $y, read from $y^T, BF +# mmul |
