Mercurial > pygar
diff pygar-benchmarks/programs/bit-shift.vmh @ 67:0ede0715dbd6 pygar svn.68
[svn r68] added sensible benchmarks
author | rlm |
---|---|
date | Tue, 11 May 2010 23:23:21 -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/bit-shift.vmh Tue May 11 23:23:21 2010 -0400 1.3 @@ -0,0 +1,90 @@ 1.4 + 1.5 +@400 // <__start> 1.6 +3c1d0002 // 00001000 lui $sp,0x2 1.7 +0c00042d // 00001004 jal 10b4 <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 +10400003 // 0000108c beqz $v0,109c <runWithStats+28> 1.56 +8fa40010 // 00001090 lw $a0,16($sp) 1.57 +0c00041a // 00001094 jal 1068 <putSample> 1.58 +08000420 // 00001098 j 1080 <runWithStats+c> 1.59 +0c00040c // 0000109c jal 1030 <setComp> 1.60 +00002021 // 000010a0 move $a0,$zero 1.61 +0c000409 // 000010a4 jal 1024 <setStats> 1.62 +8fbf0050 // 000010a8 lw $ra,80($sp) 1.63 +27bd0058 // 000010ac addiu $sp,$sp,88 1.64 +03e00008 // 000010b0 jr $ra 1.65 + 1.66 +@42d // <main> 1.67 +27bdffe8 // 000010b4 addiu $sp,$sp,-24 1.68 +24040001 // 000010b8 li $a0,1 1.69 +afbf0010 // 000010bc sw $ra,16($sp) 1.70 +0c00041d // 000010c0 jal 1074 <runWithStats> 1.71 +0c00040c // 000010c4 jal 1030 <setComp> 1.72 +8fbf0010 // 000010c8 lw $ra,16($sp) 1.73 +27bd0018 // 000010cc addiu $sp,$sp,24 1.74 +03e00008 // 000010d0 jr $ra 1.75 +00000000 // 000010d4 nop 1.76 +00000000 // 000010d8 nop 1.77 +00000000 // 000010dc nop 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