From: H.J. Lu Date: Fri, 27 May 2016 11:56:05 +0000 (-0700) Subject: Don't clear cpu64 nor cpuno64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d07ebe108f4e11508e350eaf2ba10d7480636fa;p=binutils-gdb.git 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2d132c5bb15..0411e675dd2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2016-05-27 H.J. Lu + + * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor + cpuno64. + 2016-05-26 Peter Bergner * testsuite/gas/ppc/altivec3.d : Add test. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index af94f72d7e6..fb3f369dc73 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)) {