Skip to content

Commit

Permalink
i#2974 trace support for AArch64, part 15: Implementing
Browse files Browse the repository at this point in the history
instr_is_trace_cmp for AArch64

Issues: #1569, #2974
  • Loading branch information
Vincent-lau committed Sep 1, 2021
1 parent ed826fd commit 6c7cf64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/arch/interp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5631,10 +5631,14 @@ instr_is_trace_cmp(dcontext_t *dcontext, instr_t *inst)
instr_get_opcode(inst) == OP_jmp
# endif
;
#elif defined(AARCHXX)
/* FIXME i#1668, i#2974: NYI on ARM/AArch64 */
#elif defined(AARCH64)
return instr_get_opcode(inst) == OP_movz || instr_get_opcode(inst) == OP_movk ||
instr_get_opcode(inst) == OP_eor || instr_get_opcode(inst) == OP_cbnz;
#elif defined(ARM)
/* FIXME i#1668: NYI on ARM */
ASSERT_NOT_IMPLEMENTED(DYNAMO_OPTION(disable_traces));
return false;

#endif
}

Expand Down

0 comments on commit 6c7cf64

Please sign in to comment.