From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by sourceware.org (Postfix) with ESMTPS id 8C236385840C for ; Wed, 14 Feb 2024 16:03:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C236385840C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=obs.cr Authentication-Results: sourceware.org; spf=none smtp.mailfrom=obs.cr ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8C236385840C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::82a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707926597; cv=none; b=nVz2L47mvQ7csqP/2eK3dmFbuPHB4Ti/3C7iXdWyIp45YJNuRFHk0zUomnO/4ORDzVZKr3XArxhpufBhrHSyOnxgILgW86nzIJtrchD/zfRuFuLClIODroxhhQZr8UJyYb8wJnyy/TrGF+kSBDx9tY+4n4Wqa0Q3bJ61137zSK0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707926597; c=relaxed/simple; bh=j1fwvFt/rcTq/qwkPOLAcmmZWpGpW4QXLBxCJSWaBuQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=rvwGJ1+ylicxX6BeVvBEb7SMbhUqfMrMNFYCyAfiDQv4Ai/92qq+Esnn4tF8KENEyE7mxeauxeNPEPo7ZhScPet5dzK5H8zaTCFJWOam1tGBLDdW+1y8XdvQAE/6NjfzEXca1Ildjwu8Te6lVBQL0+YRkXlCkDmFVMNNzVX5dIQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-42c758f075dso8133711cf.0 for ; Wed, 14 Feb 2024 08:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obs-cr.20230601.gappssmtp.com; s=20230601; t=1707926594; x=1708531394; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8Z60LVa2yo94UjffJ+5a57KmrGG6y2Q1sZx1SPdvz+A=; b=HucLDLIZd1GT/3CWythoZHzhRN7UfW8DP/HJ1zEUPM2/eOOFjcPPhmLfGRbjz0S3gC 3M7gfb6En437j+PjlRX53SlSthGNT0SDwvsBNI40UTI+OTVqEXdqNcAj1RwET+iSy/1V UpXqGGaVS5r9qtAwfGnRScOMY5FLLq8bhcokahFVjTQvtShyiy9KEm9Z1qmNHc4PD0xq UcC2Oge4yyRwAjE4oYiCQgBBP+LyZY40ewa+szN4BhRXQ+CtYJoRZZfZEQiG9jSoH/9u 0OosDePLYaYU94w4Fv5kJ4UtsfunCCF+Ln4B5Da7y5JaTFCFNnnhWVuPR2pkPlezpfyb yUIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707926594; x=1708531394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8Z60LVa2yo94UjffJ+5a57KmrGG6y2Q1sZx1SPdvz+A=; b=EqEETz+L8bRBNNxt6p2nv0Wn3J6fcArvVZSGXcU2ZSVRvIuIY/XKV4elrgSrvQNNfi YySPRK57Nfq4sfrGahBYe70i2rTo8Hc9UDKPeTP3ovC0wqC3HDIC2hpFdgk6Te56ZfQD n5dc6ET18yb73bVZDA8EdIXuBJkr4oBSxJVJIsPLFdZXVj94i7B3ZpHJ6MEJOvZyaQiC L3zTxDFg/rG4Zwo57nWsV38X5LjyNhVxObRzuxPgKyPsIGw/3q5e+CEJdaoDOX2sdBfP vqy9alNbnupT/tF2q0pehb0cZup3P7DPGDfw/0YYsyssVyowHnV0kMccsfZpX/zJwJsU 8hNA== X-Gm-Message-State: AOJu0YwDI4O8aJ4T1g+3EsT7zFwwc0HEMB3t7z1gQIQY3DavPQRplrI9 gk1MRqLpZvjOH/F314iPBMe7vOeuGXOqvjq5hRPZXN/2dciR5q+u/ipQEIqza0BXBoxvu/5X04Q u X-Google-Smtp-Source: AGHT+IGO1AJ3MCLuCLIwen2fUJ1g55G3u3XjWsz7mQOX3Xz5Va4Kvjt3f0zKGYXUg2W093HBkMO3KQ== X-Received: by 2002:ae9:e116:0:b0:785:cdad:f113 with SMTP id g22-20020ae9e116000000b00785cdadf113mr3659025qkm.38.1707926594526; Wed, 14 Feb 2024 08:03:14 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWkiB/zp46+cgwNUopU12T892WZ+ZPyeMoJ4b7m5QcdaYaaMb/Rkofo0BfPvoylLCWriOvGnz8I6PxzCihUQDLAU62LxJh6Kg== Received: from borderland.rhod.uc.edu ([129.137.96.2]) by smtp.gmail.com with ESMTPSA id fa11-20020a0561302f8b00b007d2e2f14bd4sm1593032uab.29.2024.02.14.08.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:03:14 -0800 (PST) From: Will Hawkins To: binutils@sourceware.org Cc: Will Hawkins , yonghong.song@linux.dev Subject: [PATCH v3 0/1] Move callx (nee callr) to v1 ISA variant Date: Wed, 14 Feb 2024 11:02:59 -0500 Message-ID: <20240214160303.869180-1-hawkinsw@obs.cr> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Thank you for all the feedback on v1 and v2! Thanks to the willingness of the clang/llvm developers to compromise on their encoding of the callx instruction, this version of the patch is much more straightforward than v2. In other words, a special thanks to Yonghong Song! The only "controversial" piece of this patch is the reworking of the testsuite code. I refactored the test code slightly to (visually) match the test code from the clang/llvm test code for the callx instruction. It made it easier for me to visually confirm that the objdump output matches. I am more than happy to revert that piece if what I did goes too far. Of course, I am also happy to change anything about this patch to make sure that it meets the community's guidelines. Thank you, again, for all the help! Will Will Hawkins (1): objdump, as: Add callx support for BPF CPU v1 gas/testsuite/gas/bpf/indcall-1-pseudoc.d | 8 ++++---- gas/testsuite/gas/bpf/indcall-1-pseudoc.s | 6 +++--- gas/testsuite/gas/bpf/indcall-1.d | 10 +++++----- gas/testsuite/gas/bpf/indcall-1.s | 6 +++--- include/opcode/bpf.h | 2 +- opcodes/bpf-opc.c | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) -- 2.43.0