I am trying to get the psp-gcc to accept the fact the PSP has 64-bit architecture, and can handle 128 bit integers using the __attribute__((mode(TI))) code, but the compiler is having none of it, saying it cannot emulate the TI mode.
This is due to me suspecting some data types are of this format, and aren't two (u)int64s bundled together - as that causes some... oddness.
Has anybody got a workaround for this, or got it working? I'm guessing it's some gcc switch, but I'm not very good with the MIPS architecture, or gcc switches.
Defining the 128bit ints in gcc
-
- Posts: 60
- Joined: Wed Jul 06, 2005 7:03 pm
Nope you read right - I thought it was 64bit. Now feel pretty dumb :-Smrbrown wrote:I know about it, I haven't had the chance to fix it yet. BTW, the PSP is a 32-bit architecture (unless I misread what you were trying to say).
Jst to make sure I'm not being uber-dumb. the int space is 32 bits? So longs are 64bit, and long longs are 128bit? If so, then maybe my suspicions of the 128bit numbers are just wrong (internal size maps of vectors and matricies).
-
- Posts: 60
- Joined: Wed Jul 06, 2005 7:03 pm