comparison gcc/config/mips/sdemtk.h @ 63:b7f97abdc517 gcc-4.6-20100522

update gcc from gcc-4.5.0 to gcc-4.6
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Mon, 24 May 2010 12:47:05 +0900
parents 77e2b8dfacca
children f6334be47118
comparison
equal deleted inserted replaced
56:3c8a44c06a95 63:b7f97abdc517
33 /* Deprecated: use __mips_fpr == 64. */ \ 33 /* Deprecated: use __mips_fpr == 64. */ \
34 if (TARGET_FLOAT64) \ 34 if (TARGET_FLOAT64) \
35 builtin_define ("__mipsfp64"); \ 35 builtin_define ("__mipsfp64"); \
36 \ 36 \
37 if (TARGET_NO_FLOAT) \ 37 if (TARGET_NO_FLOAT) \
38 { \ 38 builtin_define ("__NO_FLOAT"); \
39 builtin_define ("__NO_FLOAT"); \
40 builtin_define ("__mips_no_float"); \
41 } \
42 else if (TARGET_SOFT_FLOAT_ABI) \ 39 else if (TARGET_SOFT_FLOAT_ABI) \
43 builtin_define ("__SOFT_FLOAT"); \ 40 builtin_define ("__SOFT_FLOAT"); \
44 else if (TARGET_SINGLE_FLOAT) \ 41 else if (TARGET_SINGLE_FLOAT) \
45 builtin_define ("__SINGLE_FLOAT"); \ 42 builtin_define ("__SINGLE_FLOAT"); \
46 \ 43 \
51 } \ 48 } \
52 else \ 49 else \
53 { \ 50 { \
54 builtin_assert ("endian=little"); \ 51 builtin_assert ("endian=little"); \
55 builtin_assert ("cpu=mipsel"); \ 52 builtin_assert ("cpu=mipsel"); \
56 } \
57 } \
58 while (0)
59
60 #undef SUBTARGET_OVERRIDE_OPTIONS
61 #define SUBTARGET_OVERRIDE_OPTIONS \
62 do \
63 { \
64 if (TARGET_NO_FLOAT) \
65 { \
66 target_flags |= MASK_SOFT_FLOAT_ABI; \
67 target_flags_explicit |= MASK_SOFT_FLOAT_ABI; \
68 } \ 53 } \
69 } \ 54 } \
70 while (0) 55 while (0)
71 56
72 /* For __clear_cache in libgcc2.c. */ 57 /* For __clear_cache in libgcc2.c. */
111 } 96 }
112 97
113 /* ...nor does the call sequence preserve $31. */ 98 /* ...nor does the call sequence preserve $31. */
114 #undef MIPS_SAVE_REG_FOR_PROFILING_P 99 #undef MIPS_SAVE_REG_FOR_PROFILING_P
115 #define MIPS_SAVE_REG_FOR_PROFILING_P(REGNO) ((REGNO) == RETURN_ADDR_REGNUM) 100 #define MIPS_SAVE_REG_FOR_PROFILING_P(REGNO) ((REGNO) == RETURN_ADDR_REGNUM)
101
102 /* Compile in support for the -mno-float option. */
103 #define TARGET_SUPPORTS_NO_FLOAT 1