[Bug target/34436] Illegal assembly on ARM/Thumb
joel dot sherrill at oarcorp dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 11 22:39:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list