make remote_protocol_features "const"
[deliverable/binutils-gdb.git] / opcodes / aarch64-opc.c
index b7b1b4a913a00e82787e4861e8eeb134b1a7d539..74f2826035f6509f45909acc0471d706f91796e5 100644 (file)
@@ -1724,10 +1724,10 @@ operand_general_constraint_met_p (const aarch64_opnd_info *opnds, int idx,
          assert (idx == 1);
          if (aarch64_get_qualifier_esize (opnds[0].qualifier) != 8)
            {
-             /* uimm8 */
-             if (!value_in_range_p (opnd->imm.value, 0, 255))
+             /* uimm8 or simm8 */
+             if (!value_in_range_p (opnd->imm.value, -128, 255))
                {
-                 set_imm_out_of_range_error (mismatch_detail, idx, 0, 255);
+                 set_imm_out_of_range_error (mismatch_detail, idx, -128, 255);
                  return 0;
                }
            }
This page took 0.023788 seconds and 4 git commands to generate.