[kaffe] kaffe-1.0.7 RC1 compile error on MIPS

Warwick Hunter whunter@agile.tv
Thu, 27 Jun 2002 17:22:54 +1000


This is a multi-part message in MIME format.
--------------050302060501020804070006
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dalibor,

> Thanks for the bug report and the patch. Is there  a
> way to implement the code using movn with mips2
> instructions?

The movn instruction is definitely a mips4 one. It
is possible to go two ways:

1. Recode the macro to use the lowest common denominator
    of mips2 instructions.

2. Detect at compile time what ISA level is supported and
    then conditionally compile appropriately.

I am happy to work on either of these two options.
I suspect option 2 is better. Any guidance from more
experienced mips developers than I would be greatly
appreciated.

Warwick
-- 
Warwick Hunter                    Agile TV Corporation
Voice: +61 7 5584 5912            Fax: +61 7 5575 9550
mailto:whunter@agile.tv           http://www.agile.tv

--------------050302060501020804070006
Content-Type: message/rfc822;
 name="imap-message://whunter@surfers.oz.agile.tv/pending#1307"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="imap-message://whunter@surfers.oz.agile.tv/pending#1307"

Return-Path: <robilad@yahoo.com>
Received: from cart.mp.agile.tv (cart.mp.agile.tv [192.168.0.4])
	by surfers.oz.agile.tv (8.11.6/8.11.2) with ESMTP id g5R2pTG05401
	for <whunter@oz.agile.tv>; Thu, 27 Jun 2002 12:51:31 +1000
Received: from gatekeeper.agile.tv (ns1.agile.tv [64.232.86.197])
	by cart.mp.agile.tv (8.11.6/emg20020209-int) with ESMTP id g5R2pQ118987
	for <whunter@oz.agile.tv>; Wed, 26 Jun 2002 19:51:26 -0700
Received: from web10008.mail.yahoo.com (web10008.mail.yahoo.com [216.136.130.44])
	by gatekeeper.agile.tv (8.11.6/emg20010629-ext) with SMTP id g5R2pQc01772
	for <whunter@agile.tv>; Wed, 26 Jun 2002 19:51:26 -0700
Message-ID: <20020627025125.50296.qmail@web10008.mail.yahoo.com>
Received: from [139.19.24.25] by web10008.mail.yahoo.com via HTTP; Wed, 26 Jun 2002 19:51:25 PDT
Date: Wed, 26 Jun 2002 19:51:25 -0700 (PDT)
From: Dalibor Topic <robilad@yahoo.com>
Subject: Re: [kaffe] kaffe-1.0.7 RC1 compile error on MIPS
To: Warwick Hunter <whunter@agile.tv>, kaffe@kaffe.org
In-Reply-To: <3D097234.1050703@agile.tv>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

--- Warwick Hunter <whunter@agile.tv> wrote:
> There seems to be a small error in one of the MIPS
> specific
> header files that causes 1.0.7 to fail to compile on
> my
> MIPS machine.
> 
> config/mips/common.h contains a movn instruction
> inside
> a .set mips2 directive. According to my compiler and
> reference manual the movn instruction is a mips 4
> one.

Thanks for the bug report and the patch. Is there  a
way to implement the code using movn with mips2
instructions?

dalibor topic

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--------------050302060501020804070006--