qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Hirschmann <steffen_hirschmann@web.de>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org,
	Pierrick Bouvier <pierrick.bouvier@linaro.org>,
	Mahmoud Mandour <ma.mandourr@gmail.com>,
	Alexandre Iooss <erdnaxe@crans.org>
Subject: Re: [PATCH RFC 1/1] TCG insn.c: Implement counting specific addresses
Date: Wed, 28 May 2025 12:35:38 +0200	[thread overview]
Message-ID: <aDbm-m2pasVXq7Bw@Obrian> (raw)
In-Reply-To: <875xhvbca5.fsf@draig.linaro.org>

Sorry, my first message seems to not have made it out...

Thanks for the review, I posted a v2 patch to the list.

On Tue, May 20, 2025 at 03:13:38PM +0100, Alex Bennée wrote:
> This seems reasonable. Do you have any specific use cases where this
> information is useful?
In an embedded application with Tensorflow-lite micro that uses CMSIS-NN
as backend.
I optimized some compute kernels in the backend (think of matrix
multiplication) for a Cortex-M core. Since these compute kernels are
leaf functions (every helper is properly inlined), I used this patch to
count the number of executed instructions within the kernels.

Greetings,
Steffen



  reply	other threads:[~2025-05-28 10:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-30 10:59 [PATCH RFC 0/1] TCG plugin libinso.so: Virtual address range count steffen_hirschmann
2025-04-30 10:59 ` [PATCH RFC 1/1] TCG insn.c: Implement counting specific addresses steffen_hirschmann
2025-05-20 14:13   ` Alex Bennée
2025-05-28 10:35     ` Steffen Hirschmann [this message]
2025-05-26 14:35   ` [PATCH RFC v2 " steffen_hirschmann

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=aDbm-m2pasVXq7Bw@Obrian \
    --to=steffen_hirschmann@web.de \
    --cc=alex.bennee@linaro.org \
    --cc=erdnaxe@crans.org \
    --cc=ma.mandourr@gmail.com \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).