[PATH] [x86_64] Minor tweak to VMOVPQIto64rr instruction definition

Nadav Rotem nrotem at apple.com
Tue Apr 30 23:26:16 PDT 2013


LGTM. 


On Apr 30, 2013, at 7:59 PM, "Magee, Joshua" <Joshua_Magee at playstation.sony.com> wrote:

> Hi,
> 
> In our private tree we had a change to fix the assembly string for the
> VMOVPQIto64rr instruction (it lacked the 'v' prefix).  This was fixed in the
> public tree at svn r162963 by adding a 'v' to the assembly string.  Our private
> fix was a bit different: I changed the instruction class from the basic 'I'
> class to the more specialized 'VRPDI' class.
> 
> While both fixes are functionally equivalent, I think my fix of using VRPDI is
> more consistent with many other related instruction definitions.
> 
> Looking back through the version history, VMOVPQIto64rr previously used the VRPDI
> instruction class until r140098.  That commit fixed PR10949 by using a generic
> instruction class and then explicitly listing all the required flags (VEX,
> VEX_W, etc).  While that worked, it was overkill; all that was needed was to
> add the VEX flag to the instruction.
> 
> 
> Attached is a patch against TOT which uses VRPDI.  It is functionally
> equivalent to the current code but more consistent with the way other related
> instructions are defined.
> 
> This is a very minor issue, but I had the patch anyway so I figured I might as well
> mention it.
> 
> Thanks,
> Josh
> <vmovd.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130430/a6946009/attachment.html>


More information about the llvm-commits mailing list