]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Handle no_insn in TARGET_SCHED_VARIABLE_ISSUE.
authorJin Ma <jinma@linux.alibaba.com>
Wed, 9 Aug 2023 19:52:06 +0000 (13:52 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 9 Aug 2023 19:52:06 +0000 (13:52 -0600)
commitf088b768d01ae42385697584a2bcac141685dce2
tree2090f029c326561f6bda1485b0a18833e49d8013
parenta16dc729fda9fabd6472d50cce45791cb3b6ada8
RISC-V: Handle no_insn in TARGET_SCHED_VARIABLE_ISSUE.

Reference: https://github.com/gcc-mirror/gcc/commit/d0bc0cb66bcb0e6a5a5a31a9e900e8ccc98e34e5

RISC-V should also be implemented to handle no_insn patterns for pipelining.

gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_sched_variable_issue): New function.
(TARGET_SCHED_VARIABLE_ISSUE): New macro.

Co-authored-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Co-authored-by: Jeff Law <jlaw@ventanamicro.com>
gcc/config/riscv/riscv.cc