[ros-kernel] GCC Optimizaitons on Speed-Critical Code
Filip Navara
xnavara at volny.cz
Sun Jul 18 01:52:21 CEST 2004
Alex Ionescu wrote:
>Hi,
>
>I've noticed that we don't seem to use the slightest GCC optimization flags.
>I know this would slow down the build if used everywhere, but I believe that
>some parts of the code would greatly benefit from it, such as Win32K or
>Syncronization/Locking code in ntoskrnl. There are probably other places
>too.
>What do all think? Would this be bad for any reason?
>
>
I'm myself building my Win32k optimized and the speed improvement is
noticable. The problem is that our HAL doesn't work when compiled with
optimalization and if the whole ReactOS is build with "-O2
-Wno-strict-aliasing" it feels a lot slower because of some component
(maybe Freetype?). We would need to solve these issues first. Also it
should be an option, because it's easier to debug unoptimized binaries.
Regards,
Filip
More information about the Ros-kernel
mailing list