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

2007-12-12 Thread joel at gcc dot gnu dot org
--- Comment #6 from joel at gcc dot gnu dot org 2007-12-12 14:05 --- RTEMS had a default implementation of the method in question that was in C. So for the Thumb, I changed things to use it until the Thumb maintainer adds a better version. Thanks. I wasn't even finished adding the tes

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

2007-12-11 Thread rask at gcc dot gnu dot org
--- Comment #5 from rask at gcc dot gnu dot org 2007-12-12 00:31 --- See also bug 18560. I.e. consider using a C version instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34436

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

2007-12-11 Thread joel dot sherrill at oarcorp dot com
--- 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, R

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

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- 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, #0xff\n" "MOV %0, %0, ROR #8\n" "EOR %0, %0, %1, LSR #8\n" : "=r" (value)

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

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2007-12-11 22:34 --- Found inline assembly that caused problem. Sorry. -- joel at gcc dot gnu dot org changed: What|Removed |Added

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

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #1 from joel at gcc dot gnu dot org 2007-12-11 22:32 --- Created an attachment (id=14733) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14733&action=view) Test Case #1 produces illegal assembly When compiled as described in the first post, this file gives illegal assem