From 11abe4264708e70413de9eeb2cbe14ac71e304db Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 25 Jun 2020 09:24:23 +0200 Subject: [PATCH] x86: drop stray assignment from build_evex_prefix() Unlike in build_vex_prefix() this is not needed here. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7648a370a5..83f0e6f428 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 24def335fb..18f4a243d1 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 -- 2.34.1