This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/34436] Illegal assembly on ARM/Thumb



------- Comment #4 from joel dot sherrill at oarcorp dot com  2007-12-11 22:38 -------
Subject: Re:  Illegal assembly on ARM/Thumb

pinskia at gcc dot gnu dot org wrote:
> ------- Comment #3 from pinskia at gcc dot gnu dot org  2007-12-11 22:35 -------
>     asm volatile ("EOR   %1, %0, %0, ROR #16\n"
>                   "BIC   %1, %1, #0xff0000\n"
>                   "MOV   %0, %0, ROR #8\n"
>                   "EOR   %0, %0, %1, LSR #8\n"
>                   : "=r" (value), "=r" (tmp)
>                   : "0" (value), "1" (tmp));
>
>
>
> :)
>   

Thank you.  I spotted that when I was about to add the second
test code.  I realized that my sed for cpp lines with # was
probably hitting assembly.  I closed this about the same time
you did.

I have shot this back to the RTEMS Arm/Thumb person. They
should have caught this and added a Thumb version.

Thanks.  Sorry for the PR.

--joel
>
>   


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34436


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]