This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Sorry to keep going around on this -- but why not put directives in the .s file? You're already conditionalizing on HAVE_GNU_AS, so you know you're using the GNU assembler.
Command-line options just make it easy for things to get weirdly out of sync; directives in the .s file keep the
information together. If we must pass this information
to the assembler, at least let's put it in the .s file.
And do it in a way that's table-driven so that adding new
cores to the machine-description doesn't require remembering
to update a separate list of cores to pass to the assembler.
If the assembler doesn't recognize a core name, it can just
ignore the directive.
It's not my place to stand in front of the x86 maintainers, but I still think this whole direction towards optimization in the assembler is fraught with peril. We've been there, and we didn't like it.
Vladimir Volynsky --- Professional hosting for everyone - http://www.host.ru
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |