summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2009-01-07 01:12:51 +0000
committerHans-Peter Nilsson <hp@axis.com>2009-01-07 01:12:51 +0000
commitc401d0f0d9ecf583e1ba7f3615843e6b990af2ee (patch)
tree797141f74574768f1f97f2f18501183f03b12ba2 /sim
parentdb684da85b5b658f953ed0bfa8a0dbd6b94b6222 (diff)
downloadgdb-c401d0f0d9ecf583e1ba7f3615843e6b990af2ee.tar.gz
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI) (SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type variant; UQI, UHI, USI, UDI, and cast the result to the signed type, QI, HI, SI, DI.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/cgen-ops.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 031c4c799cc..91ba924147d 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,11 @@
2009-01-07 Hans-Peter Nilsson <hp@axis.com>
+ * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
+ (MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
+ (SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
+ variant; UQI, UHI, USI, UDI, and cast the result to the signed
+ type, QI, HI, SI, DI.
+
* callback.c (os_error): Mark as being a noreturn function.
* sim-io.h (sim_io_error): Similar for sim_io_error.
diff --git a/sim/common/cgen-ops.h b/sim/common/cgen-ops.h
index 063bf7af4a3..8bfe1675a98 100644
--- a/sim/common/cgen-ops.h
+++ b/sim/common/cgen-ops.h
@@ -1,5 +1,5 @@
/* Semantics ops support for CGEN-based simulators.
- Copyright (C) 1996, 1997, 1998, 1999, 2002, 2007, 2008
+ Copyright (C) 1996, 1997, 1998, 1999, 2002, 2007, 2008, 2009
Free Software Foundation, Inc.
Contributed by Cygnus Solutions.