mirror of
https://github.com/ptitSeb/box64.git
synced 2024-12-02 11:39:14 +00:00
Fixed float complex handling as parameter
This commit is contained in:
parent
ae34c7e1cc
commit
5c2f62657f
@ -1094,7 +1094,7 @@ def main(root: str, files: Iterable[Filename], ver: str):
|
||||
vreg = [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1, 2, 2, 0, 1, 0, 0]
|
||||
# vxmm: value is in a XMM register
|
||||
# E v c w i I C W u U f d D K l L p V O S N M H P A x X
|
||||
vxmm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2]
|
||||
vxmm = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2]
|
||||
# vother: value is elsewere
|
||||
# E v c w i I C W u U f d D K l L p V O S N M H P A x X
|
||||
vother = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
|
@ -12,7 +12,7 @@ typedef struct complexf_s { float r; float i;} complexf_t;
|
||||
inline complexf_t to_complexf(x64emu_t* emu, int i) {
|
||||
complexf_t ret;
|
||||
ret.r = emu->xmm[i].f[0];
|
||||
ret.i = emu->xmm[i+1].f[0];
|
||||
ret.i = emu->xmm[i].f[1];
|
||||
return ret;
|
||||
}
|
||||
inline complex_t to_complex(x64emu_t* emu, int i) {
|
||||
|
Loading…
Reference in New Issue
Block a user