[DynInst_API:] [dyninst/dyninst] d7a442: Implemented generation of long branches for ARM64.


Date: Tue, 21 Feb 2017 10:16:19 -0800
From: Sunny Shah <shah28@xxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] d7a442: Implemented generation of long branches for ARM64.
  Branch: refs/heads/arm64/feature/relocation
  Home:   https://github.com/dyninst/dyninst
  Commit: d7a442552463db8f3cc65f465ba30563cf1474d6
      https://github.com/dyninst/dyninst/commit/d7a442552463db8f3cc65f465ba30563cf1474d6
  Author: Sunny Shah <shah28@xxxxxxxx>
  Date:   2017-02-21 (Tue, 21 Feb 2017)

  Changed paths:
    M common/src/arch-aarch64.h
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-aarch64.h
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Implemented generation of long branches for ARM64.

Long branch generation relies on loading an immediate into a 64-bit
register. This loading is peformed by a newly added function
insnCodeGen::generateMove() which generates one of the 3 move
instructions - MOVZ, MOVK and MOVN - based on the input arguments.

This commit also provides an implementation of the getEmitter() function
for ARM64, although the implementation of emitter methods for both the stat
and dyn versions of the emitter remains pending.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] d7a442: Implemented generation of long branches for ARM64., Sunny Shah <=