From c6f38234a77e5c881e73d4da05001d2e27a60e8f Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 7 Jan 2009 01:13:36 +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/cgen-ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.