Previous - Up - Next

SIM_instruction_force_correct()

NAME
SIM_instruction_force_correct — remove speculative status

SYNOPSIS
void
SIM_instruction_force_correct(instruction_id_t ii);

DESCRIPTION
Note: this function was previously called SIM_instruction_set_right_path.

This function removes the speculative status of the instruction. This can be used to model an architecture which is not consistent with program order execution. Use this function with care since it may lead to incorrect results.

ii is the id of the instruction to check,

EXCEPTIONS
Index Thrown if ii is illegal.

Previous - Up - Next