This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Remove UNSPEC_STACK_CHECK ...
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Ian Taylor <iant at golang dot org>
- Date: Thu, 10 Aug 2017 22:55:31 +0200
- Subject: Re: [PATCH, i386]: Remove UNSPEC_STACK_CHECK ...
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4bTjCZLi1fiPZ24P153ANCA51Pm-B7BsMOHONu0=3Z-jA@mail.gmail.com>
On Thu, Aug 10, 2017 at 8:32 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> ... and use address spaces to load boundary value from TLS block.
>
> The patch removes special handling for boundary value location.
I have renamed ix86_split_stack_boundary to ix86_split_stack_guard
(and added missing function comment), so the new ChangeLog reads:
2017-08-10 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386-protos.h (ix86_split_stack_guard): New prototype.
* config/i386/i386.c (ix86_split_stack_guard): New function.
(ix86_xpand_split_stack_prologue): Call ix86_split_stack_guard.
(ix86_legitimate_address_p) <case UNSPEC_STACK_CHECK>: Remove.
(i386_asm_output_addr_const_extra) <case UNSPEC_STACK_CHECK>: Ditto.
(optput_pic_addr_const): Remove UNSPEC_STACK_CHECK handling.
* config/i386/i386.md (unspec): Remove UNSPEC_STACK_CHECK.
(split_stack_space_check): Call ix86_split_stack_guard.
Uros.