Re: [PATCH] x86-64: fix ZMM register state tracking

Simon Marchi
2018-10-03T14:41:53Z

On 2018-10-03 10:30, Jan Beulich wrote:
>> Here's the revised version with this fixed. I am not sure about the
>> output
>> for zmm0 though.
>
> I'll give this a go and adjust if need be, but it'll likely take me a
> couple of
> days to get to it. I take it that ...

There's no rush, thanks for helping.

>> --- a/gdb/testsuite/gdb.arch/i386-avx512.c
>> +++ b/gdb/testsuite/gdb.arch/i386-avx512.c
>> @@ -249,6 +249,13 @@ main (int argc, char **argv)
>> move back to array and check values. */
>> move_zmm_data_to_memory ();
>> asm ("nop"); /* sixth breakpoint here */
>> +
>> + asm ("vpternlogd $0xff, %zmm0, %zmm0, %zmm0");
>> +#ifdef __x86_64__s
>
> ... the trailing s here simply is a typo.

Arrrg, indeed.

Simon