This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54445] TLS array lookup with negative constant is not combined into a single instruction
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Sep 2012 18:09:08 +0000
- Subject: [Bug target/54445] TLS array lookup with negative constant is not combined into a single instruction
- Auto-submitted: auto-generated
- References: <bug-54445-4@http.gcc.gnu.org/bugzilla/>
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