From 9a137670820d5e77999013bb891c4fe482781dfb Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Wed, 16 Feb 2005 21:52:33 +0000 Subject: [PATCH] 2005-02-16 Dave Brolley * utils.scm: Update copyright years. * utils-gen.scm (gen-ifld-extract): Pass base-length to -gen-ifld-extrac t-base. * sid.scm (gen-ifetch): Handle the case where bitsize == 24. --- ChangeLog | 3 +++ sid.scm | 3 ++- utils-gen.scm | 5 ++--- utils.scm | 6 +++--- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index db50553..1d5b722 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-02-16 Dave Brolley + * utils.scm: Update copyright years. + * utils-gen.scm (gen-ifld-extract): Pass base-length to -gen-ifld-extract-base. + * sid.scm (gen-ifetch): Handle the case where bitsize == 24. * operand.scm (-derived-operand-parse): Move logit message from level 1 to level 2. diff --git a/sid.scm b/sid.scm index c0ecef3..dee51b7 100644 --- a/sid.scm +++ b/sid.scm @@ -1,5 +1,5 @@ ; Simulator generator support routines. -; Copyright (C) 2000-2004 Red Hat, Inc. +; Copyright (C) 2000-2005 Red Hat, Inc. ; This file is part of CGEN. ; One goal of this file is to provide cover functions for all methods. @@ -191,6 +191,7 @@ (case bitsize ((8) "UQI") ((16) "UHI") + ((24) "USI") ((32) "USI") (else (error "bad bitsize argument to gen-ifetch" bitsize))) " (pc, " diff --git a/utils-gen.scm b/utils-gen.scm index 5a9ac46..9d4c4ff 100644 --- a/utils-gen.scm +++ b/utils-gen.scm @@ -1,5 +1,5 @@ ; Application independent utilities for C/C++ code generation. -; Copyright (C) 2000, 2001 Red Hat, Inc. +; Copyright (C) 2000, 2001, 2005 Red Hat, Inc. ; This file is part of CGEN. ; See file COPYING.CGEN for details. @@ -241,8 +241,7 @@ (-gen-ifld-extract-base f total-length base-value) (if (ifld-beyond-base? f base-length total-length) (-gen-ifld-extract-beyond f base-length total-length var-list) - (-gen-ifld-extract-base f (min base-length total-length) - base-value))) + (-gen-ifld-extract-base f base-length base-value))) ";" (if macro? " \\\n" "\n") ) diff --git a/utils.scm b/utils.scm index 6f80272..0cc037e 100644 --- a/utils.scm +++ b/utils.scm @@ -1,5 +1,5 @@ ; Generic Utilities. -; Copyright (C) 2000-2004 Red Hat, Inc. +; Copyright (C) 2000-2005 Red Hat, Inc. ; This file is part of CGEN. ; See file COPYING.CGEN for details. @@ -1251,7 +1251,7 @@ (cons "\ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright 1996-2004 Free Software Foundation, Inc. +Copyright 1996-2005 Free Software Foundation, Inc. " "\ This program is free software; you can redistribute it and/or modify @@ -1276,7 +1276,7 @@ with this program; if not, write to the Free Software Foundation, Inc., (cons "\ THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright (C) 2000-2004 Red Hat, Inc. +Copyright (C) 2000-2005 Red Hat, Inc. " "\ ")) -- 2.43.5