OpenCores
no use no use 1/1 no use no use
l.mulu problem
by Unknown on Jun 7, 2004
Not available!
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
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?

Thanks

Stephen
l.mulu problem
by Unknown on Jun 7, 2004
Not available!
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) 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.

l.mulu problem
by Unknown on Jun 8, 2004
Not available!
* whli_interqos@yahoo.com.hk (whli_interqos@yahoo.com.hk) wrote:

Sorry for typing mistake. It is for l.mulu. Do you have any problem with
l.mulu when you run it on the simulator? If you do, what is it? How do
you fix it ? Thank you very much.


haven't tried it. so can you please post output from simulator (and
possibly a short testcase where it fails) and i'll put it on my TODO list.

regards,
p.

----- Original Message ----- From: Matjaz Breskvarphoenix@o...> To: 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.
>
>
_______________________________________________ http://www.opencores.org/mailman/listinfo/openrisc


l.mulu problem
by Unknown on Jun 8, 2004
Not available!
Sorry for typing mistake. It is for l.mulu. Do you have any problem with l.mulu when you run it on the simulator? If you do, what is it? How do you fix it ? Thank you very much. Regards, Stephen ----- Original Message ----- From: Matjaz Breskvarphoenix@o...> To: 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.



no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.