aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-06-25 09:24:23 +0200
committerJan Beulich <jbeulich@suse.com>2020-06-25 09:24:23 +0200
commit11abe4264708e70413de9eeb2cbe14ac71e304db (patch)
tree844599a84bf64b6e354c368f60520d54523afcb0
parent0a3eb8aeb3709a14096d3e907d6bb71e94d94728 (diff)
downloadgdb-11abe4264708e70413de9eeb2cbe14ac71e304db.zip
gdb-11abe4264708e70413de9eeb2cbe14ac71e304db.tar.gz
gdb-11abe4264708e70413de9eeb2cbe14ac71e304db.tar.bz2
x86: drop stray assignment from build_evex_prefix()
Unlike in build_vex_prefix() this is not needed here.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7648a37..83f0e6f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-06-25 Jan Beulich <jbeulich@suse.com>
+
+ * config/tc-i386.c (build_evex_prefix): Drop early setting of
+ vec_length.
+
2020-06-23 Nelson Chu <nelson.chu@sifive.com>
* 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 24def33..18f4a24 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