From: Jes Sorensen <jes@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [patch 5/5] fix sn rw_mmr.h to use intrinsic
Date: Thu, 02 Feb 2006 21:01:22 +0000 [thread overview]
Message-ID: <yq0k6cdo4pp.fsf@jaguar.mkp.net> (raw)
In-Reply-To: <200601270137.k0R1big21236@unix-os.sc.intel.com>
>>>>> "Tony" = Luck, Tony <tony.luck@intel.com> writes:
>> We could do this in this particular case, but it doesn't solve the
>> fundamental problem. What we really need is Intel showing that it
>> will fix it's broken compilers once and for all if Intel wishes to
>> continue compiling the kernel with it.
Tony> This one is your call ... you are the official maintainer of
Tony> this file now[1]. I think that moving these to a ".S" file
Tony> represents a real cleanup (that just happens to help compiling
Tony> with icc).
Hi Tony,
Still haven't received the official 'Altix Sucker' t-shirt ;-) But I
agree it looks like a real cleanup that way. I noticed Jack
volunteered already, but I can look into it if Jack has too much other
stuff on his plate.
>> The way it is right now, it means users who make the mistake of
>> compiling with ICC ends up exercising different codepaths than what
>> everybody else runs. This makes bug reports and benchmark results
>> meaningless.
Tony> I think that there are some real benefits to building with a
Tony> different compiler. icc has exposed some real bugs in the
Tony> kernel in the past, and I expect that it will do so again.
I don't think it's an invalid thing to do, if nothing else it's a
great point for the compiler people as a stress test. It just ought to
be done on the kernel's terms not the other way round.
>> What I don't understand is why this is so much more difficult for
>> Intel's compiler team to fix when several other, and much smaller,
>> teams haven't found it a problem to resolve it in the past.
Tony> Me too. On the x86 side icc accepts inline asm(), and there
Tony> have been substantial improvements to icc to make it accept many
Tony> of the commonly used gcc extensions ... but the ia64 team have
Tony> steadfastly stuck to their position that intrinsics are the wave
Tony> of the future. As far as the kernel goes this has really slowed
Tony> down acceptance (and even use) of icc. Kernel code contains few
Tony> constructs where icc can really shine over gcc, and in any case
Tony> the C code is often written with an eye on the instructions that
Tony> are generated, which further limits the possible upside.
Sounds like we're on the same page! Next question is what it would
take to make them see the light? Pulling out the intrinsics code would
be one way, but it might cause a lot of screaming on the short term
;-)
Cheers,
Jes
next prev parent reply other threads:[~2006-02-02 21:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 1:37 [patch 5/5] fix sn rw_mmr.h to use intrinsic Chen, Kenneth W
2006-01-27 3:57 ` Chen, Kenneth W
2006-01-27 9:57 ` Jes Sorensen
2006-01-27 23:35 ` Chen, Kenneth W
2006-01-31 10:57 ` Jes Sorensen
2006-01-31 11:19 ` Christoph Hellwig
2006-01-31 18:08 ` Luck, Tony
2006-02-02 9:39 ` Jes Sorensen
2006-02-02 14:18 ` Jack Steiner
2006-02-02 18:54 ` Luck, Tony
2006-02-02 21:01 ` Jes Sorensen [this message]
2006-02-03 23:40 ` Gerald Pfeifer
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=yq0k6cdo4pp.fsf@jaguar.mkp.net \
--to=jes@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/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