From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14315 invoked by alias); 3 Oct 2018 14:41:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14286 invoked by uid 89); 3 Oct 2018 14:41:52 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:771 X-HELO: smtp.polymtl.ca Received: from smtp.polymtl.ca (HELO smtp.polymtl.ca) (132.207.4.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Oct 2018 14:41:47 +0000 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id w93Effb6030872 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 3 Oct 2018 10:41:45 -0400 Received: by simark.ca (Postfix, from userid 112) id 103661E9A1; Wed, 3 Oct 2018 10:41:41 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id D8D321E52B; Wed, 3 Oct 2018 10:41:39 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 03 Oct 2018 14:41:00 -0000 From: Simon Marchi To: Jan Beulich Cc: simon.marchi@ericsson.com, markus.t.metzger@intel.com, tim.wiederhake@intel.com, gdb-patches@sourceware.org Subject: Re: [PATCH] x86-64: fix ZMM register state tracking In-Reply-To: <5BB4D278020000780013F4F4@prv1-mh.provo.novell.com> References: <5B8FD8B302000078001E5940@prv1-mh.provo.novell.com> <369f9b84-77e3-3fa4-f363-a89ee503cff4@ericsson.com> <5B960E3D020000780013C85E@prv1-mh.provo.novell.com> <5BA0FFB102000078001E97B0@prv1-mh.provo.novell.com> <0e0d9f23-2cbf-eb5a-64fa-6cda3392053a@ericsson.com> <5BAA4E7302000078001EBC73@prv1-mh.provo.novell.com> <580ba4ea-93ae-ffd0-7bce-bd1f75cf9ff9@ericsson.com> <5BB4D278020000780013F4F4@prv1-mh.provo.novell.com> Message-ID: <9dae2c6434548a8094ff721e047b7ea0@polymtl.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.3.6 X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00067.txt.bz2 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