mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Implementing shift left & shift right on pointers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
53e9983790
commit
743cd3e2b8
@ -958,6 +958,7 @@ static void executeShlInst(ShiftInst &I, ExecutionContext &SF) {
|
||||
IMPLEMENT_SHIFT(<<, Int);
|
||||
IMPLEMENT_SHIFT(<<, ULong);
|
||||
IMPLEMENT_SHIFT(<<, Long);
|
||||
IMPLEMENT_SHIFT(<<, Pointer);
|
||||
default:
|
||||
cout << "Unhandled type for Shl instruction: " << Ty << "\n";
|
||||
}
|
||||
@ -979,6 +980,7 @@ static void executeShrInst(ShiftInst &I, ExecutionContext &SF) {
|
||||
IMPLEMENT_SHIFT(>>, Int);
|
||||
IMPLEMENT_SHIFT(>>, ULong);
|
||||
IMPLEMENT_SHIFT(>>, Long);
|
||||
IMPLEMENT_SHIFT(>>, Pointer);
|
||||
default:
|
||||
cout << "Unhandled type for Shr instruction: " << Ty << "\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user