diff options
| author | John "Lameguy" Wilbert Villamor <lameguy64@gmail.com> | 2022-11-03 10:14:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-03 10:14:22 +0800 |
| commit | 4139331d233b7a962e747c5564fa68a285f81cc8 (patch) | |
| tree | d4d3374afd5e36e8580cc424ab2c63ee9e7d357c /libpsn00b/psxgte/scalematrixl.s | |
| parent | e08a3d9366f8ca14a76b3dd569dac1fb9f569748 (diff) | |
| parent | 37d963f724113e45d15aa9b8ee86baa9c4362b8f (diff) | |
| download | psn00bsdk-4139331d233b7a962e747c5564fa68a285f81cc8.tar.gz | |
Merge pull request #60 from spicyjpeg/bugfix
Bugfixes, new serial port API and sound examples
Diffstat (limited to 'libpsn00b/psxgte/scalematrixl.s')
| -rw-r--r-- | libpsn00b/psxgte/scalematrixl.s | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/libpsn00b/psxgte/scalematrixl.s b/libpsn00b/psxgte/scalematrixl.s deleted file mode 100644 index 53c2d14..0000000 --- a/libpsn00b/psxgte/scalematrixl.s +++ /dev/null @@ -1,68 +0,0 @@ -.set noreorder - -.include "gtereg.inc" -.include "inline_s.inc" - -.section .text - - -.global ScaleMatrixL -.type ScaleMatrixL, @function -ScaleMatrixL: - - lwc2 C2_IR0, 0($a1) # X - - lh $v0, 2*(0+(3*0))($a0) - lh $v1, 2*(1+(3*0))($a0) - mtc2 $v0, C2_IR1 - lh $v0, 2*(2+(3*0))($a0) - mtc2 $v1, C2_IR2 - mtc2 $v0, C2_IR3 - - nGPF(1) - - mfc2 $v0, C2_IR1 - mfc2 $v1, C2_IR2 - sh $v0, 2*(0+(3*0))($a0) - mfc2 $v0, C2_IR3 - sh $v1, 2*(1+(3*0))($a0) - sh $v0, 2*(2+(3*0))($a0) - - lwc2 C2_IR0, 4($a1) # Y - - lh $v0, 2*(0+(3*1))($a0) - lh $v1, 2*(1+(3*1))($a0) - mtc2 $v0, C2_IR1 - lh $v0, 2*(2+(3*1))($a0) - mtc2 $v1, C2_IR2 - mtc2 $v0, C2_IR3 - - nGPF(1) - - mfc2 $v0, C2_IR1 - mfc2 $v1, C2_IR2 - sh $v0, 2*(0+(3*1))($a0) - mfc2 $v0, C2_IR3 - sh $v1, 2*(1+(3*1))($a0) - sh $v0, 2*(2+(3*1))($a0) - - lwc2 C2_IR0, 8($a1) # Z - - lh $v0, 2*(0+(3*2))($a0) - lh $v1, 2*(1+(3*2))($a0) - mtc2 $v0, C2_IR1 - lh $v0, 2*(2+(3*2))($a0) - mtc2 $v1, C2_IR2 - mtc2 $v0, C2_IR3 - - nGPF(1) - - mfc2 $v0, C2_IR1 - mfc2 $v1, C2_IR2 - sh $v0, 2*(0+(3*2))($a0) - mfc2 $v0, C2_IR3 - sh $v1, 2*(1+(3*2))($a0) - sh $v0, 2*(2+(3*2))($a0) - - jr $ra - move $v0, $a0 |
