From 6e77f320871e04663ea4c553a8e24cc55a925239 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Mon, 10 Jan 2022 16:08:38 +0100 Subject: [PATCH] sim golden model lrsc reservation sync --- src/test/cpp/regression/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/cpp/regression/main.cpp b/src/test/cpp/regression/main.cpp index b5df2ef..1b316e9 100644 --- a/src/test/cpp/regression/main.cpp +++ b/src/test/cpp/regression/main.cpp @@ -897,8 +897,8 @@ public: dWrite(pAddr, size, (uint8_t*) &rsp.value); status.fs = 3; pcWrite(pc + 4); + lrscReserved = false; } - lrscReserved = false; } break; #endif case 0x37:rfWrite(rd32, i & 0xFFFFF000);pcWrite(pc + 4);break; // LUI @@ -949,8 +949,8 @@ public: if(v2p(address, &pAddr, WRITE)){ trap(0, 15, address); return; } dWrite(pAddr, size, (uint8_t*)&i32_rs2); pcWrite(pc + 4); + lrscReserved = false; } - lrscReserved = false; }break; case 0x13: //ALUi switch ((i >> 12) & 0x7) {