diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2013-04-22 21:42:40 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-26 08:11:11 +0200 |
commit | 95213959aefc94f1cfe6718449a8bcdc8df86060 (patch) | |
tree | 882818be1fbcbd9e3cf3e276e39970fa716e5c7f /arch/powerpc/perf/Makefile | |
parent | powerpc/perf: Power8 PMU support (diff) | |
download | linux-95213959aefc94f1cfe6718449a8bcdc8df86060.tar.xz linux-95213959aefc94f1cfe6718449a8bcdc8df86060.zip |
powerpc/perf: Add new BHRB related instructions for POWER8
This patch adds new POWER8 instruction encoding for reading
and clearing Branch History Rolling Buffer entries. The new
instruction 'mfbhrbe' (move from branch history rolling buffer
entry) is used to read BHRB buffer entries and instruction
'clrbhrb' (clear branch history rolling buffer) is used to
clear the entire buffer. The instruction 'clrbhrb' has straight
forward encoding. But the instruction encoding format for
reading the BHRB entries is like 'mfbhrbe RT, BHRBE' where it
takes two arguments, i.e the index for the BHRB buffer entry to
read and a general purpose register to put the value which was
read from the buffer entry.
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/perf/Makefile')
0 files changed, 0 insertions, 0 deletions