https://bugs.kde.org/show_bug.cgi?id=384676

--- Comment #2 from Ivo Raisr <iv...@ivosh.net> ---
Unfortunately performance measurements do not confirm this as a good idea.

Measuring Memcheck on perf/bz2, instruction count:
v3 baseline: 45,110 M total; 168 M register allocator
v3 patched:  45,123 M total; 176 M register allocator
v2 baseline: 45,190 M total; 209 M register allocator
v2 patched:  45,266 M total; 220 M register allocator

Measuring Memcheck on tinycc, instruction count:
v3 baseline: 4,155,471 k total; 86,438 k register allocator
v3 patched:  4,155,207 k total; 91,193 k register allocator

I'd conclude that although two more registers are available to the register
allocator, it does not help because:
- they are caller saved registers
- register allocator needs to iterate over more registers

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to