Add facility to instrument specific opcodes
authorAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 8 Sep 2015 22:05:31 +0000 (15:05 -0700)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 8 Sep 2015 22:05:31 +0000 (15:05 -0700)
commit26d7f0f08e861335dc7bb2b51759c2206915a25a
treecf4b42673ab458ce9bef8259235918de2ef164e8
parent1063a09757908d6b2e5712231e3690f380e4a080
Add facility to instrument specific opcodes

It's not ideal, because it requires modifying tracer.h.  A more general
facility would allow overriding the instruction execution function for
a given opcode dynamically.
riscv/insn_template.cc
riscv/insn_template.h
riscv/tracer.h [new file with mode: 0644]