Re: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-10-19 Thread Richard Henderson
On 10/19/20 3:44 PM, Owen Anderson wrote: > My use case is currently using QEMU 4.0, but we will be moving to QEMU > 4.2 soon. I do not have --enable-tcg-debug enabled. > e979972a6a1 does look promising, and like it might deliver increased > performance for our use case. It looks like the code in

Re: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-10-19 Thread Owen Anderson
On Mon, Oct 19, 2020 at 11:22 AM Richard Henderson wrote: > > (1) What qemu version are you looking at and, > (2) Do you have --enable-tcg-debug enabled? My use case is a large automated testing environment for large C++ binaries with heavy use of virtual dispatch. The binaries are generally not

Re: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-10-19 Thread Richard Henderson
On 9/29/20 2:32 PM, Owen Anderson wrote: > Hello, > > I would like to request feedback on the following patch, which I do > not believe should be applied to master as-is. The idea here is to > avoid gathering the full CPU state in the fast path of an indirect > branch lookup when running in user

Re: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-10-19 Thread Owen Anderson
nch lookups from the hot stack traces entirely. > > > > Thank you, > > > > --Owen > > > > From 3d96db17d3baacb92ef1bc5e70ef06b97d06a0ae Mon Sep 17 00:00:00 2001 > > From: Owen Anderson > > Date: Tue, 29 Sep 2020 13:47:00 -0700 > > Subject: [

Re: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-10-12 Thread Owen Anderson
son > Date: Tue, 29 Sep 2020 13:47:00 -0700 > Subject: [RFC] Don't lookup full CPU state in the indirect branch fast path on > AArch64 when running in user mode. > > Most of the CPU state can't be changed in user mode, so this is useless work. > > Signed-off-by: Owen

[RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode.

2020-09-29 Thread Owen Anderson
001 From: Owen Anderson Date: Tue, 29 Sep 2020 13:47:00 -0700 Subject: [RFC] Don't lookup full CPU state in the indirect branch fast path on AArch64 when running in user mode. Most of the CPU state can't be changed in user mode, so this is useless work. Signed-off-by: Owen Anderson --