Skip to content

Commit

Permalink
Fix bug when VL=128-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jackgallagher-arm committed Nov 30, 2023
1 parent 86b13f4 commit 130f2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/drx/scatter_gather_aarch64.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ drx_expand_scatter_gather(void *drcontext, instrlist_t *bb, DR_PARAM_OUT bool *e
}

reg_id_t governing_pred = sg_info.mask_reg;
if (sg_info.is_replicating) {
if (sg_info.is_replicating && proc_get_vector_length_bytes() > 16) {
governing_pred = reserve_pred_register(drcontext, bb, sg_instr, scratch_gpr,
&spill_slot_state);
}
Expand Down

0 comments on commit 130f2e1

Please sign in to comment.