Annotation of researchv10no/cmd/lcc/gen2/mips-iris/tst/spill.s, revision 1.1.1.1

1.1       root        1: .set reorder
                      2: .text
                      3: .globl main
                      4: .text
                      5: .align 2; .ent main
                      6: main:
                      7: $fp1=0
                      8: .frame $sp,0,$31
                      9: L.1:
                     10: j $31
                     11: .end main
                     12: .globl f
                     13: .text
                     14: .align 2; .ent f
                     15: f:
                     16: $fp2=8
                     17: .frame $sp,8,$31
                     18: addu $sp,$sp,-8
                     19: .mask 0xc0000000,-4
                     20: sw $30,0($sp)
                     21: sw $31,4($sp)
                     22: sw $4,8($sp)
                     23: jal f  # int
                     24: move $30,$2
                     25: jal f  # int
                     26: addu $25,$30,$2
                     27: sw $25,$fp2+0($sp)
                     28: L.2:
                     29: lw $30,0($sp)
                     30: lw $31,4($sp)
                     31: addu $sp,$sp,8
                     32: j $31
                     33: .end f
                     34: .globl f2
                     35: .text
                     36: .align 2; .ent f2
                     37: f2:
                     38: $fp3=16
                     39: .frame $sp,16,$31
                     40: addu $sp,$sp,-16
                     41: .mask 0xc0800000,-8
                     42: sw $23,0($sp)
                     43: sw $30,4($sp)
                     44: sw $31,8($sp)
                     45: sw $4,16($sp)
                     46: jal f  # int
                     47: move $23,$2
                     48: lw $25,$fp3+0($sp)
                     49: beq $25,$0,L.6
                     50: jal f  # int
                     51: move $30,$2
                     52: b L.7
                     53: L.6:
                     54: li $30,1
                     55: L.7:
                     56: addu $25,$23,$30
                     57: sw $25,$fp3+0($sp)
                     58: L.4:
                     59: lw $23,0($sp)
                     60: lw $30,4($sp)
                     61: lw $31,8($sp)
                     62: addu $sp,$sp,16
                     63: j $31
                     64: .end f2
                     65: .globl f3
                     66: .text
                     67: .align 2; .ent f3
                     68: f3:
                     69: $fp4=56
                     70: .frame $sp,56,$31
                     71: addu $sp,$sp,-56
                     72: .mask 0xc0ff0000,-20
                     73: sw $16,0($sp)
                     74: sw $17,4($sp)
                     75: sw $18,8($sp)
                     76: sw $19,12($sp)
                     77: sw $20,16($sp)
                     78: sw $21,20($sp)
                     79: sw $22,24($sp)
                     80: sw $23,28($sp)
                     81: sw $30,32($sp)
                     82: sw $31,36($sp)
                     83: sw $4,56($sp)
                     84: sw $5,60($sp)
                     85: move $30,$0
                     86: move $23,$0
                     87: move $22,$0
                     88: move $21,$0
                     89: move $20,$0
                     90: move $19,$0
                     91: move $18,$0
                     92: move $17,$0
                     93: move $16,$0
                     94: sw $0,$fp4-4($sp)
                     95: lw $25,$fp4+4($sp)
                     96: sw $25,$fp4-12($sp)
                     97: addu $24,$25,4
                     98: sw $24,$fp4+4($sp)
                     99: lw $24,$fp4+0($sp)
                    100: sw $24,$fp4-8($sp)
                    101: lw $24,$fp4-8($sp)
                    102: beq $24,$0,L.11
                    103: jal f  # int
                    104: sw $2,$fp4-8($sp)
                    105: L.11:
                    106: lw $25,$fp4-8($sp)
                    107: lw $24,$fp4-12($sp)
                    108: sw $25,($24)
                    109: L.9:
                    110: lw $16,0($sp)
                    111: lw $17,4($sp)
                    112: lw $18,8($sp)
                    113: lw $19,12($sp)
                    114: lw $20,16($sp)
                    115: lw $21,20($sp)
                    116: lw $22,24($sp)
                    117: lw $23,28($sp)
                    118: lw $30,32($sp)
                    119: lw $31,36($sp)
                    120: addu $sp,$sp,56
                    121: j $31
                    122: .end f3
                    123: .globl f4
                    124: .text
                    125: .align 2; .ent f4
                    126: f4:
                    127: $fp5=0
                    128: .frame $sp,0,$31
                    129: move $9,$0
                    130: move $10,$0
                    131: move $11,$0
                    132: move $12,$0
                    133: move $13,$0
                    134: move $14,$0
                    135: lw $25,i
                    136: sll $24,$25,3
                    137: l.d $f18,a($24)
                    138: l.d $f16,b($24)
                    139: add.d $f10,$f18,$f16
                    140: l.d $f8,L.18
                    141: c.eq.d $f10,$f8; bc1t L.16
                    142: beq $25,$0,L.16
                    143: sub.d $f18,$f18,$f16
                    144: c.eq.d $f18,$f8; bc1t L.16
                    145: li $15,1
                    146: b L.17
                    147: L.16:
                    148: move $15,$0
                    149: L.17:
                    150: sw $15,i
                    151: L.14:
                    152: j $31
                    153: .end f4
                    154: .globl f5
                    155: .text
                    156: .align 2; .ent f5
                    157: f5:
                    158: $fp6=0
                    159: .frame $sp,0,$31
                    160: lw $25,k
                    161: lw $24,m
                    162: mul $15,$25,$24
                    163: sll $15,$15,3
                    164: lw $14,A
                    165: addu $15,$15,$14
                    166: l.d $f18,($15)
                    167: lw $13,j
                    168: mul $24,$13,$24
                    169: sll $24,$24,3
                    170: addu $24,$24,$14
                    171: l.d $f16,($24)
                    172: mul.d $f18,$f18,$f16
                    173: lw $14,n
                    174: mul $25,$25,$14
                    175: sll $25,$25,3
                    176: lw $12,B
                    177: addu $25,$25,$12
                    178: l.d $f16,($25)
                    179: mul $14,$13,$14
                    180: sll $14,$14,3
                    181: addu $14,$14,$12
                    182: l.d $f10,($14)
                    183: mul.d $f16,$f16,$f10
                    184: add.d $f18,$f18,$f16
                    185: s.d $f18,x
                    186: l.d $f18,($15)
                    187: l.d $f16,($14)
                    188: mul.d $f18,$f18,$f16
                    189: l.d $f16,($25)
                    190: l.d $f10,($24)
                    191: mul.d $f16,$f16,$f10
                    192: sub.d $f18,$f18,$f16
                    193: s.d $f18,x
                    194: L.19:
                    195: j $31
                    196: .end f5
                    197: .globl x
                    198: .comm x,8
                    199: .globl B
                    200: .comm B,4
                    201: .globl A
                    202: .comm A,4
                    203: .globl n
                    204: .comm n,4
                    205: .globl m
                    206: .comm m,4
                    207: .globl k
                    208: .comm k,4
                    209: .globl j
                    210: .comm j,4
                    211: .globl i
                    212: .comm i,4
                    213: .globl b
                    214: .comm b,80
                    215: .globl a
                    216: .comm a,80
                    217: .rdata
                    218: .align 3; L.18:.word 0x0
                    219: .word 0x0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.