Skip to content
Snippets Groups Projects
Commit 4c82c2b4 authored by Taylor Simpson's avatar Taylor Simpson Committed by Richard Henderson
Browse files

target/hexagon: remove unnecessary checks in find_iclass_slots


Reported-by: default avatarRichard Henderson <&lt;richard.henderson@linaro.org>
Signed-off-by: default avatarTaylor Simpson <tsimpson@quicinc.com>
Message-Id: <1615784037-26129-1-git-send-email-tsimpson@quicinc.com>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent a27c100c
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment