[DynInst_API:] [dyninst/dyninst] 3f6f8f: Fix overflow of fields in instruction layout


Date: Wed, 09 Aug 2023 00:37:12 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 3f6f8f: Fix overflow of fields in instruction layout
  Branch: refs/heads/fix-layout-field-overflow
  Home:   https://github.com/dyninst/dyninst
  Commit: 3f6f8f42dcb48f8da4a1dd68332e974c415e7b01
      https://github.com/dyninst/dyninst/commit/3f6f8f42dcb48f8da4a1dd68332e974c415e7b01
  Author: wuxx1279 <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx908/amdgpu_gfx908_decoder_impl.h
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_decoder_impl.h

  Log Message:
  -----------
  Fix overflow of fields in instruction layout

Fields in instruction layouts can have implicit LSBs.
Previously this wasn't taken into consideration, and causes oveflow
and decoding instruction.

This PR fixes the layout definition to include the LSBs.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 3f6f8f: Fix overflow of fields in instruction layout, bbiiggppiigg <=