Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] RBIT instruction issue


  • To: Seifeddine JLASSI <seifeddine.jlassi@xxxxxx>
  • Subject: Re: [arm-gnu] RBIT instruction issue
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Tue, 09 Sep 2008 15:22:38 +0100

Seifeddine,
I am working on a project on the STM32 microcontroller, which is a Cortex-M3 MCU, using GNU compiler.
When I am trying to use the RBIT instruction: RBIT Rd, Rn the compiler will replace the Rn register by default by R0.
The problem is that I cannot use the R0 in that instruction. In other hand, why the compiler changes the register? Normally an assembly code has not to be modified. I am using the last version of code sourcery: 2008 q1. There is a patch for this issue?

This is a bug. It will be fixed in the next release of the ARM tools, which is scheduled for October.

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery