From: Steve Reinhardt Date: Wed, 2 Mar 2005 03:32:14 +0000 (-0500) Subject: Two fixes to try and get TLB miss cost more in line with real platform: X-Git-Tag: m5_1.0_tutorial~81^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50a4ed87d0dc548e55d607381d0aecc35b02caf6;p=gem5.git Two fixes to try and get TLB miss cost more in line with real platform: 1) Add fault_handler_delay param to FullCPU to wait N cycles after committing faulting instruction before fetching fault handler. 2) Make hw_rei a serializing instruction (flushes pipe, basically). arch/alpha/isa_desc: Make hw_rei a serializing instruction (guarantees previous insts complete before hw_rei will issue). --HG-- extra : convert_revision : 704cef65b3869be9eee724055cedb22114a78359 --- diff --git a/arch/alpha/isa_desc b/arch/alpha/isa_desc index 6a6bca4fe..0e07400d3 100644 --- a/arch/alpha/isa_desc +++ b/arch/alpha/isa_desc @@ -2566,7 +2566,7 @@ decode OPCODE default Unknown::unknown() { } format BasicOperate { - 0x1e: hw_rei({{ xc->hwrei(); }}); + 0x1e: hw_rei({{ xc->hwrei(); }}, IsSerializing); // M5 special opcodes use the reserved 0x01 opcode space 0x01: decode M5FUNC {