diff pygar-benchmarks/programs/louder.smips.vmh @ 73:0f86d486e38e pygar svn.74

[svn r74] added new programs to run on processor.
author punk
date Wed, 12 May 2010 02:01:01 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pygar-benchmarks/programs/louder.smips.vmh	Wed May 12 02:01:01 2010 -0400
     1.3 @@ -0,0 +1,98 @@
     1.4 +
     1.5 +@400      // <__start>
     1.6 +3c1d0002  // 00001000 lui $sp,0x2
     1.7 +0c000438  // 00001004 jal 10e0 <main>
     1.8 +00000000  // 00001008 nop
     1.9 +00000000  // 0000100c nop
    1.10 +
    1.11 +@404      // <verify>
    1.12 +24020001  // 00001010 li $v0,1
    1.13 +03e00008  // 00001014 jr $ra
    1.14 +
    1.15 +@406      // <finishTest>
    1.16 +4084a800  // 00001018 mtc0 $a0,$21
    1.17 +08000407  // 0000101c j 101c <finishTest+4>
    1.18 +00000000  // 00001020 nop
    1.19 +
    1.20 +@409      // <setStats>
    1.21 +40845000  // 00001024 mtc0 $a0,$10
    1.22 +03e00008  // 00001028 jr $ra
    1.23 +00000000  // 0000102c nop
    1.24 +
    1.25 +@40c      // <setComp>
    1.26 +24020001  // 00001030 li $v0,1
    1.27 +4082d000  // 00001034 mtc0 $v0,$26
    1.28 +03e00008  // 00001038 jr $ra
    1.29 +00000000  // 0000103c nop
    1.30 +
    1.31 +@410      // <getSample>
    1.32 +4003c800  // 00001040 mfc0 $v1,$25
    1.33 +24020001  // 00001044 li $v0,1
    1.34 +10620004  // 00001048 beq $v1,$v0,105c <getSample+1c>
    1.35 +4005e000  // 0000104c mfc0 $a1,$28
    1.36 +00000000  // 00001050 nop
    1.37 +ac850000  // 00001054 sw $a1,0($a0)
    1.38 +03e00008  // 00001058 jr $ra
    1.39 +ac800000  // 0000105c sw $zero,0($a0)
    1.40 +00001021  // 00001060 move $v0,$zero
    1.41 +03e00008  // 00001064 jr $ra
    1.42 +
    1.43 +@41a      // <putSample>
    1.44 +4084d800  // 00001068 mtc0 $a0,$27
    1.45 +03e00008  // 0000106c jr $ra
    1.46 +00000000  // 00001070 nop
    1.47 +
    1.48 +@41d      // <runWithStats>
    1.49 +27bdffa8  // 00001074 addiu $sp,$sp,-88
    1.50 +afbf0050  // 00001078 sw $ra,80($sp)
    1.51 +0c000409  // 0000107c jal 1024 <setStats>
    1.52 +27a40010  // 00001080 addiu $a0,$sp,16
    1.53 +0c000410  // 00001084 jal 1040 <getSample>
    1.54 +00021400  // 00001088 sll $v0,$v0,0x10
    1.55 +1040000e  // 0000108c beqz $v0,10c8 <runWithStats+54>
    1.56 +8fa40010  // 00001090 lw $a0,16($sp)
    1.57 +28824000  // 00001094 slti $v0,$a0,16384
    1.58 +14400003  // 00001098 bnez $v0,10a8 <runWithStats+34>
    1.59 +24047fff  // 0000109c li $a0,32767
    1.60 +0c00041a  // 000010a0 jal 1068 <putSample>
    1.61 +08000420  // 000010a4 j 1080 <runWithStats+c>
    1.62 +2882c001  // 000010a8 slti $v0,$a0,-16383
    1.63 +10400003  // 000010ac beqz $v0,10bc <runWithStats+48>
    1.64 +24048001  // 000010b0 li $a0,-32767
    1.65 +0c00041a  // 000010b4 jal 1068 <putSample>
    1.66 +08000420  // 000010b8 j 1080 <runWithStats+c>
    1.67 +00042040  // 000010bc sll $a0,$a0,0x1
    1.68 +0c00041a  // 000010c0 jal 1068 <putSample>
    1.69 +08000420  // 000010c4 j 1080 <runWithStats+c>
    1.70 +0c00040c  // 000010c8 jal 1030 <setComp>
    1.71 +00002021  // 000010cc move $a0,$zero
    1.72 +0c000409  // 000010d0 jal 1024 <setStats>
    1.73 +8fbf0050  // 000010d4 lw $ra,80($sp)
    1.74 +27bd0058  // 000010d8 addiu $sp,$sp,88
    1.75 +03e00008  // 000010dc jr $ra
    1.76 +
    1.77 +@438      // <main>
    1.78 +27bdffe8  // 000010e0 addiu $sp,$sp,-24
    1.79 +24040001  // 000010e4 li $a0,1
    1.80 +afbf0010  // 000010e8 sw $ra,16($sp)
    1.81 +0c00041d  // 000010ec jal 1074 <runWithStats>
    1.82 +0c00040c  // 000010f0 jal 1030 <setComp>
    1.83 +8fbf0010  // 000010f4 lw $ra,16($sp)
    1.84 +27bd0018  // 000010f8 addiu $sp,$sp,24
    1.85 +03e00008  // 000010fc jr $ra
    1.86 +
    1.87 +@440      // <_heapend>
    1.88 +00000000  // 00001100 nop
    1.89 +
    1.90 +@441      // <environ>
    1.91 +00000000  // 00001104 nop
    1.92 +00000000  // 00001108 nop
    1.93 +00000000  // 0000110c nop
    1.94 +
    1.95 +@444      // <.reginfo>
    1.96 +a000003c  // 00001110 sb $zero,60($zero)
    1.97 +00000000  // 00001114 nop
    1.98 +00000000  // 00001118 nop
    1.99 +00000000  // 0000111c nop
   1.100 +00000000  // 00001120 nop
   1.101 +000090f0  // 00001124 tge $zero,$zero