diff options
author | davej <davej> | 2003-01-27 12:04:56 +0000 |
---|---|---|
committer | davej <davej> | 2003-01-27 12:04:56 +0000 |
commit | 77057314ead04b21a8947553263330c06268fa06 (patch) | |
tree | 912c965f4708c7812c089a74917c4a95a5cc8e89 /bench | |
parent | 81319c47e30d7f013d0070506fd4f9a0c183c8aa (diff) |
Add nehemiah
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmarks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/benchmarks.c b/bench/benchmarks.c index 2ffc069..18a87bd 100644 --- a/bench/benchmarks.c +++ b/bench/benchmarks.c @@ -16,8 +16,12 @@ void show_benchmarks() TIME(asm volatile("int $0x80" :"=a" (ret) :"0" (__NR_getppid)), "int 0x80"); TIME(asm volatile("cpuid": : :"ax", "dx", "cx", "bx"), "cpuid"); + TIME(asm volatile("addl $1,0(%esp)"), "addl"); TIME(asm volatile("lock ; addl $1,0(%esp)"), "locked add"); TIME(asm volatile("lea 1(%eax),%eax"), "lea 1(%%eax),%%eax"); + + TIME(asm volatile("divl (%esp)"), "divl"); + TIME(asm volatile("mull (%esp)"), "mull"); } |