mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
c60c334612
the PowerPC JIT. Hence, they are XFAILs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18443 91177308-0d34-0410-b5e6-96231b3b80d8
40 lines
711 B
LLVM
40 lines
711 B
LLVM
; XFAIL: darwin
|
|
; RUN: llvm-as -f %s -o %t.bc
|
|
; RUN: lli %t.bc > /dev/null
|
|
|
|
int %main() {
|
|
%A = add sbyte 0, 12
|
|
%B = sub sbyte %A, 1
|
|
%C = mul sbyte %B, %B
|
|
%D = div sbyte %C, %C
|
|
%E = rem sbyte %D, %D
|
|
%F = div ubyte 5, 6
|
|
%G = rem ubyte 6, 5
|
|
|
|
%A = add short 0, 12
|
|
%B = sub short %A, 1
|
|
%C = mul short %B, %B
|
|
%D = div short %C, %C
|
|
%E = rem short %D, %D
|
|
%F = div ushort 5, 6
|
|
%G = rem uint 6, 5
|
|
|
|
%A = add int 0, 12
|
|
%B = sub int %A, 1
|
|
%C = mul int %B, %B
|
|
%D = div int %C, %C
|
|
%E = rem int %D, %D
|
|
%F = div uint 5, 6
|
|
%G1 = 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
|
|
}
|