commit | eda179764f5b270c7298660a12fb8f9176902e2a | [log] [tgz] |
---|---|---|
author | Yaowu Xu <yaowu@google.com> | Thu Jan 22 15:27:43 2015 -0800 |
committer | Yaowu Xu <yaowu@google.com> | Fri Jan 23 09:02:07 2015 -0800 |
tree | ada977789ca7fc6051b009146b21e7c92b2dee28 | |
parent | cf3202132f74081292173e8cd6aff4bf9ca2c0af [diff] |
Replace divide with look-up This commit replaces an integer divide with a table-lookup. It is to improve decoding speed, and at the same time, to reduce possible complications with a bug in AMD Family 12h processors: "665 Integer Divide Instruction May Cause Unpredictable Behavior" Change-Id: I678b707a538798a923850bac467e66e847e6def7