[DynInst_API:] [dyninst/dyninst] 7e47b5: Fix InstructionAPI::Result for floating-point types


Date: Sun, 05 Apr 2026 20:08:46 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 7e47b5: Fix InstructionAPI::Result for floating-point types
  Branch: refs/heads/thaines/fix_Result_fp
  Home:   https://github.com/dyninst/dyninst
  Commit: 7e47b5d1da25589a497cef5396451276b8ea91b0
      https://github.com/dyninst/dyninst/commit/7e47b5d1da25589a497cef5396451276b8ea91b0
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2026-04-05 (Sun, 05 Apr 2026)

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

  Log Message:
  -----------
  Fix InstructionAPI::Result for floating-point types

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] 7e47b5: Fix InstructionAPI::Result for floating-point types, Tim Haines <=