Hi,

This is a patch series for Andes vender extension of RISC-V.
These patches are tested by riscv-gnu-toolchain gcc/g++ testsuite. And the
report is the same as without these patches.
               ========= Summary of gcc testsuite =========
                            | # of unexpected case / # of unique unexpected
case
                            |          gcc |          g++ |     gfortran |
     rv64gc/  lp64d/ medlow |   26 /    13 |   14 /     6 |      - |

This patch add basic support for the following XAndes ISA extensions:

XANDESPERF
XANDESBFHCVT
XANDESVBFHCVT
XANDESVSINTLOAD
XANDESVPACKFPH
XANDESVDOT

gcc/ChangeLog:

        * config/riscv/riscv-ext.def: Include riscv-ext-andes.def.
        * config/riscv/riscv-ext.opt (riscv_xandes_subext): New variable.
        (XANDESPERF) : New mask.
        (XANDESBFHCVT): Ditto.
        (XANDESVBFHCVT): Ditto.
        (XANDESVSINTLOAD): Ditto.
        (XANDESVPACKFPH): Ditto.
        (XANDESVDOT): Ditto.
        * config/riscv/t-riscv: Add riscv-ext-andes.def.
        * doc/riscv-ext.texi: Regenerated.
        * config/riscv/riscv-ext-andes.def: New file.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/xandes-predef-1.c: New test.
        * gcc.target/riscv/xandes-predef-2.c: New test.
        * gcc.target/riscv/xandes-predef-3.c: New test.
        * gcc.target/riscv/xandes-predef-4.c: New test.
        * gcc.target/riscv/xandes-predef-5.c: New test.
        * gcc.target/riscv/xandes-predef-6.c: New test.

Attachment: 0001-RISC-V-Add-basic-XAndes-vendor-extension-support.patch
Description: Binary data

Reply via email to