fixed floating point conversion errors

This commit is contained in:
David Welch
2012-06-16 01:29:57 -04:00
parent 7569f21dcf
commit 267b154b8e

View File

@@ -94,7 +94,9 @@ m4add:
.globl m4ftoi
m4ftoi:
vmov s0,r0
vcvt.s32.f32 s2,s0
;@ vcvt.s32.f32 s2,s0
;@ftosis s2,s0
vcvtr.s32.f32 s2,s0
vmov r0,s2
bx lr
@@ -107,4 +109,7 @@ m4itof:
bx lr
vcvt.s32.f32 s2,s0
ftosis s2,s0
ftosizs s2,s0