public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Georgi Georgiev <chutz@gg3.net>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Script to test instruction set.
Date: Wed, 13 Aug 2003 03:23:43 +0900	[thread overview]
Message-ID: <20030812182343.GA8128%chutz@gg3.net> (raw)
In-Reply-To: <20030812115517.GA18146@sdf.lonestar.org>

[-- Attachment #1: Type: text/plain, Size: 944 bytes --]

The shell script runs a little too slow, so I took the liberty of converting it
to perl. Here is why:

chutz@lion tmp $ time ./analyse-x86.sh /bin/ls
Checking vendor_id string...AuthenticAMD
Disassembling /bin/ls, please wait...
i486:    0 i586:    0 mmx:    0 sse:    0 3dnow:    0 ext3dnow:   21
/bin/ls will run on AMD Athlon (athlon) or higher processor.

real    1m1.848s
user    1m0.310s
sys     0m0.210s

chutz@lion tmp $ time ./analyse-x86.pl /bin/ls
Checking vendor_id string...AuthenticAMD
Disassembling /bin/ls, please wait...
i486:    0 i586:    0 mmx:    0 sse:    0 3dnow:    0 ext3dnow:   21
/bin/ls will run on AMD Athlon (athlon) or higher processor.

real    0m3.733s
user    0m3.610s
sys     0m0.000s

-- 
\    Georgi Georgiev   \  Beauty seldom recommends one woman to        \
/     chutz@gg3.net    /  another.                                     /
\   +81(90)6266-1163   \                                               \

[-- Attachment #2: analyse-x86.pl --]
[-- Type: application/x-perl, Size: 7959 bytes --]

[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

  parent reply	other threads:[~2003-08-12 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12 11:55 [gentoo-dev] Script to test instruction set Tavis Ormandy
2003-08-12 14:13 ` Norbert Kamenicky
2003-08-12 14:45   ` Tavis Ormandy
2003-08-12 14:26 ` Philippe Lafoucrière
2003-08-12 14:43   ` Tavis Ormandy
2003-08-12 15:37 ` Ned Ludd
2003-08-12 18:23 ` Georgi Georgiev [this message]
2003-08-13  5:04   ` Joerg Plate
2003-08-13  8:08     ` Georgi Georgiev
2003-08-13  8:24       ` Georgi Georgiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030812182343.GA8128%chutz@gg3.net \
    --to=chutz@gg3.net \
    --cc=chutz-dated-1061922225.42e4cafbc9c5@gg3.net \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox