[1/9] x86: drop stray assignment from build_evex_prefix()

Message ID 9ac3181f-8acf-e494-f404-19442e47e0aa@suse.com
State New
Headers show
Series
  • x86: (mainly) prefix handling adjustments
Related show

Commit Message

Jan Beulich June 24, 2020, 12:11 p.m.
Unlike in build_vex_prefix() this is not needed here.

gas/
2020-06-XX  Jan Beulich  <jbeulich@suse.com>

	* config/tc-i386.c (build_evex_prefix): Drop early setting of
	vec_length.

Patch

--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3905,7 +3905,6 @@  build_evex_prefix (void)
 
 	  /* Determine vector length from the last multi-length vector
 	     operand.  */
-	  vec_length = 0;
 	  for (op = i.operands; op--;)
 	    if (i.tm.operand_types[op].bitfield.xmmword
 		+ i.tm.operand_types[op].bitfield.ymmword