Re: [PATCH v5 53/55] plugins: add sparc64 instruction classification table

2019-10-15 Thread Richard Henderson
On 10/15/19 12:09 PM, Alex Bennée wrote: > How similar are the sparc and sparc64 decodes? Is there a canonical > table you can point to? sparc64 is a superset of sparc32. Appendix A of https://community.oracle.com/docs/DOC-1005258 r~

Re: [PATCH v5 53/55] plugins: add sparc64 instruction classification table

2019-10-15 Thread Alex Bennée
Richard Henderson writes: > On 10/14/19 3:49 AM, Alex Bennée wrote: >> +InsnClassExecCount sparc32_insn_classes[] = { >> +{ "Call","call", 0xc000, 0x4000, COUNT_CLASS}, >> +{ "Branch ICond","bcc",0xc1c0, 0x0080, COUNT_CLASS}, >> +{ "Bran

Re: [PATCH v5 53/55] plugins: add sparc64 instruction classification table

2019-10-14 Thread Richard Henderson
On 10/14/19 3:49 AM, Alex Bennée wrote: > +InsnClassExecCount sparc32_insn_classes[] = { > +{ "Call","call", 0xc000, 0x4000, COUNT_CLASS}, > +{ "Branch ICond","bcc",0xc1c0, 0x0080, COUNT_CLASS}, > +{ "Branch Fcond","fbcc", 0xc1c000

[PATCH v5 53/55] plugins: add sparc64 instruction classification table

2019-10-14 Thread Alex Bennée
As an example of another set of instructions. Signed-off-by: Alex Bennée --- tests/plugin/howvec.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/tests/plugin/howvec.c b/tests/plugin/howvec.c index 5f7c740833..9ec0d25e3b 100644 --- a/tests/plugin/howvec.c +++ b/tests