recog.c (107604) | recog.c (110621) |
---|---|
1/* Subroutines used by or related to instruction recognition. 2 Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998 3 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 493 unchanged lines hidden (view full) --- 502 x = *loc; 503 code = GET_CODE (x); 504 } 505 506 switch (code) 507 { 508 case PLUS: 509 /* If we have a PLUS whose second operand is now a CONST_INT, use | 1/* Subroutines used by or related to instruction recognition. 2 Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998 3 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 493 unchanged lines hidden (view full) --- 502 x = *loc; 503 code = GET_CODE (x); 504 } 505 506 switch (code) 507 { 508 case PLUS: 509 /* If we have a PLUS whose second operand is now a CONST_INT, use |
510 plus_constant to try to simplify it. | 510 simplify_gen_binary to try to simplify it. |
511 ??? We may want later to remove this, once simplification is 512 separated from this function. */ | 511 ??? We may want later to remove this, once simplification is 512 separated from this function. */ |
513 if (GET_CODE (XEXP (x, 1)) == CONST_INT) | 513 if (GET_CODE (XEXP (x, 1)) == CONST_INT && XEXP (x, 1) == to) |
514 validate_change (object, loc, 515 simplify_gen_binary 516 (PLUS, GET_MODE (x), XEXP (x, 0), XEXP (x, 1)), 1); 517 break; 518 case MINUS: 519 if (GET_CODE (XEXP (x, 1)) == CONST_INT 520 || GET_CODE (XEXP (x, 1)) == CONST_DOUBLE) 521 validate_change (object, loc, --- 2791 unchanged lines hidden --- | 514 validate_change (object, loc, 515 simplify_gen_binary 516 (PLUS, GET_MODE (x), XEXP (x, 0), XEXP (x, 1)), 1); 517 break; 518 case MINUS: 519 if (GET_CODE (XEXP (x, 1)) == CONST_INT 520 || GET_CODE (XEXP (x, 1)) == CONST_DOUBLE) 521 validate_change (object, loc, --- 2791 unchanged lines hidden --- |