Adding an instruction to gcc (pass through)

Burt Walsh walsh@hallway-f.csit.fsu.edu
Fri Dec 16 14:48:00 GMT 2005


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 into 
gcc and edit the arm.md or is there another way to get this instruction to 
take.

thanks,



More information about the Gcc mailing list