RISC-V: Increase mult/div cost if not implemented in hardware.
commit201084a05db50d15ca58d3cc3a4e7056d0ba892c
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2018 03:03:09 +0000 (16 03:03 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jan 2018 03:03:09 +0000 (16 03:03 +0000)
treef6e0686b0c0cd220100a123726f7a7ba4ec30c34
parent42979993c740937dfe9371a62d04eb576150a9ed
RISC-V: Increase mult/div cost if not implemented in hardware.

2018-01-15  Andrew Waterman  <andrew@sifive.com>
gcc/
* config/riscv/riscv.c (riscv_rtx_costs) <MULT>: Increase cost if
!TARGET_MUL.
<UDIV>: Increase cost if !TARGET_DIV.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256722 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/riscv/riscv.c