Re: [PATCH 3/N] Come up with casm global state.

2021-11-09 Thread Richard Biener via Gcc-patches
On Fri, Nov 5, 2021 at 3:27 PM Martin Liška wrote: > > On 10/26/21 09:45, Richard Biener wrote: > > On Mon, Oct 25, 2021 at 6:32 PM Segher Boessenkool > > wrote: > >> > >> Hi! > >> > >> On Mon, Oct 25, 2021 at 03:36:25PM +0200, Martin Liška wrote: > >>> --- a/gcc/config/rs6000/rs6000-internal.h >

Re: [PATCH 3/N] Come up with casm global state.

2021-11-05 Thread Martin Liška
On 10/26/21 09:45, Richard Biener wrote: On Mon, Oct 25, 2021 at 6:32 PM Segher Boessenkool wrote: Hi! On Mon, Oct 25, 2021 at 03:36:25PM +0200, Martin Liška wrote: --- a/gcc/config/rs6000/rs6000-internal.h +++ b/gcc/config/rs6000/rs6000-internal.h @@ -189,4 +189,13 @@ extern bool rs6000_pas

Re: [PATCH 3/N] Come up with casm global state.

2021-10-26 Thread Richard Biener via Gcc-patches
On Mon, Oct 25, 2021 at 6:32 PM Segher Boessenkool wrote: > > Hi! > > On Mon, Oct 25, 2021 at 03:36:25PM +0200, Martin Liška wrote: > > --- a/gcc/config/rs6000/rs6000-internal.h > > +++ b/gcc/config/rs6000/rs6000-internal.h > > @@ -189,4 +189,13 @@ extern bool rs6000_passes_vector; > > extern boo

Re: [PATCH 3/N] Come up with casm global state.

2021-10-25 Thread Segher Boessenkool
Hi! On Mon, Oct 25, 2021 at 03:36:25PM +0200, Martin Liška wrote: > --- a/gcc/config/rs6000/rs6000-internal.h > +++ b/gcc/config/rs6000/rs6000-internal.h > @@ -189,4 +189,13 @@ extern bool rs6000_passes_vector; > extern bool rs6000_returns_struct; > extern bool cpu_builtin_p; > > +struct rs600

Re: [PATCH 3/N] Come up with casm global state.

2021-10-25 Thread Segher Boessenkool
On Mon, Oct 25, 2021 at 12:46:30PM +0200, Richard Biener wrote: > On Thu, Oct 21, 2021 at 5:42 PM Segher Boessenkool > wrote: > > It's disgusting, and fragile. The define is slightly better than having > > to write it out every time. But can this not be done properly? > > > > If you use object-o

Re: [PATCH 3/N] Come up with casm global state.

2021-10-25 Thread Richard Biener via Gcc-patches
On Thu, Oct 21, 2021 at 5:42 PM Segher Boessenkool wrote: > > On Thu, Oct 21, 2021 at 02:42:10PM +0200, Richard Biener wrote: > > +#define rs6000_casm static_cast (casm) > > > > maybe there's a better way? Though I can't think of one at the moment. > > There are only 10 uses so eventually we can

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread Segher Boessenkool
On Thu, Oct 21, 2021 at 02:42:10PM +0200, Richard Biener wrote: > +#define rs6000_casm static_cast (casm) > > maybe there's a better way? Though I can't think of one at the moment. > There are only 10 uses so eventually we can put the > static_cast into all places. Let's ask the powerpc maintain

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread Richard Biener via Gcc-patches
On Thu, Oct 21, 2021 at 3:43 PM Martin Liška wrote: > > On 10/21/21 14:42, Richard Biener wrote: > > On Thu, Oct 21, 2021 at 11:47 AM Martin Liška wrote: > >> > >> On 10/5/21 13:54, Richard Biener wrote: > >>> On Mon, Oct 4, 2021 at 1:13 PM Martin Liška wrote: > > On 9/22/21 11:59, Ric

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread Martin Liška
On 10/21/21 14:42, Richard Biener wrote: On Thu, Oct 21, 2021 at 11:47 AM Martin Liška wrote: On 10/5/21 13:54, Richard Biener wrote: On Mon, Oct 4, 2021 at 1:13 PM Martin Liška wrote: On 9/22/21 11:59, Richard Biener wrote: On Thu, Sep 16, 2021 at 3:12 PM Martin Liška wrote: This patc

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread Richard Biener via Gcc-patches
On Thu, Oct 21, 2021 at 2:48 PM David Malcolm via Gcc-patches wrote: > > On Thu, 2021-09-16 at 15:12 +0200, Martin Liška wrote: > > This patch comes up with asm_out_state and a new global variable > > casm. > > > > Tested on all cross compilers. > > Patch can bootstrap on x86_64-linux-gnu and surv

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread David Malcolm via Gcc-patches
On Thu, 2021-09-16 at 15:12 +0200, Martin Liška wrote: > This patch comes up with asm_out_state and a new global variable > casm. > > Tested on all cross compilers. > Patch can bootstrap on x86_64-linux-gnu and survives regression > tests. > > Ready to be installed? > Thanks, > Martin This is po

Re: [PATCH 3/N] Come up with casm global state.

2021-10-21 Thread Richard Biener via Gcc-patches
On Thu, Oct 21, 2021 at 11:47 AM Martin Liška wrote: > > On 10/5/21 13:54, Richard Biener wrote: > > On Mon, Oct 4, 2021 at 1:13 PM Martin Liška wrote: > >> > >> On 9/22/21 11:59, Richard Biener wrote: > >>> On Thu, Sep 16, 2021 at 3:12 PM Martin Liška wrote: > > This patch comes up wi

Re: [PATCH 3/N] Come up with casm global state.

2021-10-05 Thread Richard Biener via Gcc-patches
On Mon, Oct 4, 2021 at 1:13 PM Martin Liška wrote: > > On 9/22/21 11:59, Richard Biener wrote: > > On Thu, Sep 16, 2021 at 3:12 PM Martin Liška wrote: > >> > >> This patch comes up with asm_out_state and a new global variable casm. > >> > >> Tested on all cross compilers. > >> Patch can bootstrap

Re: [PATCH 3/N] Come up with casm global state.

2021-10-04 Thread Martin Liška
On 9/16/21 15:12, Martin Liška wrote: This patch comes up with asm_out_state and a new global variable casm. Tested on all cross compilers. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin As explained in the '3/N' part, we will have

Re: [PATCH 3/N] Come up with casm global state.

2021-10-04 Thread Martin Liška
On 9/22/21 11:59, Richard Biener wrote: On Thu, Sep 16, 2021 at 3:12 PM Martin Liška wrote: This patch comes up with asm_out_state and a new global variable casm. Tested on all cross compilers. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed?

Re: [PATCH 3/N] Come up with casm global state.

2021-09-22 Thread Richard Biener via Gcc-patches
On Thu, Sep 16, 2021 at 3:12 PM Martin Liška wrote: > > This patch comes up with asm_out_state and a new global variable casm. > > Tested on all cross compilers. > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? * output.h (struct asm_out_