It seems that with the -maltivec switch, gcc can use altivec instructions anywhere...
(maybe only with newer gcc, cf changelog:
Wed, 29 Mar 2006 18:53:35 +0200
* 005_altivec_flags.diff: (new patch from old diff.gz) proper gcc flags to
only generate AltiVec code when explicitely asked.
)
You can remove the vxor in ff_er_frame_end by changing the line 666 in
libavcodec/error_resilience.c:
int threshold_part[4]= {100,100,100};
to
int threshold_part[3]= {100,100,100};
Don't know if there's others, I haven't a G3 with linux around.
It seems that with the -maltivec switch, gcc can use altivec instructions anywhere...
(maybe only with newer gcc, cf changelog:
Wed, 29 Mar 2006 18:53:35 +0200 flags.diff: (new patch from old diff.gz) proper gcc flags to
* 005_altivec_
only generate AltiVec code when explicitely asked.
)
You can remove the vxor in ff_er_frame_end by changing the line 666 in error_resilienc e.c:
libavcodec/
int threshold_part[4]= {100,100,100};
to
int threshold_part[3]= {100,100,100};
Don't know if there's others, I haven't a G3 with linux around.