Re: [PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-03-03 Thread YunQiang Su
Maciej W. Rozycki 于2021年3月4日周四 上午7:50写道: > > On Fri, 19 Feb 2021, YunQiang Su wrote: > > > > My understanding therefore is that the original assumption that `optimal' > > > will serve people best is no longer true. > > > > > > > I guess that `optimal' can still produce the best performance, while

Re: [PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-03-03 Thread Maciej W. Rozycki
On Fri, 19 Feb 2021, YunQiang Su wrote: > > My understanding therefore is that the original assumption that `optimal' > > will serve people best is no longer true. > > > > I guess that `optimal' can still produce the best performance, while > the delay slot > make MIPS quite differnent with othe

Re: [PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-02-18 Thread YunQiang Su
Maciej W. Rozycki 于2021年2月17日周三 上午3:45写道: > > On Tue, 16 Feb 2021, Jeff Law via Gcc-patches wrote: > > > > diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi > > > index 4c38244ae58..6b9520569ba 100644 > > > --- a/gcc/doc/install.texi > > > +++ b/gcc/doc/install.texi > > > @@ -1464,6 +1464,2

Re: [PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-02-16 Thread Maciej W. Rozycki
On Tue, 16 Feb 2021, Jeff Law via Gcc-patches wrote: > > diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi > > index 4c38244ae58..6b9520569ba 100644 > > --- a/gcc/doc/install.texi > > +++ b/gcc/doc/install.texi > > @@ -1464,6 +1464,29 @@ systems that support conditional traps). > > Divisio

Re: [PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-02-16 Thread Jeff Law via Gcc-patches
On 2/5/21 2:53 AM, YunQiang Su wrote: > For R6+, it allows to configure gcc to use compact branches only. > --- > gcc/config.gcc | 18 +- > gcc/doc/install.texi | 23 +++ > 2 files changed, 40 insertions(+), 1 deletion(-) > > diff --git a/gcc/config.gcc

[PATCH 2/3] MIPS: add builtime option for -mcompact-branches

2021-02-05 Thread YunQiang Su
For R6+, it allows to configure gcc to use compact branches only. --- gcc/config.gcc | 18 +- gcc/doc/install.texi | 23 +++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index 17fea83b2e4..7d50e7995d2 10064