This is the mail archive of the gcc-patches@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]

Re: [PATCH, i386]: Remove UNSPEC_STACK_CHECK ...


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.


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