Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-16 Thread Richard Henderson
On 8/17/24 01:42, Pierrick Bouvier wrote: User mode uses a shared code cache while system mode uses a code cache per vcpu (thus, translation can happen concurrently). Not 100% accurate. The system mode code cache is global, but is partitioned so that each partition has a different lock, so th

Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-16 Thread Pierrick Bouvier
On 8/15/24 22:28, Akihiko Odaki wrote: On 2024/08/16 14:13, Akihiko Odaki wrote: On 2024/08/15 14:48, Pierrick Bouvier wrote: On 8/14/24 20:04, Akihiko Odaki wrote: SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating

Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-15 Thread Akihiko Odaki
On 2024/08/16 14:13, Akihiko Odaki wrote: On 2024/08/15 14:48, Pierrick Bouvier wrote: On 8/14/24 20:04, Akihiko Odaki wrote: SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating basic block vectors for use with them.

Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-15 Thread Akihiko Odaki
On 2024/08/15 14:48, Pierrick Bouvier wrote: On 8/14/24 20:04, Akihiko Odaki wrote: SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating basic block vectors for use with them. Let's add a corresponding plugin to QEMU to

Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-14 Thread Pierrick Bouvier
On 8/14/24 22:48, Pierrick Bouvier wrote: On 8/14/24 20:04, Akihiko Odaki wrote: SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating basic block vectors for use with them. Let's add a corresponding plugin to QEMU too.

Re: [PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-14 Thread Pierrick Bouvier
On 8/14/24 20:04, Akihiko Odaki wrote: SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating basic block vectors for use with them. Let's add a corresponding plugin to QEMU too. Note that this plugin has a different goal

[PATCH v2] contrib/plugins: Add a plugin to generate basic block vectors

2024-08-14 Thread Akihiko Odaki
SimPoint is a widely used tool to find the ideal microarchitecture simulation points so Valgrind[2] and Pin[3] support generating basic block vectors for use with them. Let's add a corresponding plugin to QEMU too. Note that this plugin has a different goal with tests/plugin/bb.c. This plugin cre