Commit 66e07510 by Andreas Schwab Committed by Andreas Schwab

re PR bootstrap/13562 (bootstrap failure on m68k-linux)

PR bootstrap/13562
* config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
status for NOTB/NOTW/NEGW methods.

From-SVN: r75909
parent 7c12f388
2004-01-15 Andreas Schwab <schwab@suse.de>
PR bootstrap/13562
* config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
status for NOTB/NOTW/NEGW methods.
2004-01-15 Kazu Hirata <kazu@cs.umass.edu> 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
* doc/invoke.texi: Update dump file names. Fix a typo. * doc/invoke.texi: Update dump file names. Fix a typo.
......
/* Subroutines for insn-output.c for Motorola 68000 family. /* Subroutines for insn-output.c for Motorola 68000 family.
Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003 Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -1677,12 +1677,15 @@ output_move_const_into_data_reg (rtx *operands) ...@@ -1677,12 +1677,15 @@ output_move_const_into_data_reg (rtx *operands)
case MOVQ : case MOVQ :
return "moveq %1,%0"; return "moveq %1,%0";
case NOTB : case NOTB :
CC_STATUS_INIT;
operands[1] = GEN_INT (i ^ 0xff); operands[1] = GEN_INT (i ^ 0xff);
return "moveq %1,%0\n\tnot%.b %0"; return "moveq %1,%0\n\tnot%.b %0";
case NOTW : case NOTW :
CC_STATUS_INIT;
operands[1] = GEN_INT (i ^ 0xffff); operands[1] = GEN_INT (i ^ 0xffff);
return "moveq %1,%0\n\tnot%.w %0"; return "moveq %1,%0\n\tnot%.w %0";
case NEGW : case NEGW :
CC_STATUS_INIT;
return "moveq %#-128,%0\n\tneg%.w %0"; return "moveq %#-128,%0\n\tneg%.w %0";
case SWAP : case SWAP :
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment