[FFmpeg-devel] [RFC] Loop unrolling in C code for 'vector_fmul_*' functions

Michael Niedermayer michaelni
Mon Apr 21 00:52:59 CEST 2008


On Sun, Apr 20, 2008 at 06:08:22PM -0400, Alexander Strange wrote:
[...]
> The C keyword "restrict" will do this. gcc has some problems with it -
> it's ignored for char*, so we can't use it to fix cases like
> get_cabac* where char* aliasing causes a lot of unnecessary stores -
> but it might work here. If not, you can sometimes fix it by inlining
> the function into somewhere where the original definition of src/dst
> are both visible.

Has the issue you describe been reported to the gcc devels by someone?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080421/0f5ccc21/attachment.pgp>



More information about the ffmpeg-devel mailing list