[FFmpeg-devel] [PATCH] A rather simple H.264 speed optimization
Måns Rullgård
mans
Mon Jul 28 18:01:45 CEST 2008
Jason Garrett-Glaser wrote:
>> What does gcc do with this on 32-bit platforms. I've often seen it do
>> some rather horrid things with 64-bit types there.
>
> h264.c already uses 64-bit write combining in many many places; I'm
> just extending it.
That doesn't mean gcc doesn't do stupid things.
> x264 uses it too, and I have never seen GCC pessimize it. GCC
> pessimizes 64-bit *arithmetic ops*, not copies.
Is this true on non-x86 as well? That's where gcc usually lets its
stupidity really shine.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list