aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/rx.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-06-28 07:19:44 +0000
committerNick Clifton <nickc@redhat.com>2013-06-28 07:19:44 +0000
commit7f77d948db77f530657b9e3bfe4c59de5ea1f7e9 (patch)
treefe96986961d755c1995ee75d7861352e5f6b7a99 /sim/rx/rx.c
parent11f0d7ea96749b73b51421ab23d3dea667b6a714 (diff)
downloadgdb-7f77d948db77f530657b9e3bfe4c59de5ea1f7e9.zip
gdb-7f77d948db77f530657b9e3bfe4c59de5ea1f7e9.tar.gz
gdb-7f77d948db77f530657b9e3bfe4c59de5ea1f7e9.tar.bz2
* rx.c (SHIFT_OP): A shift by zero still sets the condition codes.
Diffstat (limited to 'sim/rx/rx.c')
-rw-r--r--sim/rx/rx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index e12aa85..dd88676 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -732,8 +732,7 @@ poppc()
c = val & carry_mask; \
val OP 1; \
} \
- if (count) \
- set_oszc (val, 4, c); \
+ set_oszc (val, 4, c); \
PD (val); \
}