[PATCH] Use per instruction prefix control.

Ilya Tocar tocarip.intel@gmail.com
Mon Apr 6 16:36:00 GMT 2015


On 06 Apr 08:57, H.J. Lu wrote:
> On Mon, Apr 6, 2015 at 8:46 AM, Ilya Tocar <tocarip.intel@gmail.com> wrote:
> > Hi,
> >
> > To deal with problems like
> > https://sourceware.org/bugzilla/show_bug.cgi?id=17898
> > We need more fine-grained prefix control than
> > twobyte_has_mandatory_prefix[256]
> > Attached patch adds mandatory_prefix field to struct dis386,
> > which will be used to control allowed/mandatory/forbidden prefixes on
> > per instruction basis.
> >
> 
> A prefix can be optional for an opcode which may be UD
> with the other prefixes.  Please remove
> 
> #define PREFIX_OPTIONAL 0
> 
> and replace
> 
> { "vfpclassss",    { XMask, EXxmm_md, Ib }, PREFIX_OPTIONAL },
> 
> with
> 
> { "vfpclassss",    { XMask, EXxmm_md, Ib }, 0 },
> 
> OK with this change.
> 
> Thanks.
>
Thanks.

I've committed attached version
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.tar.gz
Type: application/gzip
Size: 27760 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150406/595f4174/attachment.gz>


More information about the Binutils mailing list