From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 13 Apr 2004 01:53:06 +0100 (BST) Received: from ispmxmta06-srv.alltel.net ([IPv6:::ffff:166.102.165.167]:48382 "EHLO ispmxmta06-srv.alltel.net") by linux-mips.org with ESMTP id ; Tue, 13 Apr 2004 01:53:05 +0100 Received: from lahoo.priv ([162.39.1.206]) by ispmxmta06-srv.alltel.net with ESMTP id <20040413005258.GOLV22068.ispmxmta06-srv.alltel.net@lahoo.priv> for ; Mon, 12 Apr 2004 19:52:58 -0500 Received: from prefect.priv ([10.1.1.141] helo=prefect) by lahoo.priv with smtp (Exim 3.36 #1 (Debian)) id 1BDBwZ-00079x-00 for ; Mon, 12 Apr 2004 20:38:27 -0400 Message-ID: <048e01c420f1$ad4ae3b0$8d01010a@prefect> From: "Bradley D. LaRonde" To: References: <20040412231309.GA702@linux-mips.org> <03f301c420e7$d8de2d70$8d01010a@prefect> Subject: Re: [PATCH] gcc 3.4 drops "accum" clobber, replace with "hi" in time.c Date: Mon, 12 Apr 2004 20:53:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 4759 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: brad@laronde.org Precedence: bulk X-list: linux-mips Uh oh, with this patch: ... time.c: In function `fixed_rate_gettimeoffset': time.c:242: error: can't find a register in class `HI_REG' while reloading `asm' ... Regards, Brad ----- Original Message ----- From: "Bradley D. LaRonde" To: Sent: Monday, April 12, 2004 7:42 PM Subject: [PATCH] gcc 3.4 drops "accum" clobber, replace with "hi" in time.c > This 2.4 patch look OK? > > Regards, > Brad > > diff -u -r1.1.1.1 time.c > --- arch/mips/kernel/time.c 10 Nov 2003 21:06:52 -0000 1.1.1.1 > +++ arch/mips/kernel/time.c 12 Apr 2004 23:41:38 -0000 > @@ -242,7 +242,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (sll32_usecs_per_cycle) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > @@ -297,7 +297,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (quotient) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > @@ -339,7 +339,7 @@ > : "r" (timerhi), "m" (timerlo), > "r" (tmp), "r" (USECS_PER_JIFFY), > "r" (USECS_PER_JIFFY_FRAC) > - : "hi", "lo", "accum"); > + : "hi", "lo", "hi"); > cached_quotient = quotient; > } > } > @@ -353,7 +353,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (quotient) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lahoo.priv ([162.39.1.206]) by ispmxmta06-srv.alltel.net with ESMTP id <20040413005258.GOLV22068.ispmxmta06-srv.alltel.net@lahoo.priv> for ; Mon, 12 Apr 2004 19:52:58 -0500 Received: from prefect.priv ([10.1.1.141] helo=prefect) by lahoo.priv with smtp (Exim 3.36 #1 (Debian)) id 1BDBwZ-00079x-00 for ; Mon, 12 Apr 2004 20:38:27 -0400 Message-ID: <048e01c420f1$ad4ae3b0$8d01010a@prefect> From: "Bradley D. LaRonde" References: <20040412231309.GA702@linux-mips.org> <03f301c420e7$d8de2d70$8d01010a@prefect> Subject: Re: [PATCH] gcc 3.4 drops "accum" clobber, replace with "hi" in time.c Date: Mon, 12 Apr 2004 20:53:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: linux-mips@linux-mips.org Message-ID: <20040413005303.3Cd0Ddm83x8zjeZuC2hBwMJA4W-bXrkoKXyHohB-RCE@z> Uh oh, with this patch: ... time.c: In function `fixed_rate_gettimeoffset': time.c:242: error: can't find a register in class `HI_REG' while reloading `asm' ... Regards, Brad ----- Original Message ----- From: "Bradley D. LaRonde" To: Sent: Monday, April 12, 2004 7:42 PM Subject: [PATCH] gcc 3.4 drops "accum" clobber, replace with "hi" in time.c > This 2.4 patch look OK? > > Regards, > Brad > > diff -u -r1.1.1.1 time.c > --- arch/mips/kernel/time.c 10 Nov 2003 21:06:52 -0000 1.1.1.1 > +++ arch/mips/kernel/time.c 12 Apr 2004 23:41:38 -0000 > @@ -242,7 +242,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (sll32_usecs_per_cycle) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > @@ -297,7 +297,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (quotient) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > @@ -339,7 +339,7 @@ > : "r" (timerhi), "m" (timerlo), > "r" (tmp), "r" (USECS_PER_JIFFY), > "r" (USECS_PER_JIFFY_FRAC) > - : "hi", "lo", "accum"); > + : "hi", "lo", "hi"); > cached_quotient = quotient; > } > } > @@ -353,7 +353,7 @@ > __asm__("multu %1,%2" > : "=h" (res) > : "r" (count), "r" (quotient) > - : "lo", "accum"); > + : "lo", "hi"); > > /* > * Due to possible jiffies inconsistencies, we need to check > > >