2002-11-02 20:13:40 +00:00
|
|
|
|
|
|
|
void %test() {
|
|
|
|
%A = add sbyte 0, 12
|
|
|
|
%B = sub sbyte %A, %A
|
2002-11-02 20:28:47 +00:00
|
|
|
%C = mul sbyte %B, %B
|
2002-11-02 20:54:11 +00:00
|
|
|
%D = div sbyte %C, %C
|
|
|
|
%E = rem sbyte %D, %D
|
|
|
|
%F = div ubyte 5, 6
|
|
|
|
%G = rem ubyte 6, 5
|
2002-11-02 20:13:40 +00:00
|
|
|
|
|
|
|
%A = add short 0, 12
|
|
|
|
%B = sub short %A, %A
|
2002-11-02 20:28:47 +00:00
|
|
|
%C = mul short %B, %B
|
2002-11-02 20:54:11 +00:00
|
|
|
%D = div short %C, %C
|
|
|
|
%E = rem short %D, %D
|
|
|
|
%F = div ushort 5, 6
|
|
|
|
%G = rem uint 6, 5
|
2002-11-02 20:13:40 +00:00
|
|
|
|
|
|
|
%A = add int 0, 12
|
|
|
|
%B = sub int %A, %A
|
2002-11-02 20:28:47 +00:00
|
|
|
%C = mul int %B, %B
|
2002-11-02 20:54:11 +00:00
|
|
|
%D = div int %C, %C
|
|
|
|
%E = rem int %D, %D
|
|
|
|
%F = div uint 5, 6
|
|
|
|
%G = rem uint 6, 5
|
2002-11-02 20:13:40 +00:00
|
|
|
|
|
|
|
ret void
|
|
|
|
}
|