Patchwork PATCH: Add -march=/-mtune=corei7-avx

login
register
mail settings
Submitter H.J. Lu
Date Dec. 15, 2010, 10:47 p.m.
Message ID <AANLkTi=XY5Gr6sYYhHnCsrhsXejPf060fLeNNPP-4hV7@mail.gmail.com>
Download mbox | patch
Permalink /patch/75702/
State New
Headers show

Comments

H.J. Lu - Dec. 15, 2010, 10:47 p.m.
On Wed, Dec 15, 2010 at 2:34 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Mon, 6 Dec 2010, H.J. Lu wrote:
>> This patch adds -march=/-mtune=corei7-avx.  OK for trunk?
>
> I believe you also may want to update
> http://gcc.gnu.org/gcc-4.6/changes.html
>
> Gerald
>

How about this patch?

Thanks.
Gerald Pfeifer - Dec. 15, 2010, 11:09 p.m.
On Wed, 15 Dec 2010, H.J. Lu wrote:
> How about this patch?

That looks good to me.  I believe "Support for Intel Core i3/i5/i7 
processor" would be "...processors".

Thanks,
Gerald
H.J. Lu - Dec. 15, 2010, 11:15 p.m.
On Wed, Dec 15, 2010 at 3:09 PM, Gerald Pfeifer <gerald@pfeifer.com> wrote:
> On Wed, 15 Dec 2010, H.J. Lu wrote:
>> How about this patch?
>
> That looks good to me.  I believe "Support for Intel Core i3/i5/i7
> processor" would be "...processors".
>

Updated and checked in.

Thanks.

Patch

Index: gcc-4.6/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.76
diff -u -p -r1.76 changes.html
--- gcc-4.6/changes.html	14 Dec 2010 07:39:29 -0000	1.76
+++ gcc-4.6/changes.html	15 Dec 2010 22:46:22 -0000
@@ -530,6 +530,15 @@  Support for the <a href="http://golang.o
 	<li>Support for emitting profiler counter calls before function
 	prologues.  This is enabled via a new command-line option
 	<code>-mfentry</code>.</li>
+    <li>Support for Intel Core 2 processor is now available through
+	the <code>-march=core2</code> and <code>-mtune=core2</code>
+	options.</li>
+    <li>Support for Intel Core i3/i5/i7 processor is now available through
+	the <code>-march=corei7</code> and <code>-mtune=corei7</code>
+	options.</li>
+    <li>Support for Intel Core i3/i5/i7 processor with AVX is now available
+	through the <code>-march=corei7-avx</code> and
+	<code>-mtune=corei7-avx</code> options.</li>
     <li>The default setting (when not optimizing for size) for 32-bit
       GNU/Linux and Darwin x86 targets has been changed to
       <code>-fomit-frame-pointer</code>.  The default can be reverted