This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/54445] TLS array lookup with negative constant is not combined into a single instruction


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54445

--- Comment #6 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-09-12 18:09:08 UTC ---
Author: hjl
Date: Wed Sep 12 18:08:59 2012
New Revision: 191230

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191230
Log:
Allow negative offset for UNSPEC_DTPOFF/UNSPEC_NTPOFF

gcc/

    PR target/54445
    * config/i386/predicates.md (x86_64_immediate_operand): Allow
    negative offset for UNSPEC_DTPOFF/UNSPEC_NTPOFF.

gcc/testsuite/

    PR target/54445
    * gcc.target/i386/pr54445-1.c: New file.
    * gcc.target/i386/pr54445-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr54445-1.c
    trunk/gcc/testsuite/gcc.target/i386/pr54445-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/predicates.md
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]