Re: [PATCH 02/10][v6] powerpc/Power7: detect load/store instructions

From: Sukadev Bhattiprolu
Date: Wed Oct 16 2013 - 11:28:19 EST


David Laight [David.Laight@xxxxxxxxxx] wrote:
|
| I can't help feeling the code could do with some comments about
| which actual instructions are selected where.

At a high level, only the load and store instructions are selected.

I added a reference to the Appendix F (Opcode maps) in the function
header. The opcode maps is a table of upper x lower values. From
that table it should be fairly straightforward which instructions
are selected.

How about I add this to the function header ?

* Please use the table in Appendix F (opcode maps) to determine
* events selected by this function.

There are over 100 instructions selected by this list and wasn't
sure if we should list them all.

Sukadev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/