registered var being stored/loaded from stack

Nick Clifton nickc@redhat.com
Wed Jan 21 11:30:00 GMT 2009


Hi Richard,

> Not sure if this fits in more with GCC or binutils.

It is a gcc problem - you are talking about an issue with compiler code 
generation, not an issue with how the instructions are assembled, linked 
or disassembled.  So therefore please redirect your question to the 
gcc@gcc.gnu.org mailing list.

> 1) the value of the register before we write to it getting stored on the stack
> 2) our opcode loading the correct value into the register
> 3) the value then being read back from the stack instead of the register

The most likely culprit are the patterns in the .md file that you use to 
express the behaviour of this new instruction.  Basically it would 
appear that gcc does not really understand what it does.  When you do 
post to the gcc list including these pattern(s) would really help.

Cheers
   Nick



More information about the Binutils mailing list