[v3,0/6,MIPS] Reorganize the loongson march and extensions instructions set

Message ID CAKjxQH=wqyHZBNK16fe=rR_xugrZ7_q=qAizm9YB2=2WJsDrqA@mail.gmail.com
Headers show
Series
  • Reorganize the loongson march and extensions instructions set
Related show

Message

Paul Hua Oct. 16, 2018, 2:49 a.m.
Hi:

The original version of patches were here:
https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html

This is a update version. please review, thanks.

This series patches reorganize the Loongson -march=xxx and Loongson
extensions instructions set.  For long time, the Loongson extensions
instructions set puts under -march=loongson3a option.  We can't
disable one of them when we need.

The patch (1) split Loongson  MultiMedia extensions Instructions (MMI)
from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for
enable/disable them.

The patch (2) split Loongson EXTensions (EXT) instructions from
loongson3a, add -mloongson-ext/-mno-loongson-ext option for
enable/disable them.

The patch (3) add Loongson EXTensions R2 (EXT2) instructions support,
add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them.

The patch (4) add Loongson 3A1000 processor support.  The gs464 is a
codename of 3A1000 microarchitecture.  Rename -march=loongson3a to
-march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for
compatibility.

The patch (5) add Loongson 3A2000/3A3000 processor support.  Include
Loongson MMI, EXT, EXT2 instructions set.

The patch (6) add Loongson 2K1000 processor support. Include Loongson
MMI, EXT, EXT2 and MSA instructions set.

The binutils patch has been upstreamed.

There are six patches in this set, as follows.
1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch
2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch
3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch
4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch
5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch
6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch

All patchs test under mips64el-linux-gnu no new regressions.

Ok for commit ?

Thanks,
Paul Hua

Comments

Paul Hua Oct. 19, 2018, 6:19 a.m. | #1
Ping?

I'd like check in those patches before stage3.

Thanks,

On Tue, Oct 16, 2018 at 10:49 AM Paul Hua <paul.hua.gm@gmail.com> wrote:
>

> Hi:

>

> The original version of patches were here:

> https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html

>

> This is a update version. please review, thanks.

>

> This series patches reorganize the Loongson -march=xxx and Loongson

> extensions instructions set.  For long time, the Loongson extensions

> instructions set puts under -march=loongson3a option.  We can't

> disable one of them when we need.

>

> The patch (1) split Loongson  MultiMedia extensions Instructions (MMI)

> from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for

> enable/disable them.

>

> The patch (2) split Loongson EXTensions (EXT) instructions from

> loongson3a, add -mloongson-ext/-mno-loongson-ext option for

> enable/disable them.

>

> The patch (3) add Loongson EXTensions R2 (EXT2) instructions support,

> add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them.

>

> The patch (4) add Loongson 3A1000 processor support.  The gs464 is a

> codename of 3A1000 microarchitecture.  Rename -march=loongson3a to

> -march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for

> compatibility.

>

> The patch (5) add Loongson 3A2000/3A3000 processor support.  Include

> Loongson MMI, EXT, EXT2 instructions set.

>

> The patch (6) add Loongson 2K1000 processor support. Include Loongson

> MMI, EXT, EXT2 and MSA instructions set.

>

> The binutils patch has been upstreamed.

>

> There are six patches in this set, as follows.

> 1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch

> 2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch

> 3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch

> 4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch

> 5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch

> 6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch

>

> All patchs test under mips64el-linux-gnu no new regressions.

>

> Ok for commit ?

>

> Thanks,

> Paul Hua
Paul Hua Oct. 23, 2018, 1:16 a.m. | #2
Ping ?

On Fri, Oct 19, 2018 at 2:19 PM Paul Hua <paul.hua.gm@gmail.com> wrote:
>

> Ping?

>

> I'd like check in those patches before stage3.

>

> Thanks,

>

> On Tue, Oct 16, 2018 at 10:49 AM Paul Hua <paul.hua.gm@gmail.com> wrote:

> >

> > Hi:

> >

> > The original version of patches were here:

> > https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html

> >

> > This is a update version. please review, thanks.

> >

> > This series patches reorganize the Loongson -march=xxx and Loongson

> > extensions instructions set.  For long time, the Loongson extensions

> > instructions set puts under -march=loongson3a option.  We can't

> > disable one of them when we need.

> >

> > The patch (1) split Loongson  MultiMedia extensions Instructions (MMI)

> > from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for

> > enable/disable them.

> >

> > The patch (2) split Loongson EXTensions (EXT) instructions from

> > loongson3a, add -mloongson-ext/-mno-loongson-ext option for

> > enable/disable them.

> >

> > The patch (3) add Loongson EXTensions R2 (EXT2) instructions support,

> > add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them.

> >

> > The patch (4) add Loongson 3A1000 processor support.  The gs464 is a

> > codename of 3A1000 microarchitecture.  Rename -march=loongson3a to

> > -march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for

> > compatibility.

> >

> > The patch (5) add Loongson 3A2000/3A3000 processor support.  Include

> > Loongson MMI, EXT, EXT2 instructions set.

> >

> > The patch (6) add Loongson 2K1000 processor support. Include Loongson

> > MMI, EXT, EXT2 and MSA instructions set.

> >

> > The binutils patch has been upstreamed.

> >

> > There are six patches in this set, as follows.

> > 1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch

> > 2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch

> > 3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch

