Sakura-IT / libSDL_WarpOS

libSDL port to WarpOS/SonnetAmiga
GNU Lesser General Public License v2.1
3 stars 3 forks source link

Altivec data alignment #2

Open DvdBoon opened 5 years ago

DvdBoon commented 5 years ago

There seems to be a problem with alignment of altivec data (which needs to be 128 bit aligned). Depending on which compile/size of code the resulting binaries sometimes display distorted pictures which look like an endian problem.

Binaries which show distorted pictures on the G4 show correctly on G3/G2.

DvdBoon commented 5 years ago

Confirmed. By padding code (in this case) 8 bytes, pictures show correct.