From: Jan Beulich Date: Thu, 25 Jun 2020 07:24:23 +0000 (+0200) Subject: x86: drop stray assignment from build_evex_prefix() X-Git-Tag: binutils-2_35~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11abe4264708e70413de9eeb2cbe14ac71e304db;p=thirdparty%2Fbinutils-gdb.git x86: drop stray assignment from build_evex_prefix() Unlike in build_vex_prefix() this is not needed here. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7648a370a53..83f0e6f4287 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-06-25 Jan Beulich + + * config/tc-i386.c (build_evex_prefix): Drop early setting of + vec_length. + 2020-06-23 Nelson Chu * config/tc-riscv.c (explicit_priv_attr): Rename explicit_csr to diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 24def335fbf..18f4a243d13 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3906,7 +3906,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