On Thu, Nov 08, 2018 at 06:30:21PM +0100, Uros Bizjak wrote:
> --- /dev/null
> +++ b/gcc/testsuite/gcc.target/i386/ptwrite2.c
> @@ -0,0 +1,14 @@
> +/* { dg-do compile } */
> +/* { dg-options "-O2 -mptwrite " } */
> +/* { dg-final { scan-assembler "ptwrite.*r" } } */
> +/* { dg-final { scan-assemble
On Thu, Nov 8, 2018 at 7:03 PM Andi Kleen wrote:
>
> > OK for x86 part (that is only PATCH 1/3). It looks that this part can
> > go to mainline as an independent patch from other patches in serie.
>
> Thanks.
>
> Note even 2/3 has a small i386 specific part. Would be good if you
> could take a loo
> OK for x86 part (that is only PATCH 1/3). It looks that this part can
> go to mainline as an independent patch from other patches in serie.
Thanks.
Note even 2/3 has a small i386 specific part. Would be good if you
could take a look at that part.
-Andi
Hello!
> From: Andi Kleen
>
> Add builtins/intrinsics for PTWRITE. PTWRITE is a new instruction on Intel
> Gemini Lake/
> Goldmont Plus that allows to write values into the Processor Trace log. This
> allows
> very light weight instrumentation of programs.
>
> The intrinsics are compatible to i
Andi Kleen writes:
Ping!
> From: Andi Kleen
>
> Add builtins/intrinsics for PTWRITE. PTWRITE is a new instruction on Intel
> Gemini Lake/
> Goldmont Plus that allows to write values into the Processor Trace log. This
> allows
> very light weight instrumentation of programs.
>
> The intrinsics
From: Andi Kleen
Add builtins/intrinsics for PTWRITE. PTWRITE is a new instruction on Intel
Gemini Lake/
Goldmont Plus that allows to write values into the Processor Trace log. This
allows
very light weight instrumentation of programs.
The intrinsics are compatible to icc. Automatically enable
On Fri, May 11, 2018 at 2:44 AM, Andi Kleen wrote:
>> @@ -31325,7 +31329,21 @@ ix86_init_mmx_sse_builtins (void)
>> continue;
>>
>>ftype = (enum ix86_builtin_func_type) d->flag;
>> - def_builtin2 (d->mask, d->name, ftype, d->code);
>> + decl = def_builtin2 (d->mask, d->name,
> @@ -31325,7 +31329,21 @@ ix86_init_mmx_sse_builtins (void)
> continue;
>
>ftype = (enum ix86_builtin_func_type) d->flag;
> - def_builtin2 (d->mask, d->name, ftype, d->code);
> + decl = def_builtin2 (d->mask, d->name, ftype, d->code);
> +
> + /* Avoid edges for ptwrite
On Wed, May 9, 2018 at 1:23 PM, Peryt, Sebastian
wrote:
> I have rebased this patch to the latest trunk and addressed comments. Also,
> there was a test in changelog,
> but not in the patch itself - this has been added.
>
> Is it ok for trunk and backport to GCC-8 after few days?
>
> gcc/
>
>
Behalf Of Andi Kleen
> Sent: Monday, February 12, 2018 3:53 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Metzger, Markus T ; ubiz...@gmail.com;
> Andi Kleen
> Subject: [PATCH 1/3] Add PTWRITE builtins for x86
>
> From: Andi Kleen
>
> Add builtins/intrinsics for PTWRITE. P
On Sun, 11 Feb 2018, Andi Kleen wrote:
> @@ -27064,6 +27064,9 @@ preferred alignment to
> @option{-mpreferred-stack-boundary=2}.
> @itemx -mfsgsbase
> @opindex mfsgsbase
> @need 200
> +@itemx -mptwrite
> +@opindex mptwrite
> +@need 200
> @itemx -mrdrnd
> @opindex mrdrnd
> @need 200
This @i
From: Andi Kleen
Add builtins/intrinsics for PTWRITE. PTWRITE is a new instruction on Intel
Cherry Trail
that allows to write values into the Processor Trace log.
This is fairly straight forward, except I had to add isa2 support for variable
number
of operands.
gcc/:
2018-02-10 Andi Kleen
12 matches
Mail list logo