RE: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-19 Thread Terry Guo
Hello, I patched arm-arches.def and re-generated arm-tables.opt using command ./genopt.sh ../arm arm-tables.opt in directory gcc/config/arm. Now the updated patch is as below. Is it OK to trunk? BR, Terry 2011-09-19 Terry Guo terry@arm.com * config/arm/arm-arches.def

Re: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-19 Thread Richard Earnshaw
On 19 Sep 2011, at 07:50, Terry Guo terry@arm.com wrote: Hello, I patched arm-arches.def and re-generated arm-tables.opt using command ./genopt.sh ../arm arm-tables.opt in directory gcc/config/arm. Now the updated patch is as below. Is it OK to trunk? BR, Terry 2011-09-19

Re: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-11 Thread Richard Earnshaw (home)
On 11 Sep 2011, at 03:10, Terry Guo terry@arm.com wrote: Hello, This patch adds simple support of -march=armv6s-m which is already supported by GAS. With this patch, inline assembly code containing SVC instruction can be handled by option -march=armv6s-m. Otherwise one has to use

RE: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-11 Thread Joseph S. Myers
On Sun, 11 Sep 2011, Terry Guo wrote: 2011-09-08 Terry Guo terry@arm.com * config/arm/arm.c (all_architectures): Simple support for option -march=armv6s-m. Ok. R. Can I apply this patch to trunk and GCC 4.6 branch? It won't apply to trunk; you'll need

RE: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-11 Thread Joseph S. Myers
On Sun, 11 Sep 2011, Terry Guo wrote: It won't apply to trunk; you'll need to patch arm-arches.def and regenerate the generated file arm-tables.opt. Thanks for your help and I will do that. What else do you think I should do besides that? I have no other comments on this patch. --

Re: [arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-11 Thread Richard Earnshaw (home)
On 11 Sep 2011, at 09:37, Terry Guo terry@arm.com wrote: Hello Richard, Hello, This patch adds simple support of -march=armv6s-m which is already supported by GAS. With this patch, inline assembly code containing SVC instruction can be handled by option -march=armv6s-m.

[arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-10 Thread Terry Guo
Hello, This patch adds simple support of -march=armv6s-m which is already supported by GAS. With this patch, inline assembly code containing SVC instruction can be handled by option -march=armv6s-m. Otherwise one has to use option -mcpu=cortex-m0. Committed into ARM/embedded-4_6-branch. BR,