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

Don't want to skip modular arith stuff if the result is known to fit

in a fixnum.  Consider the case where x and y are fixnums in

    (logand (* x y) 255)

The compiler knows the result must be 8 bits long, but we need to do
modular arithmetic because the (* x y) can be longer than 32 bits.

Thus, only skip the modular arithmetic stuff if both args are known to
be fixnums.
parent db32cdb6
No related branches found
No related tags found
No related merge requests found
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