RISC-V: Fix for icache flush issue on multicore processors.
authorAndrew Waterman <andrew@sifive.com>
Tue, 2 Jan 2018 20:34:01 +0000 (20:34 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 2 Jan 2018 20:34:01 +0000 (12:34 -0800)
commitf1bdc63a898f2fa164e79528c03e96a21a779e82
tree57d866c19352e762105309dc99d34dd530f91286
parenta7e92aff74d014fba5765654333b2dbb2b294913
RISC-V: Fix for icache flush issue on multicore processors.

gcc/
* config/riscv/linux.h (ICACHE_FLUSH_FUNC): New.
* config/riscv/riscv.md (clear_cache): Use it.

From-SVN: r256109
gcc/ChangeLog
gcc/config/riscv/linux.h
gcc/config/riscv/riscv.md