mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Fix a bug in a recent patch that broke shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bd3d25c6b1
commit
5b9bbc8792
@ -918,11 +918,11 @@ let isTwoAddress = 0 in {
|
||||
def SHL32mCL : I<0xD3, MRM4m, (ops i32mem:$dst),
|
||||
"shl{l} {%cl, $dst|$dst, %CL}", []>, Imp<[CL],[]>;
|
||||
def SHL8mi : Ii8<0xC0, MRM4m, (ops i8mem :$dst, i8imm:$src),
|
||||
"shl{b} {$src, $dst|$dst, $src}, []", []>;
|
||||
"shl{b} {$src, $dst|$dst, $src}", []>;
|
||||
def SHL16mi : Ii8<0xC1, MRM4m, (ops i16mem:$dst, i8imm:$src),
|
||||
"shl{w} {$src, $dst|$dst, $src}, []", []>, OpSize;
|
||||
"shl{w} {$src, $dst|$dst, $src}", []>, OpSize;
|
||||
def SHL32mi : Ii8<0xC1, MRM4m, (ops i32mem:$dst, i8imm:$src),
|
||||
"shl{l} {$src, $dst|$dst, $src}, []", []>;
|
||||
"shl{l} {$src, $dst|$dst, $src}", []>;
|
||||
}
|
||||
|
||||
def SHR8rCL : I<0xD2, MRM5r, (ops R8 :$dst, R8 :$src),
|
||||
|
Loading…
Reference in New Issue
Block a user