[PATCH] gas: Add --with-optimization=OPTION
H.J. Lu
hjl.tools@gmail.com
Mon Feb 26 18:41:00 GMT 2018
More information about the Binutils mailing list
Mon Feb 26 18:41:00 GMT 2018
- Previous message (by thread): [PATCH] gas: Add --with-optimization=OPTION
- Next message (by thread): [PATCH] gas: Add --with-optimization=OPTION
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Feb 26, 2018 at 10:33 AM, Joseph Myers <joseph@codesourcery.com> wrote: > On Mon, 26 Feb 2018, H.J. Lu wrote: > >> 1. Add --with-optimization=OPTION configure option for x86 gas. This >> allows the default optimization type to be adjusted at configure time. > > I don't think such a configure option is appropriate. It's far outside > the standard definition of either --enable or --with options. > Command-line options and assembler directives should be fully sufficient > without any such configure option, especially given that the assembler is So it is OK to enable encoding optimization by default. But it is inappropriate to control it at configure time. > mainly used for assembling compiler output. > x86 assembler optimizes, immediate. displacement as well as VEX vs EVEX. I am intending to enable this by default. --with-optimization=OPTION provides a way to test it for a while. -- H.J.
- Previous message (by thread): [PATCH] gas: Add --with-optimization=OPTION
- Next message (by thread): [PATCH] gas: Add --with-optimization=OPTION
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list