[PATCH] [AArch64] Truncate the immediate in logical operation to the register width

Arnaud Allard de Grandmaison arnaud.adegm at gmail.com
Tue Jul 8 03:20:20 PDT 2014


Patch was reformatted and committed @r212520

Thanks Jim !

Cheers,
--
Arnaud


On Tue, Jul 8, 2014 at 1:17 AM, Jim Grosbach <grosbach at apple.com> wrote:

> Seems reasonable to me. Some minor formatting cleanups. Easiest to just
> run clang-format over the lines of code you’re changing for that.
>
> -Jim
>
>
> > On Jul 7, 2014, at 2:42 PM, Arnaud Allard de Grandmaison <
> arnaud.adegm at gmail.com> wrote:
> >
> > Logical 32 bit operations should truncate the immediate to the register
> witdth, i.e. 32 bits.
> >
> > This allows MC assembler to handle instructions like 'and w2, w3, #-3'.
> >
> > The truncation is not applied blindly : the 32 most significant bits are
> checked to be all ones or zeros so that we catch programming errors.
> >
> > Comments ? OK to apply ?
> >
> > Cheers,
> > --
> > Arnaud de Grandmaison
> >
> >
> <0001-AArch64-Truncate-the-immediate-in-logical-operation-.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/20140708/279676bd/attachment.html>


More information about the llvm-commits mailing list