public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set
@ 2018-09-03 12:27 Paul Hua
  2018-09-03 16:21 ` Joseph Myers
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Hua @ 2018-09-03 12:27 UTC (permalink / raw)
  To: gcc-patches; +Cc: Matthew Fortune

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set
  2018-09-03 12:27 [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set Paul Hua
@ 2018-09-03 16:21 ` Joseph Myers
  2018-09-04  3:59   ` Paul Hua
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Myers @ 2018-09-03 16:21 UTC (permalink / raw)
  To: Paul Hua; +Cc: gcc-patches, Matthew Fortune

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.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set
  2018-09-03 16:21 ` Joseph Myers
@ 2018-09-04  3:59   ` Paul Hua
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Hua @ 2018-09-04  3:59 UTC (permalink / raw)
  To: joseph; +Cc: gcc-patches, Matthew Fortune

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-04  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 12:27 [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set Paul Hua
2018-09-03 16:21 ` Joseph Myers
2018-09-04  3:59   ` Paul Hua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).