2011-03-30, 09:20
Ok I was off for some time. Now I resumed this project again and found some bugs in Open GLES implementation. First is in multitexturing and second is drawing fonts. Also I made asm (ARM VFP) optimization for round and truncate functions in MathUtils.h again this is VFP only.
e.g. for floor()
e.g. for floor()
PHP Code:
asm volatile ("fldmiad %1, {d0} \n\t"
"ftosid s1, d0 \n\t"
"fstmias %0, {s1} \n\t"
:
: "r" (&i), "r" (&x)
: "r0", "cc", "memory", "d0" ,"s1"
);