This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Disable building with i386-*, -march=i386 or -mcpu=i386.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, GNU C Library <libc-alpha at sourceware dot org>, Andreas Jaeger <aj at suse dot com>, Thomas Schwinge <thomas at codesourcery dot com>
- Date: Tue, 16 Apr 2013 13:41:58 -0700 (PDT)
- Subject: Re: [PATCH] Disable building with i386-*, -march=i386 or -mcpu=i386.
- References: <513FE49D dot 3050406 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1303131610540 dot 19781 at digraph dot polyomino dot org dot uk> <51526E77 dot 4040801 at redhat dot com> <Pine dot LNX dot 4 dot 64 dot 1303271431550 dot 23096 at digraph dot polyomino dot org dot uk> <5154668A dot 6000700 at redhat dot com> <5160465E dot 8060400 at redhat dot com> <20130408210918 dot D97632C074 at topped-with-meat dot com> <51634DE2 dot 1060109 at redhat dot com> <20130408231128 dot DA09C2C0A2 at topped-with-meat dot com> <51640354 dot 1080808 at redhat dot com> <20130411215100 dot 6F0BA2C06F at topped-with-meat dot com> <516808BC dot 5000102 at redhat dot com> <20130412202503 dot 0B3932C069 at topped-with-meat dot com> <516B1D99 dot 7060107 at redhat dot com>
> OK, so what might we do here? Explain clearly that sysdeps/i386/i686 is
> free to use instructions what would not work on i586? I figured that was
> already true. Am I still missing the point?
There is not necessarily anything to do right now. But it's something
to consider when contemplating the details of compiler-based submachine
selection and when contemplating a sysdeps selection revamp.
The point you may be missing is that it is probably desireable to have
an arch vs tune distinction in our sysdeps selection. It's every bit
as worthwhile there as it is in the compiler.
Thanks,
Roland