by Yoda » Mar 30, 2001 @ 2:08pm
I decided to try building my own SH3 executable (independant from Jay's), and after some _tedious_ debugging/code tweaking, I came up with this information regarding the optimization errors:<br><br>Functions that provoked critical run-time errors when optimized:<br><br>d_polyse.c<br> - D_PolysetRecursiveTriangle<br><br>r_draw.c<br> - R_ClipEdge<br><br>Functions that caused the 'infamous' grey walls when optimized:<br><br>model.c<br> - Mod_SetParent<br><br>I don't know anything about the SH3 compiler, but as these bugs only show up when compiling for SH3 release (optimized), I'm assuming it's an issue with the compiler. I'll investigate why optimization on these functions fails tonight. <br><br>If anyone would like to try the optimized SH3 build, just post here, and I'll upload it somewhere. I'd also be happy to send along the modified source files.<br><br>The FPS improvement is very nice, this was highly worth the several hours of effort.<br><br>--Yoda<br>PlanetUnreal Admin<br>