From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 185683811095 for ; Tue, 4 Jun 2024 19:10:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 185683811095 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 185683811095 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717528225; cv=none; b=sRrYDb9MeaZm8attQ6a/cLC26plAhnfNp3gFnK1g5vI65JLDAUAsQuuEZHba7/yWQNtijHlFaG320juaR0RysLiFSfp25b6GLPmqM2OKp8W8/gA50Ui+u+GckNIBY+qhZ5oO7ggeklYeJme/egVDZ8+A8xpwm59veVplD6/fNhA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717528225; c=relaxed/simple; bh=E58i5GBJTEtr4tcVxsjH8iztwrElxkrjEcXfRy27Twg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=X7U7n5rPNTlovppR0sZB3DdmlFr8qtqanYeyHN1O2EGHBiacF0Jl8gtjcUrK4Go6HHAut05P7Z9MaoEb57nmESywAvM1D6xwTqZ+RZOfNd7oC/UJqSjMU3Ynm1RE+WmGO4gx9TKip4z6HquZog2JnYuZtgR3/GvLIWzilN8rnbw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717528222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WPIAT+afPnVsDwb/4+Uyz4pnKpNj5JBH7mxMcIYyAhc=; b=MtUndwGppbp/4Wf5AUNxL10d+QKpmTlHoe/UzkFRhAuTDFjEZskgO0cQ4AqifwSzsi52bV H5LRkD9dY5VgERs6blmH447VHhbC5nefoGK6mDiw5WUVe+T503rJI7vjE8D10Bc4lzvsRv bf96evKmA2kIH3dYUP8gyQUMlPD1rc8= Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-441-bGpDbjJ9Oj2gGSaA7uBO2w-1; Tue, 04 Jun 2024 15:10:20 -0400 X-MC-Unique: bGpDbjJ9Oj2gGSaA7uBO2w-1 Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-6f93d1cfdc7so980808a34.3 for ; Tue, 04 Jun 2024 12:10:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717528219; x=1718133019; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WPIAT+afPnVsDwb/4+Uyz4pnKpNj5JBH7mxMcIYyAhc=; b=jK2BPj8k7WGfJt/HjMJOhV2D+4Qu3w49w6jfr7natsi4H0sM1K0+6ZvFDb5+6fcm4Z M7DsY+mVSsIf2bOltRwo0It/xnEaM75wAAG6kmRYlfzrjrD+D2uOWkBXuMRafhC9XFaN Eo48CbDsHl3+wPn4Z629FQm4tDHhS4kO55SUUA4DK0pZ9ijTHWegeF8N0aGBf4v6KKR4 MOi0LwodFHPgmyuqgfQS8hecyK/TF1LMazMxQagr6XM8eqhOE8ra6sQj4L6cSssUbN5W mgp7Ka1F3Mpf3mX7Mx4J3aJle/jl4USsedbVL8O6ACxotfcM3YvaJAN5CknB0Rlff7oU BUSA== X-Forwarded-Encrypted: i=1; AJvYcCURr9us8shYsEaOMlFlez7VxxcCdK2zbKj67ZBRjKWIkRmBBt1zdKh00TwxVKrJkjdoSyO1/wqXD57GbQu7eU+gdVmWj7P2CZyPkA== X-Gm-Message-State: AOJu0YzBddy4ntvT9mQunliiJCa0PVJIiQ1zNY+mmwdxyNtNH4PPRkcl r01H52d64y94mXyDNm/Z4b8TdJeSjJ8CftHZ/vLmRA0/Y3NIcT7EILFuzwjP5bJAxXBwC6ci0kZ QqHicXzQIusarUy/CKHwUPGLgMs944rU/q3fs3HmFa1nYCiI7X5LhRQpe3L8= X-Received: by 2002:a05:6358:590b:b0:18d:f1bc:9f80 with SMTP id e5c5f4694b2df-19c66917f7cmr46933055d.0.1717528219587; Tue, 04 Jun 2024 12:10:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIPmTQEhE0Tfbc80TpfhKExe6+mLr10EskvcDwct71YnIfkm/YS34d9Z8HeZ7+V8/e0zx08w== X-Received: by 2002:a05:6358:590b:b0:18d:f1bc:9f80 with SMTP id e5c5f4694b2df-19c66917f7cmr46930555d.0.1717528219090; Tue, 04 Jun 2024 12:10:19 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:92c5::1001? ([2804:14d:8084:92c5::1001]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43ff2593ba4sm51593741cf.90.2024.06.04.12.10.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jun 2024 12:10:18 -0700 (PDT) Message-ID: Date: Tue, 4 Jun 2024 16:10:14 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PING][PATCH 0/3] Small step in supporting AVX instructions To: Guinevere Larsen , "gdb-patches@sourceware.org" References: <20240521202800.2865871-1-blarsen@redhat.com> From: Guinevere Larsen In-Reply-To: <20240521202800.2865871-1-blarsen@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Ping! Since this patch is only x86 record full, if there are no comments until next week, I will push this change. -- Cheers, Guinevere Larsen She/Her/Hers On 5/21/24 17:27, Guinevere Larsen wrote: > This patch series is the first, very small, step in supporting AVX and > AVX2 instructions for the record-full target. It is important that we > support it since glibc has been using avx instructions for a long time > (at least fedora 21), so depending on which functions an inferior uses, > they might be very inconvenienced. > > Patch 1 adds capability to identify the VEX prefix, but no instruction > support. Patches 2 and 3 add support for a total of 10 instructions, > which covers around 5% of all AVX instructions used by system libraries > in my fedora 39 box. > > While this support is extremely minimal, I figured I could propose the > patch series early so it was open for others with more free time could > help contributing to this :) > > As for filed bugs, there are 2 that I could find on bugzilla, but both > name a specific instruction (vmovdqa and vmovdqu) which were not added > by this series, so I figured I should only mention it once those are > added. > > Guinevere Larsen (3): > gdb: Start supporting AVX instruction > gdb/record: add support to vmovd and vmovq instructions > gdb/record: add support to AVX unpack instructions > > gdb/amd64-tdep.c | 3 +- > gdb/i386-tdep.c | 170 ++++++++++++++- > gdb/i386-tdep.h | 2 + > gdb/testsuite/gdb.reverse/i386-avx-reverse.c | 127 +++++++++++ > .../gdb.reverse/i386-avx-reverse.exp | 197 ++++++++++++++++++ > 5 files changed, 496 insertions(+), 3 deletions(-) > create mode 100644 gdb/testsuite/gdb.reverse/i386-avx-reverse.c > create mode 100644 gdb/testsuite/gdb.reverse/i386-avx-reverse.exp >