[parrot/parrot] 3922e0: [config] support __builtin_expect LIKELY/UNLIKELY ...

GitHub noreply at github.com
Wed Mar 5 20:22:38 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 3922e02bb6e9d3d85eae154066058b55d6e5f8a4
      https://github.com/parrot/parrot/commit/3922e02bb6e9d3d85eae154066058b55d6e5f8a4
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-03-05 (Wed, 05 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.


  Commit: cea93bf1b0a86e007a6f3927e00f25d1e82cb65a
      https://github.com/parrot/parrot/commit/cea93bf1b0a86e007a6f3927e00f25d1e82cb65a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog: add TT #1930 fix


Compare: https://github.com/parrot/parrot/compare/5d7461f9445a...cea93bf1b0a8


More information about the parrot-commits mailing list