bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/15348] GCC inline assembler for ARM thumb16 mnemonic lsls not r


From: eleventen at gmail dot com
Subject: [Bug gas/15348] GCC inline assembler for ARM thumb16 mnemonic lsls not recognized for CPU cortex-m0
Date: Tue, 12 Aug 2014 16:16:59 +0000

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

--- Comment #2 from eleventen at gmail dot com ---
(In reply to DeepaB from comment #1)
> "lsls" is equivalent UAL syntax for "lsl" thumb instruction."lsls"
> instruction works if directive ".syntax unified" is specified.

Indeed, the fragment below compiles and assembles properly on the Cortex-M0.

void test () {
  __asm volatile (".syntax unified\n\t" "lsls r0, #1\n\t" ".syntax divided");
}

-- 
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]