[AArch64] Recommit correct version for improving TLS descriptor pattern
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Mon, 10 Aug 2015 10:06:28 +0000 (10:06 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Mon, 10 Aug 2015 10:06:28 +0000 (10:06 +0000)
commit43e06d03ef96cfb4ddce46edc29cc7c7b82bf2f0
treec5a5a05bf912b4d1972a4944a4bf6c543bb1a8b8
parent7fd8646421bbb58b11883a304665822632f2c9c1
[AArch64] Recommit correct version for improving TLS descriptor pattern

2015-08-06    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      Jiong Wang  <jiong.wang@arm.com>

gcc/
  * config/aarch64/aarch64.d (tlsdesc_small_pseudo_<mode>): New pattern.
  * config/aarch64/aarch64.h (reg_class): New enumeration FIXED_REG0.
  (REG_CLASS_NAMES): Likewise.
  (REG_CLASS_CONTENTS): Likewise.
  * config/aarch64/aarch64.c (aarch64_class_max_nregs): Likewise.
  (aarch64_register_move_cost): Likewise.
  (aarch64_load_symref_appropriately): Invoke the new added pattern if
  possible.
  * config/aarch64/constraints.md (Uc0): New constraint.

gcc/testsuite/
  * gcc.target/aarch64/tlsdesc_hoist.c: New testcase.

From-SVN: r226757
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h
gcc/config/aarch64/aarch64.md
gcc/config/aarch64/constraints.md
gcc/testsuite/gcc.target/aarch64/tlsdesc_hoist.c [new file with mode: 0644]