Rewrite pic.md to improve medany and pic code size.
authorJim Wilson <jimw@sifive.com>
Wed, 29 Aug 2018 02:20:44 +0000 (02:20 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Aug 2018 02:20:44 +0000 (19:20 -0700)
commitefc601240c12628df7ec467ac07a322306f80b71
tree4cd1f1a4e8967308b9b118520ee811f34b07354e
parent37170829c2147718dca6c561172b44cee701c45c
Rewrite pic.md to improve medany and pic code size.

gcc/
* config/riscv/pic.md: Rewrite.
* config/riscv/riscv.c (riscv_address_insns): Return cost of 3 for
invalid address.
* config/riscv/riscv.md (ZERO_EXTEND_LOAD): Delete.
(SOFTF, default_load, softload, softstore): New.

From-SVN: r263943
gcc/ChangeLog
gcc/config/riscv/pic.md
gcc/config/riscv/riscv.c
gcc/config/riscv/riscv.md