From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: [libre-riscv-dev] Fwd: [OpenPOWER-HDL-Cores] POWER9 ISA opcode usage statistics
Date: Sun, 24 May 2020 02:01:28 +0100
Message-ID: <CAPweEDxVEHxM+JD6tF9AurZ7686sSndGgcXutqUaqMGYQzQb0w@mail.gmail.com> (raw)
In-Reply-To: <CAO3ALPwjLPh8y_UAucNxZ0Zc9TjgQZmPgTq8M4fuQLhiUioThg@mail.gmail.com>
can someone please capture this in a bugreport?
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
---------- Forwarded message ---------
From: Forest Crossman <cyrozap@gmail.com>
Date: Sun, May 24, 2020 at 12:31 AM
Subject: Re: [OpenPOWER-HDL-Cores] POWER9 ISA opcode usage statistics
To: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
Cc: <openpower-hdl-cores@mailinglist.openpowerfoundation.org>
> whilst i appreciate that these statistics will be use-case-specific
> for certain workloads, does anyone know of any studies that have
> already been done, or of any libre-licensed tools that help with the
> same?
I realize it's been over three weeks since you posted this question,
so maybe you've found an answer already, but I had an idea on how to
do it so I decided to try it. I ended up with the following bash
script: https://paste.debian.net/hidden/10201ca1
I ran that script on my Talos II running Debian 8 and got the
following results: https://paste.debian.net/hidden/13696b59
Note that Debian for ppc64el is built without `-mcpu=power9`, so these
statistics won't include any POWER9 instructions. If you want to get
the stats for that, you'll want to build Debian (or another popular
distro) with the `-mcpu=power9` flag to make sure the POWER9
instructions and optimizations are enabled. It also might be a good
idea to gather instruction statistics for the kernel as well, since
kernel code might have a different distribution than the userspace
code I sampled.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
parent reply index
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAO3ALPwjLPh8y_UAucNxZ0Zc9TjgQZmPgTq8M4fuQLhiUioThg@mail.gmail.com>]
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=CAPweEDxVEHxM+JD6tF9AurZ7686sSndGgcXutqUaqMGYQzQb0w@mail.gmail.com \
--to=lkcl@lkcl.net \
--cc=libre-riscv-dev@lists.libre-riscv.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
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git