mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-27 15:57:13 +00:00
new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26002 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c031e33b68
commit
fee906b482
@ -61,3 +61,9 @@ uint %test10(uint %X, bool %C) {
|
|||||||
ret uint %R
|
ret uint %R
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint %test10(uint %X, ubyte %B) {
|
||||||
|
%Amt = shl uint 32, ubyte %B
|
||||||
|
%V = div uint %X, %Amt
|
||||||
|
ret uint %V
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -31,3 +31,10 @@ uint %test4(uint %X, bool %C) {
|
|||||||
%R = rem uint %X, %V
|
%R = rem uint %X, %V
|
||||||
ret uint %R
|
ret uint %R
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint %test5(uint %X, ubyte %B) {
|
||||||
|
%Amt = shl uint 32, ubyte %B
|
||||||
|
%V = rem uint %X, %Amt
|
||||||
|
ret uint %V
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user