![]() |
| . Forums . Statistics . Sign Up . Search . |
| Yabause community forums / Support / Error Compiling Yabause for PSP |
| Author | Message |
| pspcoder Member |
# Posted: 1 Jul 2010 10:45 . Edited by: pspcoder Hello, I´m a new programmer from psp and I´m trying to continue the project. I´m trying to compile it, I have the newest SDK and I only get one error in this part of the code: /* Can't place __state in $s8 to begin with because a GCC bug(?) * seems to cause it to try and use the same register for "entry" */ register SH2_struct *__state asm("a0") = state; register void * __address asm("v0") = entry->exec_address; register int __cycles asm("v1") = cycles; asm(".set push; .set noreorder " "jalr $v0 " "move $30, %3 " ".set pop" : "=r" (__state), "=r" (__address), "=r" (__cycles) : "0" (__state), "1" (__address), "2" (__cycles) : "at", "a1", "a2", "a3", "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", "t8", "t9", "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", /*s8*/"$30", "ra", "memory" ); gcc reports me that it can use $fp there. I have tried to change the last line and replace register $30 by other register and compile it but obviously it doesn´t work. I don´t know what´s the problem. Could anyone give me some help? Thanks |
|
Powered by miniBB forum software © 2001-2010 |