This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: registered var being stored/loaded from stack


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]