aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-07-26 08:49:12 -0700
committerH.J. Lu <hjl.tools@gmail.com>2018-07-26 08:49:12 -0700
commit1f75763aa1bfe2f998f4347f0de436092a126980 (patch)
tree9b81969ee913a71eff6e798840d57315048b8555
parent7974897237f7708d440c45bc74cdfb70a2db8124 (diff)
downloadgdb-1f75763aa1bfe2f998f4347f0de436092a126980.zip
gdb-1f75763aa1bfe2f998f4347f0de436092a126980.tar.gz
gdb-1f75763aa1bfe2f998f4347f0de436092a126980.tar.bz2
x86: Initialize broadcast_op.bytes to 0
* config/tc-i386.c (check_VecOperations): Initialize broadcast_op.bytes to 0.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 582a12d..e8c500a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (check_VecOperations): Initialize
+ broadcast_op.bytes to 0.
+
2018-07-26 Alex Chadwick <Alex.Chadwick@cl.cam.ac.uk>
* config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 3f8bd93..9e9c676 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -8634,6 +8634,7 @@ check_VecOperations (char *op_string, char *op_end)
broadcast_op.type = bcst_type;
broadcast_op.operand = this_operand;
+ broadcast_op.bytes = 0;
i.broadcast = &broadcast_op;
}
/* Check masking operation. */