Questions about macro fusion pass

2025-01-08 Thread Hau Hsu via Gcc
Hi, I have a question about GCC's macro fusion pass. In the GCC internals doc, there is a hook for scheduling: TARGET_SCHED_MACRO_FUSION_PAIR_P It says: > If this hook returns true fo

Re: Link-time resolved constant

2025-01-08 Thread The Cuthour via Gcc
And I heard "That's already here. ELF gABI does the same thing." Anyway I can't implement it myself. I hope wide discussion. https://gcc.gnu.org/pipermail/gcc/2025-January/245358.html On 2025/01/08 22:08, Trampas Stern wrote: Go do it! Do it so well and with such high quality that no one can

Re: Link-time resolved constant

2025-01-08 Thread Trampas Stern via Gcc
Go do it! Do it so well and with such high quality that no one can ignore the results! On Tue, Jan 7, 2025 at 1:26 PM The Cuthour wrote: > Thank you. > > My plan is to make a higher compatibility version of ELF. > You may be able to call it ELF2.0 >

RE: [RFC] Enabling SVE with offloading to nvptx

2025-01-08 Thread Prathamesh Kulkarni via Gcc
> -Original Message- > From: Gcc On Behalf > Of Prathamesh Kulkarni via Gcc > Sent: 27 December 2024 18:00 > To: Jakub Jelinek > Cc: Andrew Stubbs ; Richard Biener > ; Richard Biener ; > gcc@gcc.gnu.org; Thomas Schwinge > Subject: RE: [RFC] Enabling SVE with offloading to nvptx > > E

nvptx: For '-march=sm_52' and higher, default at least to '-mptx=7.3' (was: Raise nvptx code generation to default PTX ISA 7.3, sm_52, therefore CUDA 11.3 (released 2021-04))

2025-01-08 Thread Thomas Schwinge
Hi! On 2024-09-20T18:49:46+0200, I wrote: > We'd like to raise nvptx code generation from PTX ISA 6.0, sm_30 "Kepler" > to default PTX ISA 7.3, sm_52 "Maxwell", therefore CUDA 11.3 (2021-04). > This is, primarily, so that we're able to use 'alloca' and related stack > manipulation instructions, an