aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-27 04:56:05 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-27 04:56:05 -0700
commit9d07ebe108f4e11508e350eaf2ba10d7480636fa (patch)
tree223424eab7649950b8f4711698a0a7b2db893463 /gas
parent19dfcc89e8d94526f011242041b700ede8834996 (diff)
downloadbinutils-9d07ebe108f4e11508e350eaf2ba10d7480636fa.zip
binutils-9d07ebe108f4e11508e350eaf2ba10d7480636fa.tar.gz
binutils-9d07ebe108f4e11508e350eaf2ba10d7480636fa.tar.bz2
Don't clear cpu64 nor cpuno64
No need to clear cpu64 nor cpuno64 since they will be cleared by cpu_flags_and. * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor cpuno64.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2d132c5..0411e67 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
+ cpuno64.
+
2016-05-26 Peter Bergner <bergner@vnet.ibm.com>
* testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index af94f72..fb3f369 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1537,8 +1537,6 @@ cpu_flags_match (const insn_template *t)
/* This instruction is available only on some archs. */
i386_cpu_flags cpu = cpu_arch_flags;
- cpu.bitfield.cpu64 = 0;
- cpu.bitfield.cpuno64 = 0;
cpu = cpu_flags_and (x, cpu);
if (!cpu_flags_all_zero (&cpu))
{