Re: Adding an instruction to gcc (pass through)

2005-12-16 Thread Ramana Radhakrishnan
Errr, you need to change the assembler to do this . GCC does not care about what sits inside __asm__ . cheers Ramana On Fri, 2005-12-16 at 09:18 -0500, Burt Walsh wrote: > > > I am using SimpleScalar (ARM ISA) to do some simulations. I have > added an > instruction to the SimpleScalar machin

Adding an instruction to gcc (pass through)

2005-12-16 Thread Burt Walsh
Hi, I am using SimpleScalar (ARM ISA) to do some simulations. I have added an instruction to the SimpleScalar machine defintion. I would like to use an asm("newinst"::) to force my instruction to be placed into the object file. It is saying bad instruction when I do this. Do I have to go in