Altivec code fails to build on GCC 4.8.2
Brought to you by:
sobukus
mpg123's altivec code fails to build on GCC 4.8.2 (on OS X 10.4.11/G4). The same code works fine with GCC 4.0 and 4.2. Most of the errors are of the type "can't convert value to vector", for example:
synth_altivec.c: In function 'INT123_synth_1to1_altivec':
synth_altivec.c:309:3: error: can't convert value to a vector
vmax = (vector float)(32767.0f);
^
Build logs: https://gist.github.com/anonymous/7066873
Our expert says this:
Can you confirm that? A simple
should do the trick
Last edit: Thomas Orgis 2013-10-21
Any test report on this one? It looks fairly simple, but I hesitate to import this change without any testing. Is there someone with a G5 Mac still around?
I can test this on a PowerBook G4 next week.