forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using the VFU?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
turkeyman



Joined: 20 Oct 2004
Posts: 75
Location: Brisbane, Australia

PostPosted: Sat Jun 25, 2005 12:55 pm    Post subject: Using the VFU? Reply with quote

Does anyone know anything about accessing the VFU?

From what i know, its a similar coprocessor to the PS2's VU0, but way better. It supposedly has less latency, can perform operations from the general registers (saves on loads of qmtc2/qmfc2 instructions), and has a dot product!! :P

Does the inline assembler know aything about the coprocessor instructions? (i'm not really sure how GCC is put together, or how it knows about its architectures assembly.. sorry, i'm not really a linux dude :/)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ReKleSS



Joined: 18 Jun 2005
Posts: 73
Location: Melbourne, Australia

PostPosted: Sat Jun 25, 2005 12:58 pm    Post subject: Reply with quote

The opcodes and stuff to control the vfu are in the toolchain. Take a look at the diffs for binutils/binutils-psp/opcodes/mips-opc.c.diff if you want to see them. The problem is, the compiler chokes on them and nobody knows how to initialise the vfu just yet. So... you can't do anything with it yet.
-ReK
(this is my understanding of the current situation, anyway)
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Jun 25, 2005 3:25 pm    Post subject: Reply with quote

Although the VFPU opcodes are listed in mips-opc.c, they aren't supported by the assembler yet (and are only partially supported by the disassembler). I'm still working on getting them supported, but it's a lot of work.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group