On 2/9/21 10:27 AM, Alex Bennée wrote:
> A duplicate insn is one that is appears to be executed twice in a row.
> This is currently possible due to -icount and cpu_io_recompile()
> causing a re-translation of a block. On it's own this won't trigger
> any tests though.
> 
> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> 
> ---
> [AJB: well not quite, the x86_64 test trips over this due to some
> weirdness in the way we handle rep insns, e.g. rep movsb (%esi),
> %es:(%edi) in the x86 bios code]

Ah, but that's not tcg weirdness, that's architectural weirdness.  Multiple
executions is how "rep" is supposed to work.


r~

Reply via email to