diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-06 03:42:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-06 03:42:38 +0000 |
commit | 722070e0bad559b622ef50eb52216d05042a3904 (patch) | |
tree | e0888ea8304a6b753bfe173eb4651064ddc2d57d /docs/CommandGuide | |
parent | 0652167bea9d00ac855ddf93883365f8f651f2f8 (diff) |
Improve code generation of long shifts by 32.
On this testcase:
long %test(long %X) {
%Y = shr long %X, ubyte 32
ret long %Y
}
instead of:
t:
mov %EAX, DWORD PTR [%ESP + 4]
mov %EAX, DWORD PTR [%ESP + 8]
sar %EAX, 0
mov %EDX, 0
ret
we now emit:
test:
mov %EAX, DWORD PTR [%ESP + 4]
mov %EAX, DWORD PTR [%ESP + 8]
mov %EDX, 0
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions