[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: |
Eli Zaretskii |
Subject: |
Re: Q: What is default architecture for code produced by native compiler? |
Date: |
Wed, 25 Aug 2021 14:31:30 +0300 |
> From: Arthur Miller <arthur.miller@live.com>
> Date: Wed, 25 Aug 2021 03:13:49 +0200
> Cc: emacs-devel@gnu.org
>
> >> If it is generic, do we have option to pass in arch and cpu flags?
> >
> > No we don't, even if we could expose it using
> > 'gcc_jit_context_add_command_line_option' for non obsolete versions of
> > GCC.
>
> Allright, is there any interest to expose this? :-)
>
> We could have a defcustom in comp.el, either some boolean like:
> "native-comp-prefer-host-cpu"
What's wrong with using native-comp-driver-options?
I'm also curious why you want to mess with that. Do you use the
equivalent GCC switches when compiling Emacs? If so, why?
> To be honest, I have no idea if there is much if anything to win in speed in
> elisp context,
> between generic and skylake
My guess would be nothing. And if you want to try that, I'd first
suggest trying that when building some program with GCC.
- 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/24
- 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 <=
- 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, 2021/08/26
- Re: Q: What is default architecture for code produced by native compiler?, Eli Zaretskii, 2021/08/26