Added rewrites for EXPT and SQRT which are `enabled' by using EXPT and
authorStephen Adams <edu/mit/csail/zurich/adams>
Fri, 17 Feb 1995 23:41:57 +0000 (23:41 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Fri, 17 Feb 1995 23:41:57 +0000 (23:41 +0000)
commit4b8ea8e7b6be70a48507b9d4cb4a5859e91e4e82
tree2bd9cc75613c6c21dd6b91df0f0d870a9372208b
parent36b397480763811bfbd3e70ae21fbbab2468b3df
Added rewrites for EXPT and SQRT which are `enabled' by using EXPT and
SQRT like this:

((access SQRT system-global-environment) 6.7)

i.e. they dispatch of (CALL %invoke-remote-operator ...)  (declare
(usual-integrations)) should be changed to make operator references to
these standard procedures into global references.

SQRT just does constant folding.  EXPT also expands to a small
expression trees of <= some number of generic multiplies for a small
exact integer exponent.
v8/src/compiler/midend/earlyrew.scm