re PR target/61545 (Miscompilation in libcap-ng)

PR target/61545

* config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.

From-SVN: r211785
This commit is contained in:
Richard Henderson 2014-06-18 07:27:55 -07:00 committed by Richard Henderson
parent 7b5b78b16b
commit 0bc117145a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-06-18 Richard Henderson <rth@redhat.com>
PR target/61545
* config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM.
2014-06-18 Charles Baylis <charles.baylis@linaro.org>
* config/arm/arm.c (neon_vector_mem_operand): Allow register

View File

@ -3855,6 +3855,7 @@
(unspec:PTR [(match_operand 0 "aarch64_valid_symref" "S")]
UNSPEC_TLSDESC))
(clobber (reg:DI LR_REGNUM))
(clobber (reg:CC CC_REGNUM))
(clobber (match_scratch:DI 1 "=r"))]
"TARGET_TLS_DESC"
"adrp\\tx0, %A0\;ldr\\t%<w>1, [x0, #%L0]\;add\\t<w>0, <w>0, %L0\;.tlsdesccall\\t%0\;blr\\t%1"