arm.h (TARGET_HAVE_CBZ): Define.
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 13 Jul 2016 10:54:12 +0000 (10:54 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Wed, 13 Jul 2016 10:54:12 +0000 (10:54 +0000)
commit5ce15300a0ef85a37fb9d90299ab73b994b67fca
tree1c9d0168e35308756e8720cc2d65f538f49903a2
parent2b9509a34d0f7e25202530a4453afc5eb5d06f6b
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
gcc/ChangeLog
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/config/arm/thumb1.md
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/cbz.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp