diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-09-13 22:33:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-09-13 22:33:34 +0900 |
| commit | b5fb29b51ac43dff788a98b8dadde58efed334f3 (patch) | |
| tree | e06ce2bc2d90f8d677fd7f54a0c04661c964ad8e /problems/04-Mul-7/02.vsm | |
| parent | 4f80354f985a41458affecfc708dc3355083d7ba (diff) | |
| download | mncore-challenge-b5fb29b51ac43dff788a98b8dadde58efed334f3.tar.gz mncore-challenge-b5fb29b51ac43dff788a98b8dadde58efed334f3.tar.zst mncore-challenge-b5fb29b51ac43dff788a98b8dadde58efed334f3.zip | |
04-Mul-7 (incomplete)
Diffstat (limited to 'problems/04-Mul-7/02.vsm')
| -rw-r--r-- | problems/04-Mul-7/02.vsm | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/problems/04-Mul-7/02.vsm b/problems/04-Mul-7/02.vsm index ebaa382..5e1b22f 100644 --- a/problems/04-Mul-7/02.vsm +++ b/problems/04-Mul-7/02.vsm @@ -104,3 +104,57 @@ nop/2 dvfmau $lm0v $ls6 -$lr12 $nowrite dvfmad $lm0v $ls6 $mauf $nowrite dftoi $mauf $ln0v + + + +imm i"3" $s1v2 +llsl; fvpassa +lsub; fvpassa +llsl; dvfmau +lsub; dvfmad +dftoi; dvfmau +dvfmad +dftoi + + +########################################### + +imm f"8388608" $s0v +imm f"7.0" $r0v +imm f"58720256" $s4v + +ior $lm0v $ls0 $nowrite +fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln0v + +ior $lm8v $ls0 $nowrite +fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln8v + +ior $lm16v $ls0 $nowrite +fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln16v + +ior $lm24v $ls0 $nowrite +fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln24v + +########################################### + +imm f"8388608" $t +imm f"7.0" $r0v +imm f"58720256" $s4v + +ior $lm0v $t $nowrite +ior $lm8v $t $nowrite; fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln0v; fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln8v + +ior $lm16v $t $nowrite +ior $lm24v $t $nowrite; fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln16v; fvfma $aluf $lr0 -$ls4 $nowrite +fftoi $mauf $ln24v + +########################################### + +# TODO: 7 lines の内訳考える |
