[PATCH] x86: Support GNU_PROPERTY_X86_FEATURE_2_TMM

H.J. Lu hjl.tools@gmail.com
Mon Jun 29 15:31:49 GMT 2020


On Mon, Jun 29, 2020 at 7:54 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 29.06.2020 15:56, H.J. Lu wrote:
> > --- a/gas/config/tc-i386.c
> > +++ b/gas/config/tc-i386.c
> > @@ -9201,6 +9201,8 @@ output_insn (void)
> >       x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_YMM;
> >        if (i.has_regzmm)
> >       x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_ZMM;
> > +      if (i.has_regtmm)
> > +     x86_feature_2_used |= GNU_PROPERTY_X86_FEATURE_2_TMM;
>
> Similar conceptual issue as with the others, as previously pointed
> out. For example, ldtilecfg and tilerelease should imo both result
> in this flag also getting set, despite there not being any %tmm<N>

Good point.  Here is the updated patch.

> operand. I'm anyway still awaiting a proper formal definition of
> what these property bits mean - see the earlier thread that didn't
> lead anywhere in this regard.
>

Since architecture states are more relevant than specific ISAs,
X86_FEATURE_2_XXX is used to describe architecture state
requirements of a program.   I appreciate it if you can suggest
improvements in wordings in the spec.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Support-GNU_PROPERTY_X86_FEATURE_2_TMM.patch
Type: text/x-patch
Size: 6405 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20200629/f9943d32/attachment.bin>


More information about the Binutils mailing list