Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: ptc/pod_checke…
Commits on Mar 8, 2014
  1. Reini Urban

    [docs] fix all podchecker issues [GH #1053]

    rurban authored
    to skip:
    to ignore | warning:
  2. Paul Cochrane Reini Urban

    [lib] using Pod::Checker to check pod

    paultcochrane authored rurban committed
    Pod::Simple was missing many warnings and errors and thus has been replaced
    by Pod::Checker.  This is sensible, since the advice given by the
    `pod_syntax.t` test when errors occur is that one should use `podchecker` to
    investigate errors in detail, thus we should be using Pod::Checker
    internally to begin with.
  3. Reini Urban

    runcores: fix docs, match docs with implementation and vice versa

    rurban authored
    use docs/running.pod as description for the runcore, debugging and
    optimization options.
    add missing docs for the runcores.
    we already have a new parrot manpage for the rest.  allow the old runcores
    in the implementation as described in the docs.
    but disable the exec runcore, as it is different from the jit runcore.
    there is now side-effect of producing a native executable (as of now).
  4. Reini Urban

    [docs] fix most podchecker issues

    rurban authored
    at least the valid ones. podchecker warns about valid
    L<name|link> tags.
    See podchecker docs/*.pod docs/*/*.pod (not the book)
    See also GH #1053 to use Pod::Checker in the test and
    GH #1054 to relax the fill-column: 100 coda to allow 78
    also, to write valid pod.
Commits on Mar 7, 2014
  1. Reini Urban

    [cage] annotate cachegrind results

    rurban authored
    clang--3-4++ =O3:
    valgrind --tool=cachegrind -- ./parrot -O2 examples/benchmarks/oo1.pir
    qcachegrind cachegrind.out.*
    also fix a c++ cast error from latest src/string/encoding/shared.c patch
  2. Reini Urban
  3. timo Reini Urban

    cache iterators in encoding_find_*cclass

    timo authored rurban committed
    encoding_find_cclass and encoding_find_notcclass can now cache an iterator
    between calls, because there is at least one usage of the pattern "scan a
    whole string for newlines" in rakudo.
    for utf8 files, like Actions.nqp and Grammar.nqp, it used to take 5s and 2s
    respectively, now takes 2.4s and 0.9s respectively after the patch.
    My only concern is that there's a chance of false positive on the cache
    find_cclass called
    string GC'd
    new string allocated at same address
    find_cclass called
    This seems unlikely, but heisenbug paths like this are really hard to track
    down if tripped over.  We could add the cached iterator directly to the
    string, adding two words per string that we can try to reuse any time
    STRING_iter_skip is called.  (Probably involves an API change:
    And now that I think about it, caches can be very problematic in threaded
    See #1027
  4. Reini Urban

    [cage] Revamp GH #957 pull request

    rurban authored
    Throw unknown key type exceptions in default case
    Remove some compiler warnings (tested even with clang++)
    Added even the strcmp case exception even if it makes not much sense.
    Harmonize "Wrong type of value from annotation" exception messages.
    Most work done by Paul Cochrane
    In Makefile moved touch up to align the gnu replaceble testutils
    so that I can delete the superfluous slow $(PERL) -MExtUtils::Command -e
    variants manually more easily.
  5. Reini Urban

    fix clang optimizer increment issue GH #774

    rurban authored
    have to use volatile scratch registers in Parrot_Integer_increment_orig to avoid
    skipping overflow sementics: -1 => MAXINT
    fixes t/pmc/bigint.t test negate_min_integer
  6. Reini Urban
  7. Reini Urban

    [cage] fix --debugging and some of the latest SHIM/UNUSED decl

    rurban authored
    make headerizer and --debugging tested.
    TODO: UNUSED should be switched to SHIM in the decl.
Commits on Mar 6, 2014
  1. Reini Urban
  2. Reini Urban
  3. Reini Urban
  4. Reini Urban
  5. Reini Urban

    [cage] fix clang compilation with inline imcc_vfprintf

    rurban authored
    debug.o wants this symbol even with inline
  6. Reini Urban
  7. Reini Urban

    [docs] fix parrotbyte.pod [GH #598]

    rurban authored
    see the more explicit pdds/draft/pdd13_bytecode.pod for details
  8. Reini Urban
  9. Reini Urban

    [test] skip invalid -O2 test [GH #1049]

    rurban authored
    t/compilers/imcc/syn/regressions.t contains testing for a run-time exception
    which is optimized away by constant propagation and then used_once
    at compile-time with -O2.
    $ ./parrot -d1040 -O2 t/compilers/imcc/syn/regressions_2.pir
    used once deleted 0x2289920 div $I1, 1, 0
    used once deleted 0x228a0f0 div $N1, 1.0, 0.0
    code_size(ops) 17  old_size 0
    0 push_eh_ic	0x251d6c0 push_eh ok1
    2 pop_eh	0x251d9d0 pop_eh
    3 print_sc 0	0x251db30 print "not "
    5 say_sc 2	0x251dd30 say "ok 1 - caught div_i_ic_ic exception"
    7 push_eh_ic	0x251de90 push_eh ok2
    9 pop_eh	0x251e1a0 pop_eh
    10 print_sc 0	0x251e260 print "not "
    12 say_sc 1	0x251e430 say "ok 2 - caught div_n_nc_nc exception"
    14 set_returns_pc 0	0x251ed60 set_returns
    16 returncc	0x251ede0 returncc
  10. Reini Urban
  11. Reini Urban

    [cage] key.pmc minor optimization

    rurban authored
    avoid default case integer key for get_type to reduce code size.
    numbers cannot be keys.
    better UNIMPLEMENTED error messages
  12. Reini Urban

    [cage] shim unused arguments in src/io/*.c

    rurban authored
    silence c++ compiler warnings
  13. Reini Urban

    [cage] improve IMCC_debug_ins for headerizer

    rurban authored
    the odd function format was not picked up by the headerizer
    add pod also
    INLINE to imc.h added by headerizer
Commits on Mar 5, 2014
  1. Reini Urban
  2. Reini Urban

    [docs] fix parrotbyte.pod

    rurban authored
    Fixed magic, endian-ness and FloatType 2.
    Fixes GH #992, thanks to Zefram.
  3. Reini Urban

    [docs] fix "Discarding return values" GH #1004

    rurban authored
    According to zefram docs/pdds/pdd19_pir.pod talks about
      sub_label($I0, $I1, $I2)
    as "... discards any return values".
    Actually this is not correct.
    The quoted code is equivalent to
    () = sub_label($I0, $I1, $I2)
    It doesn't save any return values, but if result count checking is
    enabled then returning any non-zero number of results will cause an
    exception. Not quite the discarding that the documentation suggests.
    I changed the wording to "does not save any return values."
  4. Reini Urban

    [test] ignore smolder upload failures on make smoke

    rurban authored
    and smolder_fulltest. fixes GH #1040. Travis should now be useful again
  5. Reini Urban

    ChangeLog: add TT #1930 fix

    rurban authored
  6. Reini Urban

    [config] support __builtin_expect LIKELY/UNLIKELY branch optimizations

    rurban authored
    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 files, and relax the coda test for this.
    Should be used in all files.
  7. Reini Urban
  8. Reini Urban
  9. Reini Urban

    [docs] README.pod tell that --optimize is recommended for packagers

    rurban authored
    that it is 2x faster. Now that all known --optimize bugs are fixed (even on powerpc TT #1930)
  10. Reini Urban

    fix TT #1930, optimized ppc: n mod 0.0 failure

    rurban authored
    we need to use volatile temporaries really with such floats.
    Fixes t/op/number.t test 50
Commits on Mar 2, 2014
  1. Reini Urban
Something went wrong with that request. Please try again.