mbox series

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

Message ID CAKjxQH=aED0zNQYKr2X3VdbC4uCjP6V4mP83V9r4NhG5S-is5w@mail.gmail.com
Headers show
Series Reorganize the loongson march and extensions instructions set | expand

Message

Paul Hua Sept. 3, 2018, 12:27 p.m. UTC
Hi:

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

Joseph Myers Sept. 3, 2018, 4:21 p.m. UTC | #1
Each patch adding a new command-line option needs to add documentation of 
that option to invoke.texi.  As far as I can see the patches document new 
CPU names but not new options.
Paul Hua Sept. 4, 2018, 3:59 a.m. UTC | #2
Hi Joseph,

On Tue, Sep 4, 2018 at 12:21 AM Joseph Myers <joseph@codesourcery.com> wrote:
>
> Each patch adding a new command-line option needs to add documentation of
> that option to invoke.texi.  As far as I can see the patches document new
> CPU names but not new options.

Thanks for catch that, The v2 patch added.


> --
> Joseph S. Myers
> joseph@codesourcery.com