Hi H.J.,
> On Tue, Oct 24, 2017 at 2:33 AM, Uros Bizjak wrote:
>> On Tue, Oct 24, 2017 at 10:39 AM, Tsimbalist, Igor V
>> wrote:
>>> OK.
>>
>> +/* { dg-final { scan-assembler-times "endbr32" 2 { target ia32 } } } */
>> +/* { dg-final { scan-assembler-times "endbr64" 2 { target { ! ia32 } } } }
On Tue, Oct 24, 2017 at 2:33 AM, Uros Bizjak wrote:
> On Tue, Oct 24, 2017 at 10:39 AM, Tsimbalist, Igor V
> wrote:
>> OK.
>
> +/* { dg-final { scan-assembler-times "endbr32" 2 { target ia32 } } } */
> +/* { dg-final { scan-assembler-times "endbr64" 2 { target { ! ia32 } } } } */
>
> I think we c
st, Igor V
>> Cc: Uros Bizjak ; gcc-patches@gcc.gnu.org
>> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
>> directly
>>
>> On Mon, Oct 23, 2017 at 3:19 PM, Tsimbalist, Igor V
>> wrote:
>> > You are right. The functions in t
OK.
Igor
> -Original Message-
> From: H.J. Lu [mailto:hjl.to...@gmail.com]
> Sent: Tuesday, October 24, 2017 1:01 AM
> To: Tsimbalist, Igor V
> Cc: Uros Bizjak ; gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
: Uros Bizjak ; gcc-patches@gcc.gnu.org
>> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
>> directly
>>
>> On Mon, Oct 23, 2017 at 3:01 PM, Tsimbalist, Igor V
>> wrote:
>> > Existing tests cet-label.c cet-switch-2.c cet-sjlj-1
ilto:hjl.to...@gmail.com]
> Sent: Tuesday, October 24, 2017 12:06 AM
> To: Tsimbalist, Igor V
> Cc: Uros Bizjak ; gcc-patches@gcc.gnu.org
> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
> directly
>
> On Mon, Oct 23, 2017 at 3:01 PM, Tsimbalist, Ig
rom: H.J. Lu [mailto:hjl.to...@gmail.com]
>> Sent: Monday, October 23, 2017 11:50 PM
>> To: Tsimbalist, Igor V
>> Cc: Uros Bizjak ; gcc-patches@gcc.gnu.org
>> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
>> directly
>>
>> On Mon, O
hem?
>
>
> >
> >> -Original Message-
> >> From: Uros Bizjak [mailto:ubiz...@gmail.com]
> >> Sent: Monday, October 23, 2017 9:26 PM
> >> To: H.J. Lu
> >> Cc: gcc-patches@gcc.gnu.org; Tsimbalist, Igor V
> >>
> >> Subj
u
>> Cc: gcc-patches@gcc.gnu.org; Tsimbalist, Igor V
>>
>> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
>> directly
>>
>> On Sun, Oct 22, 2017 at 4:13 PM, H.J. Lu wrote:
>> > There is no need to insert ENDBR instruction if f
ilto:ubiz...@gmail.com]
> Sent: Monday, October 23, 2017 9:26 PM
> To: H.J. Lu
> Cc: gcc-patches@gcc.gnu.org; Tsimbalist, Igor V
>
> Subject: Re: [PATCH] i386: Don't generate ENDBR if function is only called
> directly
>
> On Sun, Oct 22, 2017 at 4:13 PM, H.J. Lu
On Sun, Oct 22, 2017 at 4:13 PM, H.J. Lu wrote:
> There is no need to insert ENDBR instruction if function is only called
> directly.
>
> OK for trunk if there is no regressions?
Patch needs to be OK'd by Igor first.
Uros.
> H.J.
>
> gcc/
>
> PR target/82659
> * config/i386
11 matches
Mail list logo