[PATCH] [AArch64] Truncate the immediate in logical operation to the register width
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.
> 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 ?
> Arnaud de Grandmaison
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
More information about the llvm-commits