This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Adding an instruction to gcc (pass through)
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: Burt Walsh <walsh at hallway-f dot csit dot fsu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 16 Dec 2005 20:21:15 +0530
- Subject: Re: Adding an instruction to gcc (pass through)
- References: <Pine.LNX.4.44.0512160916250.11839-100000@hallway-f.csit.fsu.edu>
- Reply-to: ramana at codito dot com
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 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.