From e21f958766601f20c29dda516c84e8240e01cbdc Mon Sep 17 00:00:00 2001 From: uros Date: Wed, 23 Dec 2015 09:49:28 +0000 Subject: [PATCH] Allow indirect call via GOT for 64-bit Pmode x32 From: H.J. Lu Since Pmode is 64-bit with -maddress-mode=long for x32, indirect call via GOT slot doesn't need zero_extend. This patch enables indirect call via GOT for x32 with 64-bit Pmode. gcc/ PR target/66232 * config/i386/constraints.md (Bs): Allow GOT slot for x32 with 64-bit Pmode. (Bw): Likewise. (Bz): Likewise. * config/i386/predicates.md (call_insn_operand): Likewise. (sibcall_insn_operand): Likewise. gcc/testsuite/ PR target/66232 * gcc.target/i386/pr66232-10.c: New test. * gcc.target/i386/pr66232-11.c: Likewise. * gcc.target/i386/pr66232-12.c: Likewise. * gcc.target/i386/pr66232-13.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231923 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/ChangeLog') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 032e2da5995..05c6460466d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2015-12-23 H.J. Lu + + PR target/66232 + * config/i386/constraints.md (Bs): Allow GOT slot for x32 with + 64-bit Pmode. + (Bw): Likewise. + (Bz): Likewise. + * config/i386/predicates.md (call_insn_operand): Likewise. + (sibcall_insn_operand): Likewise. + 2015-12-22 David Malcolm PR c/68473 -- cgit v1.2.1