File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1+ 2013-06-26 Claudiu Zissulescu <
[email protected] >
2+
3+ * config/arc/arc.h (ASM_DEFOPT): Define.
4+ (ASM_SPEC): Use it.
5+
162013-06-25 Claudiu Zissulescu <
[email protected] >
27
38 * config/arc/arc.c: Add -mirq-ctrl-saved option.
Original file line number Diff line number Diff line change @@ -175,11 +175,14 @@ along with GCC; see the file COPYING3. If not see
175175"
176176
177177#if TARGET_CPU_DEFAULT == TARGET_CPU_EM
178- #define ASM_DEFAULT " -mEM"
178+ # define ASM_DEFAULT " -mEM"
179+ # define ASM_DEFOPT " %{mcpu=ARC700:%{mlock}} %{mcpu=ARC700:%{mswape}} %{mcpu=ARC700:%{mrtsc}}"
179180#elif TARGET_CPU_DEFAULT == TARGET_CPU_HS
180- #define ASM_DEFAULT " -mHS"
181+ # define ASM_DEFAULT " -mHS"
182+ # define ASM_DEFOPT " %{mcpu=ARC700:%{mlock}} %{mcpu=ARC700:%{mswape}} %{mcpu=ARC700:%{mrtsc}}"
181183#else
182- #define ASM_DEFAULT " -mARC700 -mEA"
184+ # define ASM_DEFAULT " -mARC700 -mEA"
185+ # define ASM_DEFOPT " %{mswape} %{mlock} %{mrtsc}"
183186#endif
184187
185188#define ASM_SPEC " \
@@ -194,11 +197,8 @@ along with GCC; see the file COPYING3. If not see
194197%{mbarrel-shifter} %{mno-mpy} %{mmul64} %{mmul32x16:-mdsp-packa} %{mnorm} \
195198%{mswap} %{mEA} %{mmin-max} %{mspfp*} %{mdpfp*} \
196199%{msimd} %{mfpu=fpuda:-mfpuda} \
197- %{mmac-d16} %{mmac-24} %{mdsp-packa} %{mcrc} %{mdvbf} %{mtelephony} %{mxy} \
198- %{mcpu=ARC700:%{mlock}} \
199- %{mcpu=ARC700:%{mswape}} \
200- %{mcpu=ARC700:%{mrtsc}} \
201- %{matomic:-mlock} \
200+ %{mmac-d16} %{mmac-24} %{mdsp-packa} %{mcrc} %{mdvbf} %{mtelephony} %{mxy}" \
201+ ASM_DEFOPT " %{matomic:-mlock} \
202202%{mcpu=ARCv2EM:-mEM} \
203203%{mcpu=ARCv2HS:-mHS} \
204204"
You can’t perform that action at this time.
0 commit comments