> > 4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch

> > 5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch

> > 6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch

> >

> > All patchs test under mips64el-linux-gnu no new regressions.

> >

> > Ok for commit ?

> >

> > Thanks,

> > Paul Hua
Paul Hua Oct. 26, 2018, 9:50 a.m. | #3
Ping ?

On Tue, Oct 23, 2018 at 9:16 AM Paul Hua <paul.hua.gm@gmail.com> wrote:
>

> Ping ?

>

> On Fri, Oct 19, 2018 at 2:19 PM Paul Hua <paul.hua.gm@gmail.com> wrote:

> >

> > Ping?

> >

> > I'd like check in those patches before stage3.

> >

> > Thanks,

> >

> > On Tue, Oct 16, 2018 at 10:49 AM Paul Hua <paul.hua.gm@gmail.com> wrote:

> > >

> > > Hi:

> > >

> > > The original version of patches were here:

> > > https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html

> > >

> > > This is a update version. please review, thanks.

> > >

> > > This series patches reorganize the Loongson -march=xxx and Loongson

> > > extensions instructions set.  For long time, the Loongson extensions

> > > instructions set puts under -march=loongson3a option.  We can't

> > > disable one of them when we need.

> > >

> > > The patch (1) split Loongson  MultiMedia extensions Instructions (MMI)

> > > from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for

> > > enable/disable them.

> > >

> > > The patch (2) split Loongson EXTensions (EXT) instructions from

> > > loongson3a, add -mloongson-ext/-mno-loongson-ext option for

> > > enable/disable them.

> > >

> > > The patch (3) add Loongson EXTensions R2 (EXT2) instructions support,

> > > add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them.

> > >

> > > The patch (4) add Loongson 3A1000 processor support.  The gs464 is a

> > > codename of 3A1000 microarchitecture.  Rename -march=loongson3a to

> > > -march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for

> > > compatibility.

> > >

> > > The patch (5) add Loongson 3A2000/3A3000 processor support.  Include

> > > Loongson MMI, EXT, EXT2 instructions set.

> > >

> > > The patch (6) add Loongson 2K1000 processor support. Include Loongson

> > > MMI, EXT, EXT2 and MSA instructions set.

> > >

> > > The binutils patch has been upstreamed.

> > >

> > > There are six patches in this set, as follows.

> > > 1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch

> > > 2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch

> > > 3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch

> > > 4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch

> > > 5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch

> > > 6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch

> > >

> > > All patchs test under mips64el-linux-gnu no new regressions.

> > >

> > > Ok for commit ?

> > >

> > > Thanks,

> > > Paul Hua
Paul Hua Nov. 3, 2018, 3:05 a.m. | #4
Ping ?

On Fri, Oct 26, 2018 at 5:50 PM Paul Hua <paul.hua.gm@gmail.com> wrote:
>

> Ping ?

>

> On Tue, Oct 23, 2018 at 9:16 AM Paul Hua <paul.hua.gm@gmail.com> wrote:

> >

> > Ping ?

> >

> > On Fri, Oct 19, 2018 at 2:19 PM Paul Hua <paul.hua.gm@gmail.com> wrote:

> > >

> > > Ping?

> > >

> > > I'd like check in those patches before stage3.

> > >

> > > Thanks,

> > >

> > > On Tue, Oct 16, 2018 at 10:49 AM Paul Hua <paul.hua.gm@gmail.com> wrote:

> > > >

> > > > Hi:

> > > >

> > > > The original version of patches were here:

> > > > https://gcc.gnu.org/ml/gcc-patches/2018-09/msg00099.html

> > > >

> > > > This is a update version. please review, thanks.

> > > >

> > > > This series patches reorganize the Loongson -march=xxx and Loongson

> > > > extensions instructions set.  For long time, the Loongson extensions

> > > > instructions set puts under -march=loongson3a option.  We can't

> > > > disable one of them when we need.

> > > >

> > > > The patch (1) split Loongson  MultiMedia extensions Instructions (MMI)

> > > > from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for

> > > > enable/disable them.

> > > >

> > > > The patch (2) split Loongson EXTensions (EXT) instructions from

> > > > loongson3a, add -mloongson-ext/-mno-loongson-ext option for

> > > > enable/disable them.

> > > >

> > > > The patch (3) add Loongson EXTensions R2 (EXT2) instructions support,

> > > > add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them.

> > > >

> > > > The patch (4) add Loongson 3A1000 processor support.  The gs464 is a

> > > > codename of 3A1000 microarchitecture.  Rename -march=loongson3a to

> > > > -march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for

> > > > compatibility.

> > > >

> > > > The patch (5) add Loongson 3A2000/3A3000 processor support.  Include

> > > > Loongson MMI, EXT, EXT2 instructions set.

> > > >

> > > > The patch (6) add Loongson 2K1000 processor support. Include Loongson

> > > > MMI, EXT, EXT2 and MSA instructions set.

> > > >

> > > > The binutils patch has been upstreamed.

> > > >

> > > > There are six patches in this set, as follows.

> > > > 1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch

> > > > 2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch

> > > > 3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch

> > > > 4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch

> > > > 5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch

> > > > 6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch

> > > >

> > > > All patchs test under mips64el-linux-gnu no new regressions.

> > > >

> > > > Ok for commit ?

> > > >

> > > > Thanks,

> > > > Paul Hua