From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id IValB9Iar2gHhw0AWB0awg (envelope-from ) for ; Wed, 27 Aug 2025 10:48:50 -0400 Received: by simark.ca (Postfix, from userid 112) id 1A2731E04C; Wed, 27 Aug 2025 10:48:50 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id BEEBD1E023 for ; Wed, 27 Aug 2025 10:48:49 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4DB3A3839E03 for ; Wed, 27 Aug 2025 14:48:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DB3A3839E03 Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 06B20382E680 for ; Wed, 27 Aug 2025 14:47:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 06B20382E680 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 06B20382E680 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756306041; cv=none; b=HznDrdeuV7iOXpMMzFIM4D3/7vLSL93kxMgpMzngzGNfETA6B7VJ2Dopc71N2fFArdlSl7CMHiFlbJDNKZHHdq40pdfM8CJfs3MC7HeZJAGytdCZ1Ujsoame/alLU8G4Pb0mkbwL4NhSs/y68hqvgqsO/2qNyEkVSjqPCDjTuo0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756306041; c=relaxed/simple; bh=E+OQQp5cfFvub1WEok64mv3mOgGbaB4ExsErzU2U6tE=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=v3/rniSE2Ntw8nVhn4fJxcmOy6n4VLDSKyU8+S8dB3kyJXceLJkTkJxxwdGlN8bzaxEd9pvpyMaeZCVeWadUAEAgdoPIguHMfS3d0ZYcXxBSF0LwqsIM1UFq4/Iab3HLH8YzNEQRShRPxN4VSQYz55PtNhUzAlIryMNwH+eH6CQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06B20382E680 Received: from mop.sam.mop (2.8.3.0.0.0.0.0.0.0.0.0.0.0.0.0.a.5.c.d.c.d.9.1.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:19dc:dc5a::382]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sam) by smtp.gentoo.org (Postfix) with ESMTPSA id DA72F3410D1; Wed, 27 Aug 2025 14:47:06 +0000 (UTC) From: Sam James To: Simon Marchi Cc: Tom de Vries , "Gerlicher, Klaus" , "gdb-patches@sourceware.org" Subject: Re: [PATCH] [gdb/tdep] Add XOP support in amd64_get_insn_details In-Reply-To: <56ce255a-78cb-4759-9dc4-4fec9334c9a4@simark.ca> Organization: Gentoo References: <20250826085926.6517-1-tdevries@suse.de> <56ce255a-78cb-4759-9dc4-4fec9334c9a4@simark.ca> User-Agent: mu4e 1.12.12; emacs 31.0.50 Date: Wed, 27 Aug 2025 15:47:04 +0100 Message-ID: <87y0r4om8n.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Simon Marchi writes: > On 8/26/25 3:42 PM, Tom de Vries wrote: >> On 8/26/25 15:20, Gerlicher, Klaus wrote: >>> Hi Tom, >>> >>> Thanks for working on this, I was tempted to also add it also but since this is only supported on 10 year old AMD CPUs, so I didn't bother. >>> >> >> Hi Klaus, >> >> thanks for the review. >> >> FWIW, I don't know how relevant this patch is, but new gdbs are used on both older and recent architectures, so it could be relevant for someone. > > OOC, do compilers actually produce these instructions by default? I > would guess not. Do they produce them if you select the right > -mcpu/-march? Perhaps they appear in some ifunc specifically crafted > for these CPUs? Yeah, they appear with the right -march=. It came up recently with the kernel even: https://lore.kernel.org/regressions/175386161199.564247.597496379413236944.stgit@devnote2/ sam