Skip to content

Commit

Permalink
amdgcn_architecture_t::set_exceptions: Fix conversion of xnack_error
Browse files Browse the repository at this point in the history
The conversion part in "amdgcn_architecture_t::set_exceptions ()"
method is missing XNACK_ERROR conversion.  This change remedies that.

Change-Id: Ib6c70bb7761ec452cc7e28fca4de4888e365edb2
  • Loading branch information
amd-shahab committed Nov 28, 2024
1 parent df3e4a0 commit defc3d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/architecture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,8 @@ amdgcn_architecture_t::set_exceptions (wave_t &wave, exception_mask_t mask,
trapsts_mask |= sq_wave_trapsts_excp_inexact_mask;
if ((m & exception_mask_t::int_div0) != 0)
trapsts_mask |= sq_wave_trapsts_excp_int_div0_mask;
if ((m & exception_mask_t::xnack_error) != 0)
trapsts_mask |= sq_wave_trapsts_xnack_error_mask;
if ((m & exception_mask_t::mem_viol) != 0)
trapsts_mask |= sq_wave_trapsts_excp_mem_viol_mask;
if ((m & exception_mask_t::illegal_inst) != 0)
Expand Down

0 comments on commit defc3d5

Please sign in to comment.