|
Message
From: =?big5?q?li=20stephen?=<whli_interqos@y...>
Date: Fri Jan 30 04:28:00 CET 2004
Subject: [openrisc] instruction set problem on openrisc
Hi Marko, Thank you for the advice. I put the the statement,#define MAC(x,y), into my source code. But it seems that there is not multiply-accumulate instruction in the asm code. Did I do anything wrong? Can you give more details on it? Thank you very much. Regards, Stephen
Marko Mlinar <markom@o...> wrote: > > One more question, If I want to add custom instruction set e.g. > > multiply - accumulate in to the openrisc, is there any easy way to make > > the complier to generate the instruction set except modifying the > > compiler? > > That;s the only way. You have to modify compiler to generate your custom > insns. You can also make #define MAC(x,y), which will generate via asm statement "word 0xblabla" instruction.
Marko
_______________________________________________ attachment.htm
|
 |