[PATCH] Enable Intel RDPID instruction.
Alexander Fomin
afomin.mailbox@gmail.com
Tue May 10 13:25:00 GMT 2016
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
More information about the Binutils
mailing list