* cris.cpu (cris-set-mem): Correct integral write semantics.

This commit is contained in:
Hans-Peter Nilsson 2004-12-21 04:37:58 +00:00
parent 5acea80106
commit c3d75c3023
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-21 Mikael Starvik <starvik@axis.com>
* cris.cpu (cris-set-mem): Correct integral write semantics.
2004-11-29 Hans-Peter Nilsson <hp@axis.com>
* cris.cpu: New file.

View File

@ -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))