https://sourceware.org/bugzilla/show_bug.cgi?id=30851
Bug ID: 30851 Summary: gas arm: Accepts additional operands for `lsr` instruction Product: binutils Version: 2.41 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: jwlee2217 at softsec dot kaist.ac.kr Target Milestone: --- ``` $ cat examples/bug6_1.s lsr R0, R1, #2, 1 << 4 $ ./arm-linux-gnueabi-as examples/bug6_1.s -o bug6_1.o $ ./arm-linux-gnueabi-objdump -d bug6_1.o bug6_1.o: file format elf32-littlearm Disassembly of section .text: 00000000 <.text>: 0: e1a00121 lsr r0, r1, #2 ``` According to the instruction manual, the `lsr` instruction does not accept four operands. However, it does accept four operands and ignores the last operand. -- You are receiving this mail because: You are on the CC list for the bug.