From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100016 invoked by alias); 11 Sep 2018 11:34:46 -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 100004 invoked by uid 89); 11 Sep 2018 11:34:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=afaics X-HELO: prv1-mh.provo.novell.com Received: from prv1-mh.provo.novell.com (HELO prv1-mh.provo.novell.com) (137.65.248.33) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Sep 2018 11:34:44 +0000 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Tue, 11 Sep 2018 05:34:42 -0600 Message-Id: <5B97A85002000078001E7337@prv1-mh.provo.novell.com> Date: Tue, 11 Sep 2018 11:34:00 -0000 From: "Jan Beulich" To: "Pedro Alves" Cc: "GDB" Subject: Re: [PATCH] x86-64: fix ZMM register state tracking References: <5B8FD8B302000078001E5940@prv1-mh.provo.novell.com> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2018-09/txt/msg00327.txt.bz2 >>> On 11.09.18 at 12:34, wrote: > On 09/05/2018 02:22 PM, Jan Beulich wrote: >> The three AVX512 state components are entirely independent - one being >> in its "init state" has no implication whatsoever on either of the other >> two. Fully separate X86_XSTATE_ZMM_H and X86_XSTATE_ZMM handling, to >> prevent upper halves of the upper 16 ZMM registers to display as if they >> were zero (when they aren't) after e.g. VZEROALL/VZEROUPPER. >>=20 >> gdb/ >> 2018-09-05 Jan Beulich >>=20 >> * i387-tdep.c (i387_supply_xsave): Split handling of >> X86_XSTATE_ZMM_H and X86_XSTATE_ZMM. >> (i387_collect_xsave): Likewise. >=20 > Does gdb/gdbserver/i387-fp.c need similar treatment? Not afaics - there's no place where both flags would be tested at the same time (other than was the case here before this patch). Jan