[parrot/parrot] 24e172: optimize integer mod

GitHub noreply at github.com
Mon Jun 15 13:08:42 UTC 2015


  Branch: refs/heads/7.5.0
  Home:   https://github.com/parrot/parrot
  Commit: 24e1724ad04175edacd04d442953319174bd96be
      https://github.com/parrot/parrot/commit/24e1724ad04175edacd04d442953319174bd96be
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M ChangeLog
    M src/ops/core_ops.c
    M src/ops/math.ops
    M src/pmc/integer.pmc
    M src/utils.c

  Log Message:
  -----------
  optimize integer mod

for all positive int args use the HW mod insn,
and do not call Parrot_util_intval_mod().
This was profiled to be a bottleneck. 4% perf. win in parrot-bench.


  Commit: 941dd9e5117805b9ab1c94b50c8f91e04cc84956
      https://github.com/parrot/parrot/commit/941dd9e5117805b9ab1c94b50c8f91e04cc84956
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M VERSION
    M docs/parrothist.pod
    M docs/project/release_manager_guide.pod
    M t/native_pbc/integer_4_be.pbc
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/integer_8_be.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_16_be.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/number_4_8_le.pbc
    M t/native_pbc/number_8_16_be.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_be.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string_4_be.pbc
    M t/native_pbc/string_4_le.pbc
    M t/native_pbc/string_8_be.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/release/release.json

  Log Message:
  -----------
  Release 7.5.0 - "Yellow-collared Lovebird"

"White eye-rings lovebirds, of which Yellow-collared lovebirds are part, are
reportedly less aggressive in comparison to the slightly larger peach-faced
lovebird.  They are frequently housed in aviaries with other species of
their genus, a practice which although can be convenient, and wonderfully
aesthetic, may lead to hybridization.  This can especially be concerning
where other species may not be as locally common e.g.  black-cheeked
lovebird, and Lilians lovebird." - https://en.wikipedia.org/wiki/Yellow-collared_lovebird


Compare: https://github.com/parrot/parrot/compare/24e1724ad041^...941dd9e51178


More information about the parrot-commits mailing list