arm.opt (masm-syntax-unified): New option.
authorTerry Guo <terry.guo@arm.com>
Fri, 7 Nov 2014 03:02:29 +0000 (03:02 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Fri, 7 Nov 2014 03:02:29 +0000 (03:02 +0000)
commitdecfc6e1135287625cfa81c3a56bfa84512c7b5a
tree223a44b5ff9d92f1271fbe6ce779bbeb7ffaf45c
parentefb1c0d318f754cb3feaeb542955c71eaaab9402
arm.opt (masm-syntax-unified): New option.

gcc/ChangeLog:
2014-11-07  Terry Guo  <terry.guo@arm.com>

* config/arm/arm.opt (masm-syntax-unified): New option.
* doc/invoke.texi (-masm-syntax-unified): Document new option.
* config/arm/arm.h (TARGET_UNIFIED_ASM): Also include thumb1.
(ASM_APP_ON): Redefined.
* config/arm/arm.c (arm_option_override): Thumb2 inline assembly
code always use UAL syntax.
(arm_output_mi_thunk): Use UAL syntax for Thumb1 target.
* config/arm/thumb1.md: Likewise.

gcc/testsuite/ChangeLog:
2014-11-07  Terry Guo  <terry.guo@arm.com>

* gcc.target/arm/anddi_notdi-1.c: Match with UAL format.
* gcc.target/arm/pr40956.c: Likewise.
* gcc.target/arm/thumb1-Os-mult.c: Likewise.
* gcc.target/arm/thumb1-load-64bit-constant-3.c: Likewise.
* gcc.target/arm/scd42-1.c: Likewise.

From-SVN: r217211
12 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.opt
gcc/config/arm/thumb1.md
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/anddi_notdi-1.c
gcc/testsuite/gcc.target/arm/pr40956.c
gcc/testsuite/gcc.target/arm/scd42-1.c
gcc/testsuite/gcc.target/arm/thumb1-Os-mult.c
gcc/testsuite/gcc.target/arm/thumb1-load-64bit-constant-3.c