emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: What is default architecture for code produced by native compiler


From: Arthur Miller
Subject: Re: Q: What is default architecture for code produced by native compiler?
Date: Thu, 26 Aug 2021 17:58:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Arthur Miller <arthur.miller@live.com>
>> Cc: akrl@sdf.org,  emacs-devel@gnu.org
>> Date: Thu, 26 Aug 2021 01:26:30 +0200
>> 
>> > I'm also curious why you want to mess with that.  Do you use the
>> > equivalent GCC switches when compiling Emacs?  If so, why?
>> Yes, I do, I compile Emacs with -O3 -march=native and -mcpu=native
>> 
>> Hopefully gcc will emit some AVX instructions where possible. I haven't
>> dissasembled Emacs binary so I don't know how big is difference between 
>> generic
>> and native.
>
> Well, I suggest that you do look into the differences between the
> produced code, and try to measure the effect on the speed of Emacs.
>
> Btw, -O3 is not recommended, as it frequently produces a slower Emacs.

Do you sugest some benchmarks I could try?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]