Re: Criteria for adding AIX as a secondary platform.

2025-06-30 Thread Thomas Koenig via Gcc
Am 30.06.25 um 20:47 schrieb Jonathan Wakely via Gcc: On Mon, 30 Jun 2025, 17:13 Thomas Koenig via Gcc, wrote: Am 30.06.25 um 17:17 schrieb Richard Biener via Gcc: There used to be access to an AIX system on the compile farm, but I do not know about the status of that. https://portal.cfarm.

Re: Manually set sret parameter

2025-06-30 Thread Andrew Pinski via Gcc
On Mon, Jun 30, 2025 at 12:25 PM Andrew Pinski wrote: > > On Mon, Jun 30, 2025 at 12:01 PM Fractal Fir wrote: > > > > Thank you so much for the help! It seems like the TREE_ADDRESSABLE bit is > > indeed what we have been looking for. > > > > In regards to your questions: > > > > Sadly, most of t

Re: Manually set sret parameter

2025-06-30 Thread Andrew Pinski via Gcc
On Mon, Jun 30, 2025 at 12:01 PM Fractal Fir wrote: > > Thank you so much for the help! It seems like the TREE_ADDRESSABLE bit is > indeed what we have been looking for. > > In regards to your questions: > > Sadly, most of this is barely documented if at all. The rust compiler > documentation is

Re: Manually set sret parameter

2025-06-30 Thread Fractal Fir via Gcc
Thank you so much for the help! It seems like the TREE_ADDRESSABLE bit is indeed what we have been looking for. In regards to your questions: Sadly, most of this is barely documented if at all. The rust compiler documentation is... not good. I only know about this because somebody mentioned this

Re: Criteria for adding AIX as a secondary platform.

2025-06-30 Thread Jonathan Wakely via Gcc
On Mon, 30 Jun 2025, 17:13 Thomas Koenig via Gcc, wrote: > Am 30.06.25 um 17:17 schrieb Richard Biener via Gcc: > > There used to be access to an AIX system on the compile farm, but I do > not know about the status of that. > > https://portal.cfarm.net/machines/list/ lists > cfarm111 and cfarm119

Re: Manually set sret parameter

2025-06-30 Thread Andrew Pinski via Gcc
On Mon, Jun 30, 2025 at 11:22 AM Andrew Pinski wrote: > > On Mon, Jun 30, 2025 at 11:10 AM Fractal Fir wrote: > > > > Hi! > > > > I am one of the folk currently working on `rustc_codegen_gcc`, and I > > thought that I will provide some more context. > > > > > So I looked into this further, it is

Re: Manually set sret parameter

2025-06-30 Thread Andrew Pinski via Gcc
On Mon, Jun 30, 2025 at 11:10 AM Fractal Fir wrote: > > Hi! > > I am one of the folk currently working on `rustc_codegen_gcc`, and I thought > that I will provide some more context. > > > So I looked into this further, it is not rust that specifies sret but > rather rust transformation into llvm

Re: Manually set sret parameter

2025-06-30 Thread Fractal Fir via Gcc
Hi! I am one of the folk currently working on `rustc_codegen_gcc`, and I thought that I will provide some more context. > So I looked into this further, it is not rust that specifies sret but rather rust transformation into llvm code generation that does that. > So you need to explain what exact

Re: Manually set sret parameter

2025-06-30 Thread Antoni Boucher via Gcc
Hi. Let me introduce you Fractal Fir who's a student working on rustc_codegen_gcc for the Google Summer of Code. He found some ABI issues (one related to sret) in rustc_codegen_gcc and wanted to join this discussion in order to share more details about what we want to achieve here. Thanks. Le

Re: Criteria for adding AIX as a secondary platform.

2025-06-30 Thread Thomas Koenig via Gcc
Am 30.06.25 um 17:17 schrieb Richard Biener via Gcc: There used to be access to an AIX system on the compile farm, but I do not know about the status of that. https://portal.cfarm.net/machines/list/ lists cfarm111 and cfarm119 as AIX machines, a POWER7 and POWER8 system, respectively. Best re

Re: Criteria for adding AIX as a secondary platform.

2025-06-30 Thread David Edelsohn via Gcc
The general criteria for primary, secondary, and tertiary platforms are described on the page to which you linked. The choice of level is decided by the GCC Steering Committee in consultation with the GCC Release Managers and the maintainers for the targets / platforms. AIX is an unusual platform

Re: Criteria for adding AIX as a secondary platform.

2025-06-30 Thread Richard Biener via Gcc
> Am 30.06.2025 um 16:55 schrieb swamy sangamesh via Gcc : > > Hi All, > > Would like to know the criteria for adding AIX as a secondary platform. > https://gcc.gnu.org/gcc-15/criteria.html Note we only make changes going forward which means for GCC 16, the set of primary/secondary targets

Re: Manually set sret parameter

2025-06-30 Thread Antoni Boucher via Gcc
Le 2025-06-29 à 19 h 42, Andrew Pinski a écrit : On Sun, Jun 29, 2025, 4:36 PM Antoni Boucher > wrote: Le 2025-06-29 à 10 h 46, Andrew Pinski a écrit : > > > On Sun, Jun 29, 2025, 7:43 AM Andrew Pinski mailto:pins...@gmail.com> >

Criteria for adding AIX as a secondary platform.

2025-06-30 Thread swamy sangamesh via Gcc
Hi All, Would like to know the criteria for adding AIX as a secondary platform. https://gcc.gnu.org/gcc-15/criteria.html Willing to participate in the work needed for the platform to be added as primary and secondary. -- Thanks & Regards, Sangamesh

Re: Manually set sret parameter

2025-06-30 Thread Andrew Pinski via Gcc
On Mon, Jun 30, 2025 at 7:25 AM Antoni Boucher wrote: > > > > Le 2025-06-29 à 19 h 42, Andrew Pinski a écrit : > > > > > > On Sun, Jun 29, 2025, 4:36 PM Antoni Boucher > > wrote: > > > > > > > > Le 2025-06-29 à 10 h 46, Andrew Pinski a écrit : > > > > > > >

Re: SLP costing vs. forwardprop

2025-06-30 Thread Richard Biener via Gcc
On Mon, Jun 30, 2025 at 2:50 PM Juergen Christ via Gcc wrote: > > Hi, > > I am just looking at SLP costing for this program: > > #include > > typedef int16_t __attribute__((vector_size(16))) int16x8_t; > > int16x8_t __attribute__((noinline)) vec_padd(int16x8_t a, int16x8_t b) { > const int16x8_

SLP costing vs. forwardprop

2025-06-30 Thread Juergen Christ via Gcc
Hi, I am just looking at SLP costing for this program: #include typedef int16_t __attribute__((vector_size(16))) int16x8_t; int16x8_t __attribute__((noinline)) vec_padd(int16x8_t a, int16x8_t b) { const int16x8_t result = { a[0] + a[1], a[2] + a[3], a[4] + a[5], a[6]

Re: eliminating code at link-time, using a CRT built with -flto

2025-06-30 Thread Richard Biener via Gcc
On Mon, Jun 30, 2025 at 8:59 AM Iain Sandoe wrote: > > Hi > > I am investigating the following; > > in the program code I have calls like > > uint16_t x = __crt_func ( 10 ); > > where the argument is guaranteed to be a compile-time uint16_t literal. > > So I’ve arranged a series of crts (built wi