commit | b1409ce7ba3cea5e75fd205d4c037638d93cfeaf | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Nov 17 22:10:14 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Nov 17 22:10:14 2006 +0000 |
tree | 38d2183476194d183a5808f3c6df6dce7045c932 | |
parent | 9dea41d9e1c9e288630db503668468560aa4286e [diff] |
For unsigned 8-bit division. Use movzbw to set the lower 8 bits of AX while clearing the upper 8-bits instead of issuing two instructions. This also eliminates the need to target the AH register which can be problematic on x86-64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31832 91177308-0d34-0410-b5e6-96231b3b80d8