This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Development offering
#13
I have recently implemented the vfpu VFIM instruction on my emulator. And in the process I have seen a couple of things I want to notice:

http://code.google.com/p/pspautotests/so...u/vfpu.elf

- On my constant's test. This is my output:
inf,1.414214,0.707107,1.128379
0.636620,0.318310,0.785398,1.570796
3.141593,2.718282,1.442695,0.434294
0.693147,2.302585,6.283185,0.523599
0.301030,3.321928,0.866025,0.000000
- But on jpcsp the output is:
340282346638528859811704183484516925440.000000,1.414214,0.707107,1.128379
0.636620,0.318310,0.785398,1.570796
3.141593,2.718282,1.442695,0.434294
0.693147,2.302585,6.283185,0.523599
0.301030,3.321928,0.866025,0.000000

It seems that the "inf" (infinity constant) is different.
I tried to run it on my psp to check the real behaviour. But it crashes at the begining. Do you know what could be the problem?

Also, implementing the VFIM instruction I have seen that you are storing the output as if it was VD. But the register number is getted from the place of the VT register. It is really using the VD register? Because if not, prefixes could get wrong. Probably the VD in a different offset, but I wanted to be sure and to avoid headaches in the future. We can also make a test for all the vfpu missing stuff including that. Testing all the instructions, with all the special cases, with prefixes and for example verifying that prefixes only affects to one instruction...
Reply


Messages In This Thread
Development offering - by soywiz - 07-26-2011, 11:40 AM
RE: Development offering - by Hykem - 07-26-2011, 05:13 PM
RE: Development offering - by gid15 - 07-26-2011, 08:28 PM
RE: Development offering - by soywiz - 07-26-2011, 10:53 PM
RE: Development offering - by Hykem - 07-27-2011, 03:38 PM
RE: Development offering - by Butz_san - 07-27-2011, 03:58 AM
RE: Development offering - by soywiz - 07-27-2011, 05:21 PM
RE: Development offering - by Orphis - 07-29-2011, 01:06 PM
RE: Development offering - by gid15 - 07-30-2011, 07:30 AM
RE: Development offering - by gid15 - 07-30-2011, 11:27 AM
RE: Development offering - by soywiz - 07-31-2011, 12:47 PM
RE: Development offering - by soywiz - 08-01-2011, 01:04 AM
RE: Development offering - by soywiz - 08-01-2011, 04:01 AM
RE: Development offering - by hlide - 08-02-2011, 02:45 AM
RE: Development offering - by Orphis - 08-05-2011, 12:17 AM
RE: Development offering - by soywiz - 08-05-2011, 04:03 PM
RE: Development offering - by Orphis - 08-05-2011, 04:22 PM
RE: Development offering - by soywiz - 08-07-2011, 09:50 PM
RE: Development offering - by Orphis - 08-08-2011, 02:15 AM
RE: Development offering - by beanclr - 08-14-2011, 10:55 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)