Improve the coalescing of instruction cache flushes on R8000 in order
authorvisa <visa@openbsd.org>
Thu, 22 Jun 2017 14:40:20 +0000 (14:40 +0000)
committervisa <visa@openbsd.org>
Thu, 22 Jun 2017 14:40:20 +0000 (14:40 +0000)
commit8929cd64b26afc524177459660f1e98e79a37c3d
tree51b2a5070f676fbebea9e3d9bdbcf18995e21322
parentd6b898c0269801bd190df3a2984cb01e9b88513b
Improve the coalescing of instruction cache flushes on R8000 in order
not to perform redundant work. There is no direct way to flush the
cache; rather, the kernel evicts unwanted bits from the cache by
executing a block of instructions, which is expensive.

With this diff, make build time decreases about 0.4%.

Diff from miod@
sys/arch/mips64/mips64/cache_tfp.c