Skip to content
Commit c14776d4 authored by Nuno Lopes's avatar Nuno Lopes
Browse files

reimplement truncate() to make it optimal.

It is optimal at least up to 7 bits (I've tested all such cases)
This change to truncate() allows a little simplification to the multiplication code,
and it also makes multiplication optimal :)

llvm-svn: 160512
parent ac4cdc8e
Loading
Loading
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