diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2016-07-13 10:54:12 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2016-07-13 10:54:12 +0000 |
commit | 5ce15300a0ef85a37fb9d90299ab73b994b67fca (patch) | |
tree | 1c9d0168e35308756e8720cc2d65f538f49903a2 /gcc/doc | |
parent | 2b9509a34d0f7e25202530a4453afc5eb5d06f6b (diff) | |
download | gcc-5ce15300a0ef85a37fb9d90299ab73b994b67fca.zip gcc-5ce15300a0ef85a37fb9d90299ab73b994b67fca.tar.gz gcc-5ce15300a0ef85a37fb9d90299ab73b994b67fca.tar.bz2 |
arm.h (TARGET_HAVE_CBZ): Define.
2016-07-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* config/arm/arm.h (TARGET_HAVE_CBZ): Define.
(TARGET_IDIV): Set for all Thumb targets provided they have hardware
divide feature.
* config/arm/arm.md (divsi3): New unpredicable alternative for ARMv8-M
Baseline. Make initial alternative TARGET_32BIT only.
(udivsi3): Likewise.
* config/arm/thumb1.md (thumb1_cbz): New define_insn.
* doc/sourcebuild.texi (arm_thumb1_cbz_ok): Document new effective
target.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_arm_thumb1_cbz_ok):
Add new arm_thumb1_cbz_ok effective target.
* gcc.target/arm/cbz.c: New test.
From-SVN: r238289
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index b437c17..24b65da 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -1618,6 +1618,10 @@ ARM target prefers @code{LDRD} and @code{STRD} instructions over ARM target generates Thumb-1 code for @code{-mthumb} with @code{MOVW} and @code{MOVT} instructions available. +@item arm_thumb1_cbz_ok +ARM target generates Thumb-1 code for @code{-mthumb} with +@code{CBZ} and @code{CBNZ} instructions available. + @end table @subsubsection AArch64-specific attributes |