commit | f7ef26e7012fdf0ec6366489d269997f2ed1ba97 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Aug 09 21:59:35 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Aug 09 21:59:35 2007 +0000 |
tree | 6885604b79c658bc26cbd0d7515f30cb09628fae | |
parent | f2369f20427d0e74c36b1ee90ae7892b5eb55b95 [diff] |
divb / mulb outputs to ah. Under x86-64 it's not legal to read ah if the instruction requires a rex prefix (i.e. outputs to r8b, etc.). So issue shift right by 8 on AX and then truncate it to 8 bits instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40972 91177308-0d34-0410-b5e6-96231b3b80d8