mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Test long support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3fa61eb199
commit
376b12707a
@ -1,4 +1,3 @@
|
||||
|
||||
int %main() {
|
||||
%A = add sbyte 0, 12
|
||||
%B = sub sbyte %A, 1
|
||||
@ -24,5 +23,13 @@ int %main() {
|
||||
%F = div uint 5, 6
|
||||
%G = rem uint 6, 5
|
||||
|
||||
%A = add long 0, 12
|
||||
%B = sub long %A, 1
|
||||
%C = mul long %B, %B
|
||||
%D = div long %C, %C
|
||||
%E = rem long %D, %D
|
||||
%F = div ulong 5, 6
|
||||
%G = rem ulong 6, 5
|
||||
|
||||
ret int 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user