[parrot/parrot] f475d0: [config] support __builtin_expect LIKELY/UNLIKELY ...
GitHub
noreply at github.com
Wed Mar 5 20:55:55 UTC 2014
Branch: refs/heads/rurban/pasm_out
Home: https://github.com/parrot/parrot
Commit: f475d0b18b675a734b71c1e09de7a4a2eb3a7320
https://github.com/parrot/parrot/commit/f475d0b18b675a734b71c1e09de7a4a2eb3a7320
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M config/gen/config_h/feature_h.in
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: 0bcca3ccdfae47e9f426f930107b27f9d46dde69
https://github.com/parrot/parrot/commit/0bcca3ccdfae47e9f426f930107b27f9d46dde69
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M .gitignore
M compilers/imcc/debug.c
M compilers/imcc/debug.h
M compilers/imcc/imc.c
M compilers/imcc/imc.h
M compilers/imcc/imcc.l
M compilers/imcc/imclexer.c
M compilers/imcc/instructions.c
M compilers/imcc/instructions.h
M compilers/imcc/main.c
M compilers/imcc/pbc.c
M compilers/imcc/pbc.h
M compilers/imcc/reg_alloc.c
M config/gen/config_h/feature_h.in
M frontend/parrot/main.c
M frontend/parrot2/main.c
M include/imcc/embed.h
M lib/Parrot/Test.pm
M src/pmc/imccompiler.pmc
A t/compilers/imcc/imcpasm/cfg.t
A t/compilers/imcc/imcpasm/opt0.t
A t/compilers/imcc/imcpasm/opt1.t
A t/compilers/imcc/imcpasm/opt2.t
A t/compilers/imcc/imcpasm/optc.t
A t/compilers/imcc/imcpasm/pcc.t
Log Message:
-----------
re-add PASM output to imcc, re-add imcpasm tests
one new IMCCompiler api method: set_to_pasm
remove static output in imcc/instructions.c
detect .pasm -o outfile extension
add and fix old t/compilers/imcc/imcpasm/*.t tests and the pir_2*_
Parrot::Test methods
change Parrot::Test pir_2_pasm method to use -d1000, which is equivalent
to pasm output, just to stderr.
use new LIKELY/UNLIKELY macros
Commit: 6b8b317886991aeff6755d66cacd72cd9126e0b7
https://github.com/parrot/parrot/commit/6b8b317886991aeff6755d66cacd72cd9126e0b7
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M ChangeLog
M compilers/imcc/api.c
M compilers/imcc/instructions.c
M frontend/parrot/main.c
M frontend/parrot2/main.c
M include/imcc/api.h
M t/compilers/imcc/imcpasm/opt2.t
M t/compilers/imcc/imcpasm/optc.t
Log Message:
-----------
enable pasm_out in parrot2, todo failing imcpasm tests
opt2 fails with changed used_once semantics: I0 = 10 is side-effecting, but *can* be removed
if I0 is used only once (GH #1036), ...
Commit: 6efeb88c83c1f2ec0e94023a2c82a9afe1502576
https://github.com/parrot/parrot/commit/6efeb88c83c1f2ec0e94023a2c82a9afe1502576
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M lib/Parrot/Test.pm
Log Message:
-----------
[test] ignore TEST_PROG_ARGS -O2 for opt1.t tests
Commit: 29101be94a3c690db413f6125e30b25af2968b3e
https://github.com/parrot/parrot/commit/29101be94a3c690db413f6125e30b25af2968b3e
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M compilers/imcc/debug.c
Log Message:
-----------
[cage] overlong line
Commit: 2fac34dc961a98faa46b38ba001da949e773286b
https://github.com/parrot/parrot/commit/2fac34dc961a98faa46b38ba001da949e773286b
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M .gitignore
M MANIFEST
M MANIFEST.SKIP
Log Message:
-----------
[cage] update MANIFEST{,.SKIP}, .gitignore
Commit: b57940128bf50e18778b75f3c5d997ca45184f72
https://github.com/parrot/parrot/commit/b57940128bf50e18778b75f3c5d997ca45184f72
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M compilers/imcc/api.c
M compilers/imcc/debug.c
M compilers/imcc/instructions.c
Log Message:
-----------
[codingstd] add docs, ...
Commit: b93659e29916eca2dba3e33ea0c8ecd353b1a7c2
https://github.com/parrot/parrot/commit/b93659e29916eca2dba3e33ea0c8ecd353b1a7c2
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M compilers/imcc/main.c
M include/imcc/embed.h
Log Message:
-----------
[cage] imcc/embed.h
error: nonnull argument references non-pointer operand
with llvm
Commit: 0df82592725d8f524fad85004c7607aee1d79f31
https://github.com/parrot/parrot/commit/0df82592725d8f524fad85004c7607aee1d79f31
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-03-05 (Wed, 05 Mar 2014)
Changed paths:
M compilers/imcc/api.c
M compilers/imcc/imcc.l
M compilers/imcc/imclexer.c
M compilers/imcc/instructions.c
M compilers/imcc/instructions.h
M compilers/imcc/main.c
M frontend/parrot/main.c
M frontend/parrot2/main.c
M include/imcc/api.h
M include/imcc/embed.h
M src/interp/api.c
M src/pmc/imccompiler.pmc
Log Message:
-----------
[imcc] rename to set_write_pasm, revamp api
Improve docs of the imcc API
pasm_out:
Pass the outfile path to set_write_pasm, so that we can
initialize it emit_open. Since the lexer doesn't know the outfile name
check for NULL in the lexer called emit_open(). Already initialized earlier
by the frontend.
The new parrot needs to store the outfile for the pasm out api.
Compare: https://github.com/parrot/parrot/compare/a4b6f262c9ef...0df82592725d
More information about the parrot-commits
mailing list