mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>,
	arjanv@redhat.com, davej@redhat.com, Ingo Molnar <mingo@elte.hu>
Subject: Re: raid 5 with >= 5 members broken on x86
Date: Thu, 26 Feb 2004 14:04:52 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0402261403240.7830@ppc970.osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0402261329450.7830@ppc970.osdl.org>



On Thu, 26 Feb 2004, Linus Torvalds wrote:
> 
> Btw, the "xor_pII_mmx_5()" thing just uses "+r" for the line count, so why 
> doesn't that work for this case?

In other words, shouldn't this work for all compilers also? I don't see 
why this shouldn't compile if the pII version compiles? 

Yes, it's pushing the register pressure a bit, but it would seem to be
the simplest fix..

		Linus

===== include/asm-i386/xor.h 1.14 vs edited =====
--- 1.14/include/asm-i386/xor.h	Tue Mar 11 18:15:03 2003
+++ edited/include/asm-i386/xor.h	Thu Feb 26 14:03:17 2004
@@ -489,7 +489,7 @@
 	"       jnz 1b               ;\n"
 	"	popl %5\n"
 	"	popl %4\n"
-	: "+g" (lines),
+	: "+r" (lines),
 	  "+r" (p1), "+r" (p2), "+r" (p3)
 	: "r" (p4), "r" (p5)
 	: "memory");

  reply	other threads:[~2004-02-26 22:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-26 18:36 Alexandre Oliva
2004-02-26 21:50 ` Linus Torvalds
2004-02-26 22:04   ` Linus Torvalds [this message]
2004-02-26 22:13   ` Alexandre Oliva
2004-02-26 22:32     ` Linus Torvalds
2004-02-26 22:40       ` Alexandre Oliva
2004-02-26 22:57       ` Alexandre Oliva
2004-02-26 23:37       ` Alexandre Oliva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0402261403240.7830@ppc970.osdl.org \
    --to=torvalds@osdl.org \
    --cc=akpm@osdl.org \
    --cc=aoliva@redhat.com \
    --cc=arjanv@redhat.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®