Am 10.08.2011 12:43, schrieb Denys Vlasenko:

> Tried it. Bloatcheck:
> 
> function                                             old     new   delta
> next_token                                           842     912     +70
> parse_dollar                                         731     782     +51
> grep_file                                           1198    1241     +43
...

> Example of code difference:
> 
>  00000000 <BB_isalnum>:
>  31 c9                  xor    %ecx,%ecx
>  3d ff 00 00 00         cmp    $0xff,%eax
> -77 1b                  ja     24 <BB_isalnum+0x24>
> +77 23                  ja     2c <BB_isalnum+0x2c>
>  88 c2                  mov    %al,%dl
> -8d 42 d0               lea    -0x30(%edx),%eax
> +0f b6 c0               movzbl %al,%eax
> +83 e8 30               sub    $0x30,%eax
>  b9 01 00 00 00         mov    $0x1,%ecx
> -3c 09                  cmp    $0x9,%al
> -76 0d                  jbe    24 <BB_isalnum+0x24>
> +83 f8 09               cmp    $0x9,%eax
> +76 11                  jbe    2c <BB_isalnum+0x2c>
>  83 ca 20               or     $0x20,%edx
> -8d 42 9f               lea    -0x61(%edx),%eax
> +0f b6 c2               movzbl %dl,%eax
> +83 e8 61               sub    $0x61,%eax
>  31 c9                  xor    %ecx,%ecx
> -3c 19                  cmp    $0x19,%al
> +83 f8 19               cmp    $0x19,%eax
>  0f 96 c1               setbe  %cl
>  88 c8                  mov    %cl,%al
>  c3                     ret

What's the point in forcing inlining?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to