Displaying 2 results from an estimated 2 matches for "893335f9".
2013 May 03
2
[LLVMdev] bug report on MC asm parser evaluating expressions
Hi, developers,
I notice following asm symbol definitions are eveluated improperly:
A = 9
B = 3*A - 2 * A + 1
the value of B should be 10 instead of 8.
It seems asm parser treat "B = 3*A - 2 * A + 1" as "B = 3*A - (2 * A + 1)"
because the second "*" has higher precedence than "-", and evaluation just
performs simple recursion within
2013 May 03
0
[LLVMdev] bug report on MC asm parser evaluating expressions
On 3 May 2013 01:37, æšćć <triple.yang at gmail.com> wrote:
> Hi, developers,
>
> I notice following asm symbol definitions are eveluated improperly:
>
> A = 9
> B = 3*A - 2 * A + 1
>
> the value of B should be 10 instead of 8.
>
> It seems asm parser treat "B = 3*A - 2 * A + 1" as "B = 3*A - (2 * A + 1)"
> because the second "*"