RE: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-15 Thread Joseph Myers
On Thu, 15 Feb 2018, Tsimbalist, Igor V wrote: > I haven't managed to run it through > ./glibc/glibc.sourceware/scripts/build-many-glibcs.py. I did bootstrap > and CET tests. > > Ok for trunk? OK. -- Joseph S. Myers jos...@codesourcery.com

RE: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-15 Thread Tsimbalist, Igor V
Igor > -Original Message- > From: Joseph Myers [mailto:jos...@codesourcery.com] > Sent: Thursday, February 15, 2018 1:24 AM > To: Tsimbalist, Igor V > Cc: Sandra Loosemore ; gcc- > patc...@gcc.gnu.org; Uros Bizjak > Subject: RE: PR84239, Reimplement CET intrin

RE: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-14 Thread Joseph Myers
This patch has broken bootstrap of a cross toolchain for x86_64 (the case where inhibit_libc is defined because there is no libc for the target available at that stage in the bootstrap process). In file included from /scratch/jmyers/glibc-bot/build/compilers/x86_64-linux-gnu/gcc-first/gcc/inclu

Re: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-13 Thread Jeff Law
> Subject: Re: PR84239, Reimplement CET intrinsics for rdssp/incssp insn >> >> On 02/09/2018 05:50 AM, Tsimbalist, Igor V wrote: >>> Introduce a couple of new CET intrinsics for reading and updating a >> shadow stack >>> pointer (_get_ssp and _inc_ssp), which ar

RE: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-12 Thread Tsimbalist, Igor V
> -Original Message- > From: Sandra Loosemore [mailto:san...@codesourcery.com] > Sent: Friday, February 9, 2018 7:42 PM > To: Tsimbalist, Igor V ; gcc- > patc...@gcc.gnu.org > Cc: Uros Bizjak > Subject: Re: PR84239, Reimplement CET intrinsics for rdssp/incssp insn >

Re: PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-09 Thread Sandra Loosemore
On 02/09/2018 05:50 AM, Tsimbalist, Igor V wrote: Introduce a couple of new CET intrinsics for reading and updating a shadow stack pointer (_get_ssp and _inc_ssp), which are more user friendly. They replace the existing _rdssp[d|q] and _incssp[d|q] instrinsics. The _get_ssp intrinsic has more d

PR84239, Reimplement CET intrinsics for rdssp/incssp insn

2018-02-09 Thread Tsimbalist, Igor V
Introduce a couple of new CET intrinsics for reading and updating a shadow stack pointer (_get_ssp and _inc_ssp), which are more user friendly. They replace the existing _rdssp[d|q] and _incssp[d|q] instrinsics. The _get_ssp intrinsic has more deterministic semantic: it returns a value of the sha