[llvm] r223113 - Add support for ARM modified-immediate assembly syntax.

Asiri Rathnayake asiri.rathnayake at gmail.com
Thu Feb 12 05:50:04 PST 2015


Should be fixed in r228920.

Thanks.

- Asiri

On Thu, Feb 12, 2015 at 9:46 AM, Asiri Rathnayake <asiri.rathnayake at arm.com>
wrote:

> Hi All,
>
> Sorry about this, completely missed this thread. This looks like something
> that should just work. I'll do a fix.
>
> Thanks.
>
> - Asiri
>
> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:
> llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Tim Northover
> Sent: 12 February 2015 02:51
> To: Steven Wu
> Cc: llvm-commits
> Subject: Re: [llvm] r223113 - Add support for ARM modified-immediate
> assembly syntax.
>
> On 11 February 2015 at 15:50, Steven Wu <stevenwu at apple.com> wrote:
> > Couldn’t find anything related to tilde or how an expression gets
> > evaluated to an immediate in ARM manual. Any authority over ARM assembly
> language?
>
> I basically agree with Jim, but our ideas aren't really based on the
> manual. The ARM manual says what immediates are permitted, just how you get
> to write them is largely down to the individual assembler.
> MASM might let you write ffh, GAS 0xff or ~0xffffff00 (or whatever else).
>
> So what I really think are two things:
>   + In GAS syntax it's reasonable to parse an expression and interpret ~
> as NOT.
>   + For instructions operating on 32-bit registers it's reasonable for
> that NOT to produce a 32-bit result by default.
>
> Cheers.
>
> Tim.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
>
>
> _______________________________________________
> 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/20150212/a99ba5e4/attachment.html>


More information about the llvm-commits mailing list