aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2021-03-14 23:53:57 -0500
committerRichard Henderson <richard.henderson@linaro.org>2021-05-01 08:31:42 -0700
commit4c82c2b433fab9814000e7794d9168044863ecfc (patch)
tree075a9be357f20151a556c70446a2958adf32ab1a
parenta27c100c23d2b23a8d5342b8d8d75e238f6342ba (diff)
downloadqemu-4c82c2b433fab9814000e7794d9168044863ecfc.zip
qemu-4c82c2b433fab9814000e7794d9168044863ecfc.tar.gz
qemu-4c82c2b433fab9814000e7794d9168044863ecfc.tar.bz2
target/hexagon: remove unnecessary checks in find_iclass_slots
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>
-rw-r--r--target/hexagon/iclass.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/hexagon/iclass.c b/target/hexagon/iclass.c
index 378d8a6..6091286 100644
--- a/target/hexagon/iclass.c
+++ b/target/hexagon/iclass.c
@@ -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)) {