[PATCH] gas: Add --with-optimization=OPTION

H.J. Lu hjl.tools@gmail.com
Tue Feb 27 14:19:00 GMT 2018
On Tue, Feb 27, 2018 at 6:06 AM, Jan Beulich <JBeulich@suse.com> wrote:
>>>> On 27.02.18 at 14:44, <hjl.tools@gmail.com> wrote:
>> I'd like to change x86 assembler to turn -O2 on by default without
>> any configure-time option.  But if such encoding changes may break
>> existing code, I don't want to risk it to even support -On at all.
>
> I don't understand this: As we've seen, Linux would very much like
> to enable optimizations. Yet that doesn't mean everyone wants it,
> nor that it should be the default.
>

We never guarantee that instruction encoding is fixed as there is
more than one way to encode an instruction.  Is there a way find
out who don't want it?

-- 
H.J.



More information about the Binutils mailing list