Simplify hook calls.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 29 Dec 2018 16:40:02 +0000 (16:40 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 13 Aug 2019 14:37:02 +0000 (14:37 +0000)
commit44c8aaccd14c44f371d1d09e3c0f4c980b245ce1
tree59c19a20c7b8692b8fb3e62cb4400579283153d9
parent5036bb89f29a985b0341777afdf17497c3b46f0f
Simplify hook calls.

No need for CALL or the stack to be involved: just load PC-relative
address into RBX directly.  Should shave off a few bytes of code.

WARNING: This changes the amd64 compiled code interface so that new
compiled code requires a new microcode and vice versa.
src/compiler/machines/x86-64/lapgen.scm
src/compiler/machines/x86-64/rules3.scm
src/compiler/machines/x86-64/rules4.scm
src/compiler/machines/x86-64/rulfix.scm
src/microcode/cmpauxmd/x86-64.m4