ami_stuff wrote: >>> Ok, so it is a GCC's bug? >> It's perhaps an optimization that gcc doesn't do. But then >> there is an infinite number of optimizations that gcc doesn't do. > > How should I modify GCC's inline to repleace MULH function (to make it compatible)? What for? I posted sample code that should work. > I will copy & paste the code to FFmpeg's source and do the benchmark with FFmpeg. OK. Andrew.