This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34436] Illegal assembly on ARM/Thumb
- From: "joel dot sherrill at oarcorp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2007 22:38:58 -0000
- Subject: [Bug target/34436] Illegal assembly on ARM/Thumb
- References: <bug-34436-296@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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