summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-11-17 22:10:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-11-17 22:10:14 +0000
commit9e8093ae20933a9db9210cd2ffa054c5c2f4b5f4 (patch)
treeabcc619da9b8dcccd43da6690d96a75144a6ddfd /llvm/lib/Target/PowerPC/PPCBranchSelector.cpp
parentde5fa025abb7a2cd9ea389e9880dde4fdc579598 (diff)
downloadbcm5719-llvm-9e8093ae20933a9db9210cd2ffa054c5c2f4b5f4.tar.gz
bcm5719-llvm-9e8093ae20933a9db9210cd2ffa054c5c2f4b5f4.zip
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. llvm-svn: 31832
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCBranchSelector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud