From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 1A9483858C33 for ; Tue, 25 Jul 2023 22:23:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A9483858C33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36PJIuhH020535 for ; Tue, 25 Jul 2023 22:23:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=D6HP1TW/ruYduemAV1+z1Rw6GiKLMClk/gkTmDE/ibI=; b=BIiFHTSwGPbuQ9YrZnxr8G4hHvvDf393+3/jgO0Bo54jlcbbGdFy38buve3sHBzdFkAR Anstn9f0i884QWPfetrll1WDGPWqox0MLicxBXocZy/pyKyhUXaCfd6E0Hoau5nvvDZI KGGuBg8QBl3hR19fNMbWC7TPBmBqacsfDXrtc1ix+jlyE1rRhZryyY/+yGvHFUgeJsxg aOMXjXG/2U6NpUZK3cbDFEMs9yVLwDKWG1ryrzNjp+p7EAXvZvggD8jbH80OnLb1zsRO fFBq4UpMn/hm9LfWrIBScAbdrdrplnLktQD5j7JrqAJyKzbh4t0WUHi9FZZawmvmzjDU qw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3s05hdx7px-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 25 Jul 2023 22:23:40 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 36PLtChq029472 for ; Tue, 25 Jul 2023 22:23:39 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3s05j5dk9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 25 Jul 2023 22:23:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e2mg9vR8eC93l3gX6iqB83NZ3GIGirEb91G6AWl7ktOwV0xS40IYK/rhpbKXIuKOD5XK/VY/1ChenlXurAAzGSerGij8hj6D+y6akoWr07bXyhXg6LsfoBzoShkTC/hf/jpHGs8aWGrfsWeY6N33UptaE6e7Z5MquA+2Ms+oWGCeU30UhZkYf12Iqjvcnu8gp1eC+BCB1YpaCTSRx74/lAUHBcnPf5rMzrfEP5OZhzkOnB8fPcB54usohz/tF0ppUfd0J1aWDN/06qA8liP3udn5lpS1MuTOvONiZPF7oApAR3UvdijzCqBEBwvgo1CU8rEk0OT/jBpp8NW25bC8AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=D6HP1TW/ruYduemAV1+z1Rw6GiKLMClk/gkTmDE/ibI=; b=AMB/k9pUWCXc4rUuLPKajq+AYnF/jD7Amir1N2pGh7njRGHbRDFoq2y1HhBjOM3HC+uNCBA9R7my5ra8jEMlxfBrM5NMOzDx1Y6CtA3l4eFbWeNI353Uo3C7inuKUmf+PnCtn7xhQxNHUmwo0SrylYb3vhoI5a0pVn4yy/YdJqHnroxl8Lwxi9UGJI1guAQFFWa51jKSIulm8arnYK87KVKHzqRynL4YII6e/DVaPY+zTRPnib+nEgRuPPvVZxctnrU6brXDE/YxJH7f2idAR7Kr9J7EQ5yNjucPgna00Ovw+qKZ/QG8td0u0/REFjg8jOsFPiaNjFKr5JgxeAVUyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D6HP1TW/ruYduemAV1+z1Rw6GiKLMClk/gkTmDE/ibI=; b=tPmHJQpi8gvU9AiTYq2DuOmIy9mwua0kIOK00i3EOfvYTtlx67bFywqbHOsR4tMUDnJToVQXFUVv9KjDvzRocHCBCwHy0eJbp+4N0/R16DET6fP222HUaj4daW5lzSkKTqvr6fw0nbLyw5qh2qB0m38eUHj6bokmUW6o6OXJR1c= Received: from MN2PR10MB3213.namprd10.prod.outlook.com (2603:10b6:208:131::33) by PH7PR10MB5699.namprd10.prod.outlook.com (2603:10b6:510:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Tue, 25 Jul 2023 22:23:16 +0000 Received: from MN2PR10MB3213.namprd10.prod.outlook.com ([fe80::827f:8665:2052:16c5]) by MN2PR10MB3213.namprd10.prod.outlook.com ([fe80::827f:8665:2052:16c5%4]) with mapi id 15.20.6609.032; Tue, 25 Jul 2023 22:23:16 +0000 Message-ID: <3a3df174-da34-be82-c011-aa18cfa27136@oracle.com> Date: Tue, 25 Jul 2023 15:23:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 2/2] bpf: add v3 atomic instructions Content-Language: en-US To: "Jose E. Marchesi" Cc: gcc-patches@gcc.gnu.org References: <20230725220821.11431-1-david.faust@oracle.com> <20230725220821.11431-2-david.faust@oracle.com> <87zg3j8wjj.fsf@oracle.com> From: David Faust In-Reply-To: <87zg3j8wjj.fsf@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DM6PR08CA0064.namprd08.prod.outlook.com (2603:10b6:5:1e0::38) To MN2PR10MB3213.namprd10.prod.outlook.com (2603:10b6:208:131::33) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR10MB3213:EE_|PH7PR10MB5699:EE_ X-MS-Office365-Filtering-Correlation-Id: c091e306-fdf4-4781-31ce-08db8d5dbdd3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Nt65JieqiEfXL7eShhdzG9z7ASLXUTpWxidaK02ZKvPgj62fxcu96edLdetxk/adtyggyJ4E1rqQtfNfPgYBCj+bTqKZ2HbveG7lsdMmuyLumq6aUAnV6BpdY9uoCoF7sbFKUTKpV/bAuDs9Ww/ycPBluhlWS/741X9ihMNMLVBu11RMLIbb/DnCTEp8BNSsgUhtGqO2r+VG3iV7veALKBOJerCD9ZCoo3AaHjWrhCnTFTHt3YWawjbxGPkNfg5Ls2x32bm9RheLyR7d37ZpREJdFHcue2VDU/H5xLDoPukOHkI3CI7CTgbFNXajXqbQuZFkd59TmGi8YNu5Fv1G08uilWNuciWbC6im8SQbusuSsrI7GPLIXhrsJDvVr38K9V/j0tePVIYQdNpNYoqLC+psdaElGlvJ7d2wrLI0SoREQiF9szKqy/w+NY0fV2yk511l6YyUwXdplu31gNDtTP6j+IP/Nw2oz3593NTdZwo+oP0rLZOV3XPzuEOGaKJtoim4f5fTab6mJQA3s6OCX+npZz7r6/H2eAXi5WPYsStFcVAKfiSiYCfI7vkE26fOqwrkn3XuyQO+PxT05tyC85i6+FuniSHgmoi/QMWjc6fQzm6IVW/BlN7E2wHx/YrvS1e1FkTR0Ig4a0v+fAaFAA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR10MB3213.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(136003)(376002)(346002)(366004)(396003)(451199021)(478600001)(31696002)(37006003)(86362001)(6666004)(6486002)(36756003)(316002)(66946007)(66476007)(6636002)(4326008)(6512007)(41300700001)(66556008)(26005)(6862004)(6506007)(8936002)(186003)(5660300002)(8676002)(53546011)(44832011)(38100700002)(31686004)(2906002)(4744005)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c1lpWmt3OTdvZjhobXdsekVoVmN4WDdLdG1ZWkpWanByL2sydDRxanFXc1Zo?= =?utf-8?B?dllMOG9WVWxCSXhZbUU2RHMyRkIwSVFBM0hmWVB0dnBzREllajN2NVl1dDZs?= =?utf-8?B?MlpPZ1FhbjVYUzArTDRLN3dHRUQwTG1JTnZONGVxUGluSXlvdFFuSmowWU5x?= =?utf-8?B?dHZjYjdzdFp2bWtSN25aTFQwd1FRRTBHSE1kblp3eWRPakVhSXVwcnA2aFlT?= =?utf-8?B?VzRlTGFIN2JPT3d2L1d2T3FCeUhBdW9Mbk1GaW5rd0RKSDRrRmF2SlFsaXBD?= =?utf-8?B?dmtodFA4NU5ZV3FPUGdxZWgvcXdYbE0yNFhCbjIyZndpMldhV005UGZQK1R1?= =?utf-8?B?dDI4ZU8wTlhNWS9tZCtzS0gycEtVQkNkL2J6SkZPUjk3RHBCS2hXVkF0SlhC?= =?ut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ternalHop-MessageData-0: KdSt40XEIYJCi84my6+Vh9Kz0AsTb2rL3e67YMygzXlkmnY5bopWlw60faNRIOeQYcWjmi79xQwtYLniSnI1HAg3dgYoEZPoRQRLdHB2ghbmWkdOiZt0IIHQvSRH+hVCmlnLEol8Cdgepywj4X29PXrQq30YPx9wVk4sid3Mz5ixt/0oEn4PmnFaiTyf3+AqCROCU5pt0I8Hlj2dTdm5CflCkVdhQ2v49aXyVAd4H7BoNvvB2s00wzDztVEaJoXoyTjDk14vJDb/KQGqAH/pl4OkuDGrDMAez2t0oPM7fkThqA1y+PvuJtajmvPhHwp6xSdWaX3yhhEp0nZ2lRLcj/JRYomMbI97FVOc4h2AQlY7niUz4ugLutekjWv5IiQOAm18Fc5G9TYazOmu1WqBhSQafDxH4PQlchf2kbfuCLWoQcW3SypATG5k4M7zDwH1MvH1x/YrrbVjN7a9PrhKD0VoekLR6SKFNngQDz+n/tMEGXmPLt5Q+mYODT0dCiOTX6JhE+W5WIaCApOScdeTZP5R4yvENv2tv2wr/IEFXpmKDLy8mkeUA+iRzRKzmXwxfYzAkNa0YB0/VYVd1ocB/IJRdqyXrT2FEQnZo1E9kB2xMHUX995dK8jnbTXhXgg/5YEauCpOTFohu7A3sFeLplRkBNApNOoBeO0WSaBE6FVXac1l9hIYsQstlulFOOAVulcb54Bf4NRFWoH97YOm8Y//k4FukF9ad/P1MJF3goLLRxF+bbtNs0d6iqCOpKPo X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c091e306-fdf4-4781-31ce-08db8d5dbdd3 X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB3213.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2023 22:23:16.1704 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: b3OFlcsRF5KhP/gjAZtyLZMVeGmI7i38zzpcZXPjQJFZsHgur2rGK9OMLkhF8t2K7PRCFCEwym5l1YvXCPSgXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB5699 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-25_12,2023-07-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 adultscore=0 phishscore=0 mlxlogscore=904 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307250192 X-Proofpoint-ORIG-GUID: dtwBwb4DFktzk0TrGO_CXf4AHs5AwzFO X-Proofpoint-GUID: dtwBwb4DFktzk0TrGO_CXf4AHs5AwzFO X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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: On 7/25/23 15:18, Jose E. Marchesi wrote: > > Hi David. > >> +<<<<<<< HEAD > > There is a merge problem there. Ugh, I swear I've fixed this twice now. Yet it keeps cropping up. Sorry. v2 shortly. > >> @opindex mbswap >> @item -mbswap >> Enable byte swap instructions. Enabled for CPU v4 and above. >> @@ -24715,6 +24716,12 @@ Enable byte swap instructions. Enabled for CPU v4 and above. >> @item -msdiv >> Enable signed division and modulus instructions. Enabled for CPU v4 >> and above. >> +======= >> +@opindex mv3-atomics >> +@item -mv3-atomics >> +Enable instructions for general atomic operations introduced in CPU v3. >> +Enabled for CPU v3 and above. >> +>>>>>>> 6de76bd11b6 (bpf: add v3 atomic instructions)