diff pygar-benchmarks/programs/softer.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/softer.smips.vmh	Wed May 12 02:01:01 2010 -0400
     1.3 @@ -0,0 +1,90 @@
     1.4 +
     1.5 +@400      // <__start>
     1.6 +3c1d0002  // 00001000 lui $sp,0x2
     1.7 +0c000430  // 00001004 jal 10c0 <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 +10400006  // 0000108c beqz $v0,10a8 <runWithStats+34>
    1.56 +8fa40010  // 00001090 lw $a0,16($sp)
    1.57 +000417c2  // 00001094 srl $v0,$a0,0x1f
    1.58 +00822021  // 00001098 addu $a0,$a0,$v0
    1.59 +00042043  // 0000109c sra $a0,$a0,0x1
    1.60 +0c00041a  // 000010a0 jal 1068 <putSample>
    1.61 +08000420  // 000010a4 j 1080 <runWithStats+c>
    1.62 +0c00040c  // 000010a8 jal 1030 <setComp>
    1.63 +00002021  // 000010ac move $a0,$zero
    1.64 +0c000409  // 000010b0 jal 1024 <setStats>
    1.65 +8fbf0050  // 000010b4 lw $ra,80($sp)
    1.66 +27bd0058  // 000010b8 addiu $sp,$sp,88
    1.67 +03e00008  // 000010bc jr $ra
    1.68 +
    1.69 +@430      // <main>
    1.70 +27bdffe8  // 000010c0 addiu $sp,$sp,-24
    1.71 +24040001  // 000010c4 li $a0,1
    1.72 +afbf0010  // 000010c8 sw $ra,16($sp)
    1.73 +0c00041d  // 000010cc jal 1074 <runWithStats>
    1.74 +0c00040c  // 000010d0 jal 1030 <setComp>
    1.75 +8fbf0010  // 000010d4 lw $ra,16($sp)
    1.76 +27bd0018  // 000010d8 addiu $sp,$sp,24
    1.77 +03e00008  // 000010dc jr $ra
    1.78 +
    1.79 +@438      // <_heapend>
    1.80 +00000000  // 000010e0 nop
    1.81 +
    1.82 +@439      // <environ>
    1.83 +00000000  // 000010e4 nop
    1.84 +00000000  // 000010e8 nop
    1.85 +00000000  // 000010ec nop
    1.86 +
    1.87 +@43c      // <.reginfo>
    1.88 +a000003c  // 000010f0 sb $zero,60($zero)
    1.89 +00000000  // 000010f4 nop
    1.90 +00000000  // 000010f8 nop
    1.91 +00000000  // 000010fc nop
    1.92 +00000000  // 00001100 nop
    1.93 +000090d0  // 00001104 0x90d0