diff options
author | 2014-09-02 15:39:57 -0700 | |
---|---|---|
committer | 2014-09-02 16:01:53 -0700 | |
commit | f77e977b04f1a73a52ea7965789cbda39d7734c4 (patch) | |
tree | 86e480ec5d0fb520cd6f34a05c350a695512a5df /disassembler/disassembler_x86.cc | |
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
Diffstat (limited to 'disassembler/disassembler_x86.cc')
0 files changed, 0 insertions, 0 deletions