All pastes #216528 Raw Edit

Unnamed

public text v1 · immutable
#216528 ·published 2006-10-23 05:02 UTC
rendered paste body
function 0x120012110(i1 : uint, i2 : uint) : uint
        incoming_reg(i1, a0)
        incoming_reg(i2, a1)
.L0:
        i5 = i1 != i2
.L1:
        i6 = i2 - i1
        return_int(i6)
        ends_in_dead
end

function 0x120012110(uint, uint) : uint

/tmp/libjit-dump.o:     file format elf64-alpha

Disassembly of section .text:

00000200002c6000 <.text>:
 200002c6000:   00 00 bb 27     ldah    gp,0(t12)
 200002c6004:   00 00 bd 23     lda     gp,0(gp)
 200002c6008:   f0 ff de 23     lda     sp,-16(sp)
 200002c600c:   00 00 5e b7     stq     ra,0(sp)
 200002c6010:   08 00 fe b5     stq     fp,8(sp)
 200002c6014:   0f 04 fe 47     mov     sp,fp
 200002c6018:   00 00 00 60     trapb
 200002c601c:   08 04 f1 47     mov     a1,t7
 200002c6020:   09 04 f0 47     mov     a0,s0
 200002c6024:   01 04 f1 47     mov     a1,t0
 200002c6028:   02 04 f0 47     mov     a0,t1
 200002c602c:   21 01 41 40     subl    t1,t0,t0
 200002c6030:   00 04 e1 47     mov     t0,v0
 200002c6034:   00 00 9f 27     ldah    at,0
 200002c6038:   00 02 9c 23     lda     at,512(at)
 200002c603c:   3c 17 84 4b     sll     at,0x20,at
 200002c6040:   2c 00 9c 27     ldah    at,44(at)
 200002c6044:   4c 60 9c 23     lda     at,24652(at)
 200002c6048:   01 00 fc 6b     jmp     zero,(at),0x200002c6050
 200002c604c:   1e 04 ef 47     mov     fp,sp
 200002c6050:   00 00 5e a7     ldq     ra,0(sp)
 200002c6054:   08 00 fe a5     ldq     fp,8(sp)
 200002c6058:   80 00 de 23     lda     sp,128(sp)
 200002c605c:   00 00 00 60     trapb
 200002c6060:   01 80 fa 6b     ret

end

fail


----



function 0x120012110(i1 : uint, i2 : uint) : uint
        incoming_reg(i1, a0)
        incoming_reg(i2, a1)
.L0:
.L1:
        i5 = i2 - i1
        return_int(i5)
        ends_in_dead
end

function 0x120012110(uint, uint) : uint

/tmp/libjit-dump.o:     file format elf64-alpha

Disassembly of section .text:

00000200002c6000 <.text>:
 200002c6000:   00 00 bb 27     ldah    gp,0(t12)
 200002c6004:   00 00 bd 23     lda     gp,0(gp)
 200002c6008:   f0 ff de 23     lda     sp,-16(sp)
 200002c600c:   00 00 5e b7     stq     ra,0(sp)
 200002c6010:   08 00 fe b5     stq     fp,8(sp)
 200002c6014:   0f 04 fe 47     mov     sp,fp
 200002c6018:   00 00 00 60     trapb
 200002c601c:   f0 ff 2f b6     stq     a1,-16(fp)
 200002c6020:   e8 ff 0f b6     stq     a0,-24(fp)
 200002c6024:   01 04 f1 47     mov     a1,t0
 200002c6028:   02 04 f0 47     mov     a0,t1
 200002c602c:   21 01 41 40     subl    t1,t0,t0
 200002c6030:   00 04 e1 47     mov     t0,v0
 200002c6034:   00 00 9f 27     ldah    at,0
 200002c6038:   00 02 9c 23     lda     at,512(at)
 200002c603c:   3c 17 84 4b     sll     at,0x20,at
 200002c6040:   2c 00 9c 27     ldah    at,44(at)
 200002c6044:   4c 60 9c 23     lda     at,24652(at)
 200002c6048:   01 00 fc 6b     jmp     zero,(at),0x200002c6050
 200002c604c:   1e 04 ef 47     mov     fp,sp
 200002c6050:   00 00 5e a7     ldq     ra,0(sp)
 200002c6054:   08 00 fe a5     ldq     fp,8(sp)
 200002c6058:   80 00 de 23     lda     sp,128(sp)
 200002c605c:   00 00 00 60     trapb
 200002c6060:   01 80 fa 6b     ret

end

gcd(27, 14) = 13