GCC compatibility.
Inline inner loops to help further optimization.
Fixes.