Mercurial > hg > CbC > CbC_gcc
comparison gcc/addresses.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | a06113de4d67 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Inline functions to test validity of reg classes for addressing modes. | 1 /* Inline functions to test validity of reg classes for addressing modes. |
2 Copyright (C) 2006, 2007 Free Software Foundation, Inc. | 2 Copyright (C) 2006, 2007, 2010 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
45 REGNO_MODE_OK_FOR_REG_BASE_P, REGNO_MODE_OK_FOR_BASE_P and | 45 REGNO_MODE_OK_FOR_REG_BASE_P, REGNO_MODE_OK_FOR_BASE_P and |
46 REGNO_OK_FOR_BASE_P. | 46 REGNO_OK_FOR_BASE_P. |
47 Arguments as for the REGNO_MODE_CODE_OK_FOR_BASE_P macro. */ | 47 Arguments as for the REGNO_MODE_CODE_OK_FOR_BASE_P macro. */ |
48 | 48 |
49 static inline bool | 49 static inline bool |
50 ok_for_base_p_1 (unsigned regno, enum machine_mode mode ATTRIBUTE_UNUSED, | 50 ok_for_base_p_1 (unsigned regno ATTRIBUTE_UNUSED, |
51 enum machine_mode mode ATTRIBUTE_UNUSED, | |
51 enum rtx_code outer_code ATTRIBUTE_UNUSED, | 52 enum rtx_code outer_code ATTRIBUTE_UNUSED, |
52 enum rtx_code index_code ATTRIBUTE_UNUSED) | 53 enum rtx_code index_code ATTRIBUTE_UNUSED) |
53 { | 54 { |
54 #ifdef REGNO_MODE_CODE_OK_FOR_BASE_P | 55 #ifdef REGNO_MODE_CODE_OK_FOR_BASE_P |
55 return REGNO_MODE_CODE_OK_FOR_BASE_P (regno, mode, outer_code, index_code); | 56 return REGNO_MODE_CODE_OK_FOR_BASE_P (regno, mode, outer_code, index_code); |