From c3d75c30237aafd9aa332b71333b99bb78e4bb3a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 21 Dec 2004 04:37:58 +0000 Subject: * cris.cpu (cris-set-mem): Correct integral write semantics. --- cpu/cris.cpu | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpu/cris.cpu') diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 6bfa539..955ad32 100644 --- a/cpu/cris.cpu +++ b/cpu/cris.cpu @@ -2224,7 +2224,10 @@ (sequence () (set (mem size addr) value) - (set cbit 0)) + ; Write failures are signalled (by whatever entity "sends + ; the signal") by setting P at time of the write above, if X + ; is set. Here, we just need to copy P into C. + (set cbit pbit)) (set cbit 1)) (set (mem size addr) value)) -- cgit v1.1