Help for instruction set extensions support in gcc.

"nivas" <nivassi@gmail.com>
6 Jul 2006 07:52:12 -0400

          From comp.compilers

Related articles
Help for instruction set extensions support in gcc. nivassi@gmail.com (nivas) (2006-07-06)
Re: Help for instruction set extensions support in gcc. Juergen.KahrsDELETETHIS@vr-web.de (Juergen Kahrs) (2006-07-06)
| List of all articles for this month |
From: "nivas" <nivassi@gmail.com>
Newsgroups: comp.compilers
Date: 6 Jul 2006 07:52:12 -0400
Organization: http://groups.google.com
Keywords: GCC, question
Posted-Date: 06 Jul 2006 07:52:12 EDT

Hi!


I could use some help on this. I have to mention that i am not sure if
what i am asking is possible!!
I will like to add new instructions in the instruction set of an
existing machine's gcc toolchain. Furthermore i will like to do that
"dynamic", thus no rebuild of the whole gcc toolchain is required
anytime i am adding a new instruction.
So, i am using inline assembly to pass the new instruction to the
assembly file and this works fine. Then i am using the -t (--itbl)
option of the assembler and provide the instruction format in the
INSTTBL file. Bad this one does not work. It gives me an internal error
complaining for a bad opcode.
Is this approach correct?
Any suggestions?? Or any manual i should read for this job?


Thanks,
N.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.