|
Message
From: Matjaz Breskvar<phoenix@o...>
Date: Mon Jun 7 13:01:50 CEST 2004
Subject: [openrisc] l.mulu problem
* whli_interqos@y... (whli_interqos@y...) wrote: > Hi all, > I wrote an assembly code with l.mulu and ran in the openrisc > simulator. I found that the simulator aborted abnormally when it run l.mul
was that for the l.mul or l.mulu? (i didn't have any problems with simulation of l.mul)
> instruction. I wounder if the simulator does not support it? By the way, > which of c code will generate l.mulu operation? I tried the following > codes, but it didnot generate the l.mulu operation. > unsigned int a; > unsigned int b; > unsigned int c; > c = a * b; > > Can anyone tell me?
you are right, the gcc generates just 'l.mul' and not 'l.muli' or 'l.mulu'.
regards, p.
|
 |