[ARC] Add support for HS4x cpus.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 16 Jul 2018 10:12:32 +0000 (12:12 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 16 Jul 2018 10:12:32 +0000 (12:12 +0200)
commit43bb0fc221b05f67c01879c741c321ad0a67fddf
tree0dc39249d78a561acf72ec5d4733c24bc39698dc
parent8c0e07e3842dd90c09fd3f4b5fe17362c5ab4077
[ARC] Add support for HS4x cpus.

gcc/
2017-03-10  Claudiu Zissulescu  <claziss@synopsys.com>

        * config/arc/arc-arch.h (arc_tune_attr): Add new tune parameters
        for ARCHS4x.
        * config/arc/arc-cpus.def (hs4x): New cpu.
        (hs4xd): Likewise.
        * config/arc/arc-tables.opt: Regenerate.
        * config/arc/arc.c (arc_sched_issue_rate): New function.
        (TARGET_SCHED_ISSUE_RATE): Define.
        (TARGET_SCHED_EXPOSED_PIPELINE): Likewise.
        * config/arc/arc.md (attr type): Add fpu_fuse, fpu_sdiv, fpu_ddiv,
        fpu_cvt.
        (attr tune): Add ARCHS4x tune values.
        (attr tune_dspmpy): Define.
        (*tst): Correct instruction type.
        * config/arc/arcHS.md: Don't use this automaton for ARCHS4x cpus.
        * config/arc/arcHS4x.md: New file.
        * config/arc/fpu.md: Update instruction type attributes.
        * config/arc/t-multilib: Regenerate.

From-SVN: r262688
gcc/ChangeLog
gcc/config/arc/arc-arch.h
gcc/config/arc/arc-cpus.def
gcc/config/arc/arc-tables.opt
gcc/config/arc/arc.c
gcc/config/arc/arc.md
gcc/config/arc/arcHS.md
gcc/config/arc/arcHS4x.md [new file with mode: 0644]
gcc/config/arc/fpu.md