This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable Intel RDPID instruction.


On Tue, May 10, 2016 at 06:15:32AM -0700, H.J. Lu wrote:
> On Tue, May 10, 2016 at 5:42 AM, Alexander Fomin
> <afomin.mailbox@gmail.com> wrote:
> 
> >> >
> >> > Here is an updated version now that we've clarified REX.W behavior.
> >>
> >> It is OK.  Please check it in.
> >
> > Thanks.
> > I've just realized that my patch lacks RDPID entry in cpu_arch array
> > (gas/config/tc-i386.c); may I check it in without re-submitting the
> > patch to ML w/ corresponding ChangeLog entry?
> >
> 
> Please post the patch here.  I will take a quick look.
> 
> 
> -- 
> H.J.

Here is what I want to add (w/ already approved parts skipped).

Alexander
--
gas/

	* config/tc-i386.c (cpu_arch): Add RDPID.
---
 gas/config/tc-i386.c                        |     2 +

diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index f382a73..2aeaf7b 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -961,6 +961,8 @@ static const arch_entry cpu_arch[] =
     CPU_MWAITX_FLAGS, 0, 0 },
   { STRING_COMMA_LEN (".ospke"), PROCESSOR_UNKNOWN,
     CPU_OSPKE_FLAGS, 0, 0 },
+  { STRING_COMMA_LEN (".rdpid"), PROCESSOR_UNKNOWN,
+    CPU_RDPID_FLAGS, 0, 0 },
 };
 
 #ifdef I386COFF
-- 
1.8.3.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]