[PATCH 0/6] MIPS reorganize the loongson march and extensions instructions set

Paul Hua paul.hua.gm@gmail.com
Sat Aug 4 08:04:00 GMT 2018


sorry, not finished yet, send again.

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 Content Address Memory (CAM) from
loongson3a, add -mloongson-cam/-mno-loongson-cam 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-ext2 instructions set.
The patch (6) add Loongson 2K1000 processor support.

There are six patches in this set, as follows.
1) MIPS/GAS: Split Loongson CAM Instructions from loongson3a.
2) MIPS/GAS: Split Loongson EXT Instructions from loongson3a
3) MIPS/GAS: Add Loongson EXT2 Instructions support.
4) MIPS: Add Loongson 3A1000 proccessor support.
5) MIPS: Add Loongson 3A2000/3A3000 proccessor support.
6) MIPS: Add Loongson 2K1000 proccessor support.

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

Paul Hua

On Sat, Aug 4, 2018 at 3:53 PM Paul Hua <paul.hua.gm@gmail.com> wrote:
>
>
> 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 Content Address Memory (CAM) from loongson3a, add -mloongson-cam/-mno-loongson-cam 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-ext2 instructions set.



More information about the Binutils mailing list