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

Jim Grosbach grosbach at apple.com
Mon Jul 7 16:17:44 PDT 2014


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





More information about the llvm-commits mailing list