Search found 3 matches

by malaka
Sun Aug 07, 2005 7:26 pm
Forum: PSP Development
Topic: Simple Graphics...
Replies: 24
Views: 8283

- after ((64<<2)>>2) you got 0 !!! This is wrong. Take a look at the ISO/IEC 9899:1999 C standard, chapter 6.5.7, "Bitwise shift operators": The integer promotions are performed on each of the operands. The type of the result is that of the promoted left operand. The result of E1 << E2 is...
by malaka
Sat Aug 06, 2005 11:48 pm
Forum: PSP Development
Topic: Simple Graphics...
Replies: 24
Views: 8283

Let me add something about the shift operations. Since they decal bits left or right (with no cycle) you can conveniently use/consider/see them as multiplications or integer divisions by a power of 2. so ">>3" means "divide by 2^3" so divide by "8" and "<<2" m...
by malaka
Tue Aug 02, 2005 3:33 am
Forum: PSP Development
Topic: Latest SVN pspsdk errors
Replies: 8
Views: 3634

I see you still use gcc 4.0.0!

I guess you forgot to update the toolchain scripts itself!

You should update it from its subversion:
svn://svn.pspdev.org/psp/trunk/psptoolchain

or redownload it:)

The new version includes gcc 4.0.1

maybe it'll help