From c3d75c30237aafd9aa332b71333b99bb78e4bb3a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 21 Dec 2004 04:37:58 +0000 Subject: [PATCH] * cris.cpu (cris-set-mem): Correct integral write semantics. --- cpu/ChangeLog | 4 ++++ cpu/cris.cpu | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 3eef9269712..ddbce32295c 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,3 +1,7 @@ +2004-12-21 Mikael Starvik + + * cris.cpu (cris-set-mem): Correct integral write semantics. + 2004-11-29 Hans-Peter Nilsson * cris.cpu: New file. diff --git a/cpu/cris.cpu b/cpu/cris.cpu index 6bfa539f90c..955ad321895 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)) -- 2.30.2