MIPS: Avoid pipeline stalls on some MIPS32R2 cores.
authorSteven J. Hill <sjhill@mips.com>
Wed, 29 Aug 2012 04:20:08 +0000 (23:20 -0500)
committerSteven J. Hill <sjhill@mips.com>
Thu, 13 Sep 2012 20:43:52 +0000 (15:43 -0500)
The architecture specification says that an EHB instruction is
needed to avoid a hazard when writing TLB entries. However, some
cores do not have this hazard, and thus the EHB instruction causes
a costly pipeline stall. Detect these cores and do not use the EHB
instruction.

Signed-off-by: Steven J. Hill <sjhill@mips.com>

No differences found