Hi
@Daytona675x
You are certainly a good coder but you have difficulties to admit when you are wrong
"calling library functions (e.g. Warp3D) which expect floats in FPU registers"
is just a wrong statement as Warp3D (both OS3 and OS4 versions) never used FPU registers for calling functions
>MiniGL (which has tons of functions that expect floats by value)
True but there are not "expecting floats in FPU registers" too
Greetings
Alain Thellier
OMG, boy, I really don't have time for this crap, but well:
I don't know what your problem is (but somehow it seems to have something to do with a ego issue or things like "projection") but before you write more nonsense I suggest you do four things:
1. read before you write. I said that I was wrong with Warp3D.lib indeed since it doesn't pass floats by value even for functions like e.g. W3D_SetAlphaMode, which was sth. I forgot. As I wrote before.
2. read the specs.
Hint #1 and
Hint #2.
3. take a your favorite C compiler suited for PPC AOS4, write some lines of code containing a nice glTranslatef(1.0f,2.0f,3.0f), look at the assembly output. Do you still want to really tell anybody that float parameters are not passed through float registers?
4. come back here and better delete your previous statements.
While you probably are a more or less decent coder you should probably stick to topics you know more about.
Cheerio
p.s.: to the other readers: of course, as I said before, the problem with SPE compiled code calling functions with float parameters inside FPU-compiled code (and vice versa) exists, it exists as I outlined, it exists with e.g. MiniGL, floats are passed through registers (if there are FPU registers...), no matter what Allain Thellier keeps saying here.
The only thing I was mistaken was taking Warp3D.lib as an example; MiniGL however is a good example. Which is what I wrote before, but just in case anybody else besides that pal here likes to skip reading that part

Good part of my little mistake: I might give Wings a shot on Tabor - but guess what: I already said that too
