|
From: Julian S. <js...@ac...> - 2013-06-28 20:16:28
|
Hi Carl,
> would work or not work in Valgrind for the power instructions. Anyway,
> any input on the specifics of how I push the simulated execution
> directly to the failure path would be helpful. Thanks.
I don't know the specifics of the Power instructions, so I can't answer
that directly. But I can tell you what the idea was for the Intel
instructions -- maybe that would help.
(IIRC) the Intel instructions are
XBEGIN %reg -- begin a transaction.
-- %reg holds the failure-path address
XEND -- finish the most recently XBEGIN'd transaction
So the idea is very simple: translate XBEGIN %reg as if it was
simply a jump to (the code address in) %reg. Does that help?
J
|