mirror of
https://github.com/open-goal/jak-project
synced 2026-09-12 20:56:09 -04:00
[decompiler] Working toward bsp (#717)
* clean up * before int to float stuff * before trying to eliminate the separate read and write maps * partial fix for register issues * add missing include
This commit is contained in:
@@ -997,7 +997,7 @@
|
||||
;; definition for function vector-degi
|
||||
;; Used lq/sq
|
||||
(defun vector-degi ((arg0 vector) (arg1 vector))
|
||||
(local-vars (v1-0 float) (v1-1 int))
|
||||
(local-vars (v1-0 uint128) (v1-1 uint128))
|
||||
(rlet ((vf1 :class vf))
|
||||
(.lvf vf1 (&-> arg1 quad))
|
||||
(.ftoi.vf vf1 vf1)
|
||||
@@ -1025,7 +1025,7 @@
|
||||
|
||||
;; definition for function vector-degmod
|
||||
(defun vector-degmod ((arg0 vector) (arg1 vector))
|
||||
(local-vars (v1-0 float) (v1-1 int) (v1-2 int))
|
||||
(local-vars (v1-0 uint128) (v1-1 uint128) (v1-2 uint128))
|
||||
(rlet ((vf1 :class vf))
|
||||
(.lvf vf1 (&-> arg1 quad))
|
||||
(.ftoi.vf vf1 vf1)
|
||||
@@ -1044,12 +1044,12 @@
|
||||
(defun vector-deg-diff ((arg0 vector) (arg1 vector) (arg2 vector))
|
||||
(local-vars
|
||||
(v0-0 float)
|
||||
(v1-0 float)
|
||||
(v1-1 int)
|
||||
(v1-2 int)
|
||||
(v1-3 int)
|
||||
(a1-1 float)
|
||||
(a1-2 int)
|
||||
(v1-0 uint128)
|
||||
(v1-1 uint128)
|
||||
(v1-2 uint128)
|
||||
(v1-3 uint128)
|
||||
(a1-1 uint128)
|
||||
(a1-2 uint128)
|
||||
)
|
||||
(rlet ((vf1 :class vf)
|
||||
(vf2 :class vf)
|
||||
|
||||
Reference in New Issue
Block a user