linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Handle removal of 'h' constraint in GCC 4.4

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] MIPS: Handle removal of 'h' constraint in GCC 4.4
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Fri, 19 Dec 2008 00:46:11 +0000 (GMT)
Cc: linux-mips@linux-mips.org
In-reply-to: <1229567048-19219-1-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1229567048-19219-1-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Alpine 1.10 (LFD 962 2008-03-14)
On Wed, 17 Dec 2008, David Daney wrote:

> This is an incomplete proof of concept that I applied to be able to
> build a 64 bit kernel with GCC-4.4.  It doesn't handle the 32 bit case
> or the R4000_WAR case.

 The R4000_WAR case can use the same C code -- GCC will adjust code 
generated as necessary according to the -mfix-r4000 flag.  For the 32-bit 
case I think the conclusion was the only way to get it working is to use 
MFHI explicitly in the asm.

  Maciej

<Prev in Thread] Current Thread [Next in Thread>