+2021-06-07  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (check_VecOperations): Remove 2nd parameter.
+       (i386_att_operand): Adjust calls to check_VecOperations.
+       * config/tc-i386-intel.c (i386_intel_operand): Likewise.
+
 2021-06-07  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (i386_immediate): Don't call check_VecOperations.
 
   /* Handle vector operations.  */
   if (*input_line_pointer == '{')
     {
-      char *end = check_VecOperations (input_line_pointer, NULL);
+      char *end = check_VecOperations (input_line_pointer);
       if (end)
        input_line_pointer = end;
       else
 
 /* Handle Vector operations.  */
 
 static char *
-check_VecOperations (char *op_string, char *op_end)
+check_VecOperations (char *op_string)
 {
   const reg_entry *mask;
   const char *saved;
   char *end_op;
 
-  while (*op_string
-        && (op_end == NULL || op_string < op_end))
+  while (*op_string)
     {
       saved = op_string;
       if (*op_string == '{')
       /* Handle vector operations.  */
       if (*op_string == '{')
        {
-         op_string = check_VecOperations (op_string, NULL);
+         op_string = check_VecOperations (op_string);
          if (op_string == NULL)
            return 0;
        }
       vop_start = strchr (op_string, '{');
       if (vop_start && vop_start < base_string)
        {
-         if (check_VecOperations (vop_start, base_string) == NULL)
+         if (check_VecOperations (vop_start) == NULL)
            return 0;
          base_string = vop_start;
        }