Mercurial > hg > CbC > CbC_gcc
comparison gcc/simplify-rtx.c @ 47:3bfb6c00c1e0
update it from 4.4.2 to 4.4.3.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Feb 2010 17:44:34 +0900 |
parents | 855418dad1a3 |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
46:b85a337e5837 | 47:3bfb6c00c1e0 |
---|---|
1 /* RTL simplification functions for GNU compiler. | 1 /* RTL simplification functions for GNU compiler. |
2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, | 2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify it under | 8 GCC is free software; you can redistribute it and/or modify it under |
3861 if ((code == LTU || code == GEU) | 3861 if ((code == LTU || code == GEU) |
3862 && GET_CODE (op0) == PLUS | 3862 && GET_CODE (op0) == PLUS |
3863 && rtx_equal_p (op1, XEXP (op0, 1)) | 3863 && rtx_equal_p (op1, XEXP (op0, 1)) |
3864 /* Don't recurse "infinitely" for (LTU/GEU (PLUS b b) b). */ | 3864 /* Don't recurse "infinitely" for (LTU/GEU (PLUS b b) b). */ |
3865 && !rtx_equal_p (op1, XEXP (op0, 0))) | 3865 && !rtx_equal_p (op1, XEXP (op0, 0))) |
3866 return simplify_gen_relational (code, mode, cmp_mode, op0, XEXP (op0, 0)); | 3866 return simplify_gen_relational (code, mode, cmp_mode, op0, |
3867 copy_rtx (XEXP (op0, 0))); | |
3867 | 3868 |
3868 if (op1 == const0_rtx) | 3869 if (op1 == const0_rtx) |
3869 { | 3870 { |
3870 /* Canonicalize (GTU x 0) as (NE x 0). */ | 3871 /* Canonicalize (GTU x 0) as (NE x 0). */ |
3871 if (code == GTU) | 3872 if (code == GTU) |