[Mono-bugs] [Bug 373269] Math.Min and Math.Max

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Mar 30 11:16:13 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=373269

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=373269#c10





--- Comment #10 from Sebastien Pouliot <spouliot at novell.com>  2008-03-30 09:16:13 MST ---
Since Math.Min|Max seems to get better results (for most including, even if
just a bit, my laptop) I guess this rule is worth completing. Hopefully the
delta will enlarge and make the rule more significant :-)

[note: Thanks to everyone for their numbers]

INLINE

poupou at poupou:~> mcs minmax.cs 
poupou at poupou:~> time mono minmax.exe 
11727587164160

real    0m27.664s
user    0m25.738s
sys     0m0.188s

MATH.MIN|MAX
poupou at poupou:~> mcs minmax.cs 
poupou at poupou:~> time mono minmax.exe 
11727587164160

real    0m26.223s
user    0m24.482s
sys     0m0.220s

poupou at poupou:~> cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 4
model name      : AMD Athlon(tm) XP Processor 3000+
stepping        : 8
cpu MHz         : 800.000
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext 3dnowext 3dnow up ts fid
vid ttp
bogomips        : 1597.24
clflush size    : 64


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list