[parrot/parrot] ea071d: [config] support __builtin_expect LIKELY/UNLIKELY ...
GitHub
noreply at github.com
Tue Mar 4 22:06:56 UTC 2014
Branch: refs/heads/rurban/expect
Home: https://github.com/parrot/parrot
Commit: ea071dd2e549192b67f2618c17a12a997fbd030f
https://github.com/parrot/parrot/commit/ea071dd2e549192b67f2618c17a12a997fbd030f
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-04 (Tue, 04 Mar 2014)
Changed paths:
M ChangeLog
M MANIFEST
A config/auto/expect.pm
A config/auto/expect/test_c.in
M config/auto/neg_0/test_c.in
M config/gen/config_h/feature_h.in
M lib/Parrot/Configure/Step/List.pm
M t/codingstd/c_code_coda.t
Log Message:
-----------
[config] support __builtin_expect LIKELY/UNLIKELY branch optimizations
add EXPECT,LIKELY,UNLIKELY macros to feature.h as in the linux kernel and perl5
probe for __builtin_expect() support in a new auto::expect configure step
Usage: if (UNLIKELY(var == 0)) fail();
Add emacs mode:c support for test_c.in files, and relax the coda test for this.
Should be used in all test_c.in files.
More information about the parrot-commits
mailing list