|
Message
From: Johan Rydberg<jrydberg@g...>
Date: Thu May 6 11:05:49 CEST 2004
Subject: [openrisc] inline assembly
On Thu, 6 May 2004 whli_interqos@y... wrote:
: I like to add some additional instructions to the openrisc. Then I may : need to change the complier to generate the added the instructions. : But It seems that very trouble. I wonder if I could use the inline : assembly function to add the extra instructions in to the c code. And : the complier will generate the corresponding assmbly code. Can the : compiler do it? Thank you very much.
Yes, it is possible. But instead of adding them to the compiler (GCC), you add the new instructions to the assembler (GAS) in binutils.
~j
|
 |