From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18025 invoked by alias); 8 Mar 2004 00:38:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 17999 invoked by alias); 8 Mar 2004 00:38:34 -0000 Date: Mon, 08 Mar 2004 00:38:00 -0000 Message-ID: <20040308003834.17998.qmail@sources.redhat.com> From: "cvs-commit at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040307221631.14471.hp@gcc.gnu.org> References: <20040307221631.14471.hp@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/14471] Workaround for errata regarding multiplication bug X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg00913.txt.bz2 List-Id: ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-08 00:38 ------- Subject: Bug 14471 CVSROOT: /cvs/gcc Module name: gcc Changes by: hp@gcc.gnu.org 2004-03-08 00:38:31 Modified files: gcc : configure.ac Log message: PR target/14471 * configure.ac (Target-specific assembler checks) : New case, checking for -no-mul-bug-abort option. * configure, config.in: Regenerate. * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround and -mno-mul-bug-workaround. * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") ("mulsidi3", "umulsidi3"): Prefix output template with "%!". ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make sure mulu.d is not last on cache-line. * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. (TARGET_SWITCHES): New options -mmul-bug-workaround and -mno-mul-bug-workaround. (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. * config/cris/cris.c (cris_operand_extend_operator): Clarify relation to MULT in head comment. (cris_op_str): Abort for MULT. (cris_print_operand) : New case. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&r1=2.20&r2=2.21 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14471