[RTEMS Project] #3330: gcc m68k inline asm does not recognize sr
RTEMS trac
trac at rtems.org
Sat Mar 10 07:02:01 UTC 2018
#3330: gcc m68k inline asm does not recognize sr
-----------------------+--------------------
Reporter: Ben | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 4.11.4
Component: tool/gcc | Version: 4.11
Severity: normal | Keywords:
Blocked By: | Blocking:
-----------------------+--------------------
unknown register when using inline assembly for m68k
gcc gives: error: unknown register name 'sr' in 'asm'
from code below
{{{
asm ("movew #0x2700,%%sr \n\t" );
}}}
for other registers it works,
using gcc for *.S works fine
--
Ticket URL: <http://devel.rtems.org/ticket/3330>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list