2016-07-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
commit8f5f2788ad261b7372385807e62aae5d9a51c109
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 2016 10:54:12 +0000 (13 10:54 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jul 2016 10:54:12 +0000 (13 10:54 +0000)
tree1c9d0168e35308756e8720cc2d65f538f49903a2
parent417e5cc50224fe0899c8ed4e62026e57725ff23f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238289 138bc75d-0d04-0410-961f-82ee72b054a4
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