RAS.scala (8891a219bbc84f568e1d134854d8d5ed86d6d560) | RAS.scala (cf7d6b7a1a781c73aeb87de112de2e7fe5ea3b7c) |
---|---|
1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 292 unchanged lines hidden (view full) --- 301 val redirectUpdate = redirect.bits.cfiUpdate 302 XSDebug(do_recover && callMissPred, "redirect_recover_push\n") 303 XSDebug(do_recover && retMissPred, "redirect_recover_pop\n") 304 XSDebug(do_recover, "redirect_recover(SP:%d retAddr:%x ctr:%d) \n", 305 redirectUpdate.rasSp,redirectUpdate.rasEntry.retAddr,redirectUpdate.rasEntry.ctr) 306 307 generatePerfEvent() 308} | 1/*************************************************************************************** 2* Copyright (c) 2020-2021 Institute of Computing Technology, Chinese Academy of Sciences 3* Copyright (c) 2020-2021 Peng Cheng Laboratory 4* 5* XiangShan is licensed under Mulan PSL v2. 6* You can use this software according to the terms and conditions of the Mulan PSL v2. 7* You may obtain a copy of Mulan PSL v2 at: 8* http://license.coscl.org.cn/MulanPSL2 --- 292 unchanged lines hidden (view full) --- 301 val redirectUpdate = redirect.bits.cfiUpdate 302 XSDebug(do_recover && callMissPred, "redirect_recover_push\n") 303 XSDebug(do_recover && retMissPred, "redirect_recover_pop\n") 304 XSDebug(do_recover, "redirect_recover(SP:%d retAddr:%x ctr:%d) \n", 305 redirectUpdate.rasSp,redirectUpdate.rasEntry.retAddr,redirectUpdate.rasEntry.ctr) 306 307 generatePerfEvent() 308} |
309*/ | 309 */ |