[DynInst_API:] [dyninst/dyninst] e8b597: Fix InstructionAPI::Result for floating-point type...


Date: Mon, 06 Apr 2026 13:17:26 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] e8b597: Fix InstructionAPI::Result for floating-point type...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: e8b597dead596b763114f524eb8d3cfa280a9a2d
      https://github.com/dyninst/dyninst/commit/e8b597dead596b763114f524eb8d3cfa280a9a2d
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-04-06 (Mon, 06 Apr 2026)

  Changed paths:
    M instructionAPI/h/Result.h
    M instructionAPI/src/InstructionDecoder-aarch64.C

  Log Message:
  -----------
  Fix InstructionAPI::Result for floating-point types (#2198)

1) The correct constructor for floating-point types is now selected
2) The ctor for 'float' set 'val.dblval' instead of 'val.floatval'
   causing format() to return the wrong result.
3) Result_Type is manually set for floating-point ctors to prevent
   double->float conversion (e.g., `Result(sp_float, 1.0)` is actually
   `Result<double>(sp_float, 1.0)`).



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] e8b597: Fix InstructionAPI::Result for floating-point type..., Tim Haines <=