[parrot/parrot] a08abd: re-enable native_pbc

GitHub noreply at github.com
Wed Dec 5 05:54:12 UTC 2012


  Branch: refs/heads/native_pbc
  Home:   https://github.com/parrot/parrot
  Commit: a08abd44778e183f47b1600ae3119c1810ebda98
      https://github.com/parrot/parrot/commit/a08abd44778e183f47b1600ae3119c1810ebda98
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/header.t
    M t/native_pbc/integer.t
    M t/native_pbc/integer_5.pbc
    M t/native_pbc/number.t
    R t/native_pbc/number_5.pbc
    M t/native_pbc/string.t
    R t/native_pbc/string_5.pbc
    M t/native_pbc/testdata/string.pasm
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  re-enable native_pbc

use new t/native_pbc/testdata templates to generate pbc's,
change string to use binary and utf8 encodings,
update mk_native_pbc.
TODO: little-endian pbc files missing, preparing a 8_le qemu image to generate them.


  Commit: 5fc76788db4c485e7691a62804b28d33df0ce0bc
      https://github.com/parrot/parrot/commit/5fc76788db4c485e7691a62804b28d33df0ce0bc
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M MANIFEST
    A t/native_pbc/Test.pm
    M t/native_pbc/integer.t
    R t/native_pbc/integer_3.pbc
    R t/native_pbc/integer_5.pbc
    R t/native_pbc/integer_7.pbc
    M t/native_pbc/number.t
    M t/native_pbc/string.t
    R t/native_pbc/string_3.pbc
    R t/native_pbc/string_7.pbc

  Log Message:
  -----------
  [GH #394] Revamp native_pbc: t/native_pbc/Test.pm

Simplify tests with a common t/native_pbc/Test.pm library.
Delete unneeded pbc files.
Update ppc32 t/native_pbc files.

TODO: endian-conversion fails


  Commit: b89916b0d50f156d11f56b41e1a1ba5d804aa7c1
      https://github.com/parrot/parrot/commit/b89916b0d50f156d11f56b41e1a1ba5d804aa7c1
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M MANIFEST
    M lib/Parrot/Test.pm
    M t/native_pbc/Test.pm
    M t/native_pbc/integer.t
    A t/native_pbc/integer_4_be.pbc
    A t/native_pbc/integer_4_le.pbc
    R t/native_pbc/integer_6.pbc
    A t/native_pbc/integer_8_be.pbc
    A t/native_pbc/integer_8_le.pbc
    R t/native_pbc/number.pbc
    M t/native_pbc/number.t
    R t/native_pbc/number_1.pbc
    R t/native_pbc/number_3.pbc
    R t/native_pbc/number_4.pbc
    A t/native_pbc/number_4_12_le.pbc
    A t/native_pbc/number_4_8_be.pbc
    A t/native_pbc/number_4_8_le.pbc
    R t/native_pbc/number_6.pbc
    R t/native_pbc/number_7.pbc
    A t/native_pbc/number_8_16_be.pbc
    A t/native_pbc/number_8_16_le.pbc
    A t/native_pbc/number_8_8_be.pbc
    A t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string.t
    A t/native_pbc/string_4_be.pbc
    A t/native_pbc/string_4_le.pbc
    R t/native_pbc/string_6.pbc
    A t/native_pbc/string_8_be.pbc
    A t/native_pbc/string_8_le.pbc
    R t/native_pbc/testdata/string.pasm
    A t/native_pbc/testdata/string.pir
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  refactor t/native_pbc/ test ids

Parrot::Test had the odd assumption that testing pbc can only be done for
native_pbc tests, and that the tests must be of _<int>++.pbc.
We pass now the filename as first arg to pbc_output_is() and check if it exists.

So we can use now readable test names.


  Commit: 082cf5bb62711f01c3f3c45673ca5c5b1c417b99
      https://github.com/parrot/parrot/commit/082cf5bb62711f01c3f3c45673ca5c5b1c417b99
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    A t/native_pbc/testdata/annotations.pir
    M tools/dev/mk_packfile_pbc

  Log Message:
  -----------
  mk_packfile_pbc refactor with t/native_pbc/testdata/annotations.pir


  Commit: df57ae0356ad5ef959d4687c65987496cd8e41f5
      https://github.com/parrot/parrot/commit/df57ae0356ad5ef959d4687c65987496cd8e41f5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    A t/native_pbc/testdata/string.pasm
    R t/native_pbc/testdata/string.pir

  Log Message:
  -----------
  mv t/native_pbc/testdata/string.pir t/native_pbc/testdata/string.pasm


  Commit: f7e0bc5f79b2d16d6a8d650e164c551ac6ffd026
      https://github.com/parrot/parrot/commit/f7e0bc5f79b2d16d6a8d650e164c551ac6ffd026
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M docs/project/release_manager_guide.pod
    M t/native_pbc/Test.pm
    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_8_be.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/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/dev/pbc_header.pl

  Log Message:
  -----------
  Fixed pbc_header.pl, usage docs, improved version tests

Fixed pbc_header.pl to query and update pbc versioninfo in headers.
Improved release manager guide to update native_pbc headers when PBC_COMPAT
was not changed.
Add better skip message to tests when just the Parrot version was bumped, but
bc version matches.
Bumped all native_pbc/*.pbc headers to 4.7.0.


  Commit: 447b345067aa3f38924a99a1e3fd49b9c174c7f9
      https://github.com/parrot/parrot/commit/447b345067aa3f38924a99a1e3fd49b9c174c7f9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/Test.pm

  Log Message:
  -----------
  native_pbc: refactor skip messages


  Commit: 16fad6b7d37c171acc7aa0ad1b95f6975a7a9785
      https://github.com/parrot/parrot/commit/16fad6b7d37c171acc7aa0ad1b95f6975a7a9785
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M PBC_COMPAT
    M compilers/opsc/Rules.mak
    M compilers/opsc/src/Ops/Emitter.pm
    M compilers/opsc/src/Ops/File.pm
    M config/auto/revision.pm
    M config/gen/config_h/config_h.in
    M config/gen/makefiles/root.in
    M frontend/pbc_dump/main.c
    M include/parrot/oplib.h
    M include/parrot/oplib/core_ops.h
    M src/ops/core_ops.c
    M src/packfile/segments.c
    M src/pmc/oplib.pmc
    M src/pmc/packfile.pmc
    M t/compilers/opsc/06-opsfile.t
    M t/compilers/opsc/08-emitter.t
    M t/native_pbc/testdata/annotations.pir

  Log Message:
  -----------
  Revive pbc

The parrot utils could not load pbc compatible, but older pbc fils anymore
because opslib directories and the init function hardcoded the parrot version
(even with patch!) and not the PBC_COMPAT version.

Replaced all parrot version triples in the pbc format with the PBC version duple.
parrot utils can now load older but compatible pbc files (again).

Replaced the hardcoded version numbers with c preprocessor macros in the
bootstrapped opslib sources and headers, to be more independent and simplier
implementation. If the ops did not change, the ops do not need to get regenerated
anymore for each version bump.
The Ops::Emitter version method is not used anymore, since bootstrap-ops has
been simplified.

Sanified the Makefile by adding missing dependencies and do proper identation
for depends and commands. Prev. line-broken depends were not visually
indistuingishible from commands, and line-broken commands neither.

Store PBC_MAJOR and PBC_MINOR in the config hash, stored by auto::revision.

Bump PBC_COMPAT to 13.0, the opslib directories store now only two version
numbers, not three.


  Commit: def0d3f85097fc4f9d3f09ba2b10e0be968d692f
      https://github.com/parrot/parrot/commit/def0d3f85097fc4f9d3f09ba2b10e0be968d692f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  fix tools/dev/mk_native_pbc: use new ids


  Commit: bc8fcfb239f8fbaf1d503fd4273ceca1fdd47a01
      https://github.com/parrot/parrot/commit/bc8fcfb239f8fbaf1d503fd4273ceca1fdd47a01
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/string_8_le.pbc
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  regenerate native_pbc for intel 64bit


  Commit: 79c4116eb5e9d920daa5dd9079f2dac02254da9e
      https://github.com/parrot/parrot/commit/79c4116eb5e9d920daa5dd9079f2dac02254da9e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M tools/dev/mk_native_pbc

  Log Message:
  -----------
  tools/dev/mk_native_pbc comments


  Commit: d1f1ef08687fe74c8e2f82fb05c3b00645d64440
      https://github.com/parrot/parrot/commit/d1f1ef08687fe74c8e2f82fb05c3b00645d64440
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/integer_4_le.pbc
    M t/native_pbc/number_4_12_le.pbc
    M t/native_pbc/number_4_8_le.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string_4_le.pbc

  Log Message:
  -----------
  update native_pbc files for little-endian


  Commit: c659ed6e6a56fdda678a1cc7d596779c3393c398
      https://github.com/parrot/parrot/commit/c659ed6e6a56fdda678a1cc7d596779c3393c398
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M src/packfile/pf_items.c
    M t/native_pbc/Test.pm
    M t/native_pbc/number.t

  Log Message:
  -----------
  fixed the rest of the pbc number converters.

big-endian still untested, need a UltraSparc64 to confirm.


  Commit: 9208534ffd97a45165b626ad98ac52e43c257314
      https://github.com/parrot/parrot/commit/9208534ffd97a45165b626ad98ac52e43c257314
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    A t/native_pbc/header.t
    R t/native_pbc/header.t
    M t/native_pbc/integer_4_be.pbc
    A t/native_pbc/number_4_16_be.pbc
    M t/native_pbc/number_4_8_be.pbc
    M t/native_pbc/string_4_be.pbc

  Log Message:
  -----------
  native_pbc big-endian 32-bit regenerated.

endian-ness conversion [GH #807] still broken.


  Commit: 12ef1148b497383b5f531d8ca1a6d4f5739894a1
      https://github.com/parrot/parrot/commit/12ef1148b497383b5f531d8ca1a6d4f5739894a1
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/number.t

  Log Message:
  -----------
  update number test matrix with big-endian results

[GH #807]: broken 4_8_le ->4_16_be, 4_12_le -> 4_16_be, 8_16_le -> 4_16_be,  8_8_le -> 4_16_be
8_16_le->4_8_be, 4_12_le -> 4_8_be, 4_8_le -> 4_8_be


  Commit: 4ce09e73cf1c5d38d639e59760e0d9db5e9b2b42
      https://github.com/parrot/parrot/commit/4ce09e73cf1c5d38d639e59760e0d9db5e9b2b42
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/native_pbc/number.t

  Log Message:
  -----------
  cvt_num16_num8 in i386 still broken

No ticket yet, but I am working on it.


  Commit: 94047a008d8c64c57114348e622d6681a0a7a564
      https://github.com/parrot/parrot/commit/94047a008d8c64c57114348e622d6681a0a7a564
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    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

  Log Message:
  -----------
  rebase native_pbc onto RELEASE_4_10_0


  Commit: 23e1ac3cdaff5a8745d218e90157fddc7ee8b960
      https://github.com/parrot/parrot/commit/23e1ac3cdaff5a8745d218e90157fddc7ee8b960
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M compilers/opsc/src/Ops/Emitter.pm

  Log Message:
  -----------
  rename ops2c core init_func

We only need one PARROT_CORE_OPLIB_INIT, reuse
the prev. PARROT_DYNOP_CORE_INIT definition.
We do not need pbcversion.h in core_ops, once in config.h is enough.


  Commit: dc86275c843352d097370a5f90301a7767ad3b8a
      https://github.com/parrot/parrot/commit/dc86275c843352d097370a5f90301a7767ad3b8a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-04 (Tue, 04 Dec 2012)

  Changed paths:
    M t/compilers/opsc/08-emitter.t
    M t/native_pbc/annotations.pbc
    M t/native_pbc/integer.pbc
    M t/native_pbc/integer_8_le.pbc
    M t/native_pbc/number.t
    M t/native_pbc/number_8_16_le.pbc
    M t/native_pbc/number_8_8_le.pbc
    M t/native_pbc/string.pbc
    M t/native_pbc/string_8_le.pbc

  Log Message:
  -----------
  Updated 8_le native_pbc, fix opsc/08-emitter.t


Compare: https://github.com/parrot/parrot/compare/99ed5349109f...dc86275c8433


More information about the parrot-commits mailing list