bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/12854] ARM: Nonsensical argument shift specifications accepted


From: dave.martin at linaro dot org
Subject: [Bug gas/12854] ARM: Nonsensical argument shift specifications accepted for LSL/LSR/ASR/ROR mnemonics
Date: Mon, 13 Jun 2011 10:35:18 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12854

Dave Martin <dave.martin at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #9 from Dave Martin <dave.martin at linaro dot org> 2011-06-13 
10:34:44 UTC ---
Due to a mistake I made when testing the commit, I accidentally discovered that
in Thumb, the fix only works for unified syntax.  Try:

.thumb_func
f:
        ror     r0, r0, r2, lsl #1
        lsl     r0, r0, r2, lsl #1
        lsl     r0, r0, r2, asr r0
.syntax unified
        ror     r0, r0, r2, lsl #1
        lsl     r0, r0, r2, lsl #1
        lsl     r0, r0, r2, asr r0

The first three instructions are assembled without error; the last three cause
appropriate errors.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]