mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add tests for 64 bit shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9171ef5e8d
commit
e4a013377a
@ -23,9 +23,15 @@ int %main() {
|
||||
%t2 = shr uint 1, ubyte 5
|
||||
|
||||
;%t1 = shr long 1, ubyte %shamt
|
||||
%t2 = shr long 1, ubyte 4
|
||||
%t1 = shr long 1, ubyte 4
|
||||
%t2 = shr long 1, ubyte %shamt
|
||||
%t3 = shl long 1, ubyte 4
|
||||
%t4 = shl long 1, ubyte %shamt
|
||||
|
||||
;%t1 = shr ulong 1, ubyte %shamt
|
||||
%t2 = shr ulong 1, ubyte 5
|
||||
%t1 = shr ulong 1, ubyte 5
|
||||
%t2 = shr ulong 1, ubyte %shamt
|
||||
%t3 = shl ulong 1, ubyte 5
|
||||
%t4 = shl ulong 1, ubyte %shamt
|
||||
ret int 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user