decomp: eye (#778)

* decomp: `eye` close just need a pile of casts for the rendering code

* stash

* decomp: `eye` mostly cleaned up, xmm reg issue with `pextlb`

* waitin

* update ref tests and gsrc

* update reference tests
This commit is contained in:
Tyler Wilding
2022-02-12 22:39:25 -05:00
committed by GitHub
parent ffb04ddd10
commit bf11ef3934
20 changed files with 2629 additions and 2559 deletions
+7 -6
View File
@@ -92,7 +92,7 @@
)
;; definition for function stopwatch-stop
;; INFO: Return type mismatch int vs uint.
;; INFO: Return type mismatch int vs none.
;; WARN: Unsupported inline assembly instruction kind - [mfc0 a1, Count]
(defun stopwatch-stop ((arg0 stopwatch))
(local-vars (a1-0 int))
@@ -102,7 +102,8 @@
(.mfc0 a1-0 Count)
(+! (-> arg0 prev-time-elapsed) (- (the-as time-frame a1-0) (-> arg0 start-time)))
)
(the-as uint 0)
0
(none)
)
;; definition for function stopwatch-begin
@@ -119,7 +120,7 @@
)
;; definition for function stopwatch-end
;; INFO: Return type mismatch int vs uint.
;; INFO: Return type mismatch int vs none.
;; WARN: Unsupported inline assembly instruction kind - [mfc0 a1, Count]
(defun stopwatch-end ((arg0 stopwatch))
(local-vars (a1-0 int))
@@ -129,11 +130,11 @@
(.mfc0 a1-0 Count)
(+! (-> arg0 prev-time-elapsed) (- (the-as time-frame a1-0) (-> arg0 start-time)))
)
(the-as uint 0)
0
(none)
)
;; definition for function stopwatch-elapsed-ticks
;; INFO: Return type mismatch time-frame vs uint.
;; WARN: Unsupported inline assembly instruction kind - [mfc0 v1, Count]
(defun stopwatch-elapsed-ticks ((arg0 stopwatch))
(local-vars (v1-3 int))
@@ -143,7 +144,7 @@
(.mfc0 v1-3 Count)
(+! v0-0 (- (the-as time-frame v1-3) (-> arg0 start-time)))
)
(the-as uint v0-0)
v0-0
)
)