[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?
- Re: Q: What is default architecture for code produced by native compiler?, (continued)
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/24
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, martin rudalics, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?,
Arthur Miller <=
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/26
Re: Q: What is default architecture for code produced by native compiler?, Arthur Miller, 2021/08/24
- Re: Q: What is default architecture for code produced by native compiler?, Andrea Corallo, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Andrea Corallo, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/25
- Re: Q: What is default architecture for code produced by native compiler?, Andrea Corallo, 2021/08/25