Skip to content

Commit

Permalink
target/hexagon: remove unnecessary checks in find_iclass_slots
Browse files Browse the repository at this point in the history
Reported-by: Richard Henderson <<richard.henderson@linaro.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <1615784037-26129-1-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
taylorsimpson authored and rth7680 committed May 1, 2021
1 parent a27c100 commit 4c82c2b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions target/hexagon/iclass.c
Expand Up @@ -53,10 +53,6 @@ SlotMask find_iclass_slots(Opcode opcode, int itype)
(opcode == Y2_isync) ||
(opcode == J2_pause) || (opcode == J4_hintjumpr)) {
return SLOTS_2;
} else if ((itype == ICLASS_V2LDST) && (GET_ATTRIB(opcode, A_STORE))) {
return SLOTS_01;
} else if ((itype == ICLASS_V2LDST) && (!GET_ATTRIB(opcode, A_STORE))) {
return SLOTS_01;
} else if (GET_ATTRIB(opcode, A_CRSLOT23)) {
return SLOTS_23;
} else if (GET_ATTRIB(opcode, A_RESTRICT_PREFERSLOT0)) {
Expand Down

0 comments on commit 4c82c2b

Please sign in to comment.