Skip to content
Snippets Groups Projects
Commit c9373b04 authored by rtoy's avatar rtoy
Browse files

For some reason the vm::ash-left-mod32 is never translated using the

vop fast-ash-left-mod32-c/unsigned=>unsigned.  (Need to look into
that!)  Instead, we call out to vm::ash-left-mod32.  An example:

(defun mat3neg (tt v)
  (declare (type (unsigned-byte 32) v)
	   (type (integer -31 -1) tt)
	   (optimize (speed 3) (safety 0)))
  (logand #xffffffff (ash v (- tt))))


As a workaround, declare vm:ash-left-mod32 as an inline function.  Then
vm::ash-left-mod32 is inlined, bignum::%ashl has a vop that does get
called, so mat3neg has no calls.
parent f71fdca6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment