[parrot/parrot] d01414: nci: provide new thunk definitions

GitHub noreply at github.com
Thu Jan 15 17:11:11 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: d01414c50b57cbe5f717a2e698c85421cc7cf672
      https://github.com/parrot/parrot/commit/d01414c50b57cbe5f717a2e698c85421cc7cf672
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-14 (Wed, 14 Jan 2015)

  Changed paths:
    M src/nci/extra_thunks.nci
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci: provide new thunk definitions

generated all used Curses signature thunks.
Added the new/old nci types t234 to the thunk generator.


  Commit: 257e3982c83884da1e88963d1d86de388cf4d5a9
      https://github.com/parrot/parrot/commit/257e3982c83884da1e88963d1d86de388cf4d5a9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M runtime/parrot/library/SDL.pir
    M src/nci/extra_thunks.nci

  Log Message:
  -----------
  nci: add SDL thunk definitions


  Commit: 54a21fab864d019b63846952f79860862c0600c2
      https://github.com/parrot/parrot/commit/54a21fab864d019b63846952f79860862c0600c2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M docs/pdds/draft/pdd16_native_call.pod

  Log Message:
  -----------
  [docs] undeprecate t234 in docs/pdds/draft/pdd16_native_call.pod

They are required for most NCI samples and were never properly replaced.


  Commit: 11611dea609871c2bf0da766570cc23fab65ecd8
      https://github.com/parrot/parrot/commit/11611dea609871c2bf0da766570cc23fab65ecd8
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/nci/core_thunks.nci
    M src/nci/extra_thunks.nci
    M t/pmc/nci.t
    M tools/dev/mk_nci_thunks.pl
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci: move t/pmc/nci.t signatures from extra to core

update generated t/pmc/nci.t signatures and move it to
core_thunks.nci
extra can be omitted via --without-extra-nci-thunks.
cache a useful subset of pregenerated thunks in core.
Document how to generate or update the signatures from a module.

Also refactor tools/dev/mk_nci_thunks.pl a bit: Add Windows support.
Add more docs to tools/dev/nci_thunk_gen.pir


  Commit: 8ba707f99885a06a529adf0e83fd79a71a4603b0
      https://github.com/parrot/parrot/commit/8ba707f99885a06a529adf0e83fd79a71a4603b0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/nci/core_thunks.c
    M src/nci/extra_thunks.c
    M src/nci/extra_thunks.nci
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci: bootstrap-nci static thunks

enable t234 in nci_thunk_gen.pir


  Commit: 0dc85bd5833df6855175aae87e7cf39e2263edc0
      https://github.com/parrot/parrot/commit/0dc85bd5833df6855175aae87e7cf39e2263edc0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/nci/core_thunks.c
    M src/nci/extra_thunks.c
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci_thunk_gen.pir v0.03

properly cast argument pc c<=> c types.
regenerate thunks, now without warnings


  Commit: 3b9ba22efda63194eacea263c6d32d692d1699af
      https://github.com/parrot/parrot/commit/3b9ba22efda63194eacea263c6d32d692d1699af
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M config/gen/makefiles/root.in
    M src/call/args.c
    M src/nci/core_thunks.c
    M src/nci/extra_thunks.c
    M tools/dev/mk_nci_thunks.pl
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci: fix static thunks

add slow support for t234 refs to nci_thunk_gen.pir.
libfii manipulates the iv slots directly, but we go the safe and slow route here.
special-case t234 as if they were refs.

Makefile: warn when one of the src/nci/*_thunks.c is out of date.


  Commit: 5a7df0b1a7600e60a61a7fe17a3a9953511dc117
      https://github.com/parrot/parrot/commit/5a7df0b1a7600e60a61a7fe17a3a9953511dc117
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/nci/core_thunks.c
    M src/nci/core_thunks.nci
    M src/nci/extra_thunks.c
    M src/nci/extra_thunks.nci
    M t/pmc/nci.t
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  nci: avoid static thunks for 234

The cc optimizer will create invalid conversions due to strict aliasing.
We rather rely on the better code in libffi to convert 234 intrefs dynamically.
Closes GH #1171


  Commit: 7499b1264bd9264614e8d687f6ce3ab0759c8240
      https://github.com/parrot/parrot/commit/7499b1264bd9264614e8d687f6ce3ab0759c8240
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/nci/core_thunks.c
    M src/nci/core_thunks.nci
    M t/pmc/nci.t

  Log Message:
  -----------
  nci: add ipp sig to core thunk for nci.t 32 funcptr

also fix the nci.t structure for the skips


  Commit: 8dd2982554648446d382b4c05136c36bdb10870a
      https://github.com/parrot/parrot/commit/8dd2982554648446d382b4c05136c36bdb10870a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog: for smoke-me/new-thunks-gh1171


  Commit: 7385369b80b19527a4beefdba90e0b9ec1b41679
      https://github.com/parrot/parrot/commit/7385369b80b19527a4beefdba90e0b9ec1b41679
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M ChangeLog
    M config/gen/makefiles/root.in
    M docs/pdds/draft/pdd16_native_call.pod
    M runtime/parrot/library/SDL.pir
    M src/call/args.c
    M src/nci/core_thunks.c
    M src/nci/core_thunks.nci
    M src/nci/extra_thunks.c
    M src/nci/extra_thunks.nci
    M t/pmc/nci.t
    M tools/dev/mk_nci_thunks.pl
    M tools/dev/nci_thunk_gen.pir

  Log Message:
  -----------
  Merge branch 'smoke-me/new-thunks-gh1171'

Smoked ok


Compare: https://github.com/parrot/parrot/compare/e6aa9c715145...7385369b80b1


More information about the parrot-commits mailing list