From: David Bronaugh <dbronaugh@linuxboxen.org>
To: linux-kernel@vger.kernel.org
Subject: Patch to enable K6-2 and K6-3 processor optimizations
Date: Fri, 9 Aug 2002 01:48:40 -0700 [thread overview]
Message-ID: <20020809014840.4e81fbd3.dbronaugh@linuxboxen.org> (raw)
Hi,
This is my first kernel patch, so please go easy on me :)
What it does is conditionally enable -march=k6-2 and -march=k6-3, and provide options for each in the Processor Type and Features menu.
This is conditional on the compiler supporting it; as of this writing only GCC 3.1 does. I compiled this kernel successfully with this patch on my K6-III and am presently running this kernel.
It also enables 3DNow in the case of the K6-III; I wasn't sure if 3DNow might imply the extended Athlon 3DNow instructions, so I only enabled it for the K6-III, which I know supports it.
Anyhow, that's all.
David Bronaugh
ps: This is pretty trivial to apply for other CPUs too; as I understand it several different CPU types gained their own architecture strings with GCC 3.1
next reply other threads:[~2002-08-09 8:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-09 8:48 David Bronaugh [this message]
2002-08-09 10:31 ` Patch to enable K6-2 and K6-3 processor optimizations Alan Cox
2002-08-09 17:28 ` David Bronaugh
2002-08-09 16:45 ` Josh McKinney
-- strict thread matches above, loose matches on Subject: below --
2002-08-09 8:52 David Bronaugh
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=20020809014840.4e81fbd3.dbronaugh@linuxboxen.org \
--to=dbronaugh@linuxboxen.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.