New primitive PRIMITIVE-PROCEDURE-OPEN-CODED?.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 25 Aug 2019 21:20:39 +0000 (21:20 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 26 Aug 2019 03:22:44 +0000 (03:22 +0000)
commited988f07efd71dcb370c9545065bef7f613dd6ad
tree01632abc7133af7fbd120760730ed3dcbb29c9f7
parentfb334919d8119d40fc5602d604ae80117aaf0da0
New primitive PRIMITIVE-PROCEDURE-OPEN-CODED?.

Usage:

(define (foo x y)
  (if ((ucode-primitive primitive-procedure-open-coded? 1)
       (ucode-primitive xyz 2))
      ((ucode-primitive xyz 2) x y)
      ... Scheme alternative implementation ...))
src/compiler/base/utils.scm
src/compiler/fgopt/folcon.scm
src/compiler/machines/C/compiler.pkg
src/compiler/machines/aarch64/compiler.pkg
src/compiler/machines/i386/compiler.pkg
src/compiler/machines/svm/compiler.pkg
src/compiler/machines/x86-64/compiler.pkg
src/compiler/rtlgen/opncod.scm
src/microcode/extern.c
tests/check.scm
tests/compiler/test-open-code.scm [new file with mode: 0644]