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.
This commit is contained in:
H.J. Lu 2016-05-27 04:56:05 -07:00
parent 19dfcc89e8
commit 9d07ebe108
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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))
{