commit | f77e977b04f1a73a52ea7965789cbda39d7734c4 | [log] [tgz] |
---|---|---|
author | buzbee <buzbee@google.com> | Tue Sep 02 15:39:57 2014 -0700 |
committer | buzbee <buzbee@google.com> | Tue Sep 02 16:01:53 2014 -0700 |
tree | 86e480ec5d0fb520cd6f34a05c350a695512a5df | |
parent | 6e3604287f73fbc58d8297c0bca6bfe808524a2b [diff] |
Quick compiler, aarch64: Insane sanity checker Fix bit-mask generation used in the sanity checking code for long division by small constants via multiplication. The failing case was a 64-bit wide mask. The macro was using the desired width of the result as a shift count - and a left shift of a 64-bit integer by 64 bits is undefined. Note that the generated code is correct - it's just the sanity checking code that was wrong. Change-Id: Ic6654662f848d3caab2c3b1ef0d92fe2eb9673f4