summaryrefslogtreecommitdiff
path: root/mips
diff options
context:
space:
mode:
Diffstat (limited to 'mips')
-rw-r--r--mips/mips.sail2
1 files changed, 1 insertions, 1 deletions
diff --git a/mips/mips.sail b/mips/mips.sail
index 99054cdb..81ab5583 100644
--- a/mips/mips.sail
+++ b/mips/mips.sail
@@ -1308,7 +1308,7 @@ function clause execute (Store(width, conditional, base, rt, offset)) =
{
if (conditional) then
{
- success := if (CP0LLBit) then switch(width)
+ success := if (CP0LLBit[0]) then switch(width)
{
case B -> MEMw_conditional(pAddr, 1, rt_val[7..0])
case H -> MEMw_conditional(pAddr, 2, rt_val[15..0])