From c401d0f0d9ecf583e1ba7f3615843e6b990af2ee Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 7 Jan 2009 01:12:51 +0000 Subject: [PATCH] * 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. --- sim/common/ChangeLog | 6 ++++++ sim/common/cgen-ops.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 031c4c799c..91ba924147 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,11 @@ 2009-01-07 Hans-Peter Nilsson + * 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 063bf7af4a..8bfe1675a9 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. -- 2.11.0