https://sourceware.org/bugzilla/show_bug.cgi?id=31888

            Bug ID: 31888
           Summary: [GAS] Ignore operand expression
           Product: binutils
           Version: 2.41
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: witbring at gmail dot com
  Target Milestone: ---

I observed that ARMv8 GAS ignores the third operand, likely due to alias
operations.
I believe GAS should perform more precise syntax checks.

Buggy Code
```
lsr R0, #1
lsr R0, #1, 1<<4
```

Compiled Code.
```
 lsr    r0, r0, #1
 lsr    r0, r0, #1
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to