From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E9FEA04E7; Sun, 15 Nov 2020 16:59:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72ACFC8F4; Sun, 15 Nov 2020 16:59:30 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 52D71C8F4 for ; Sun, 15 Nov 2020 16:59:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605455965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u+NFGzupErVmexh0pf6qwG4Z9Aj8MrorxHyhCOEoprY=; b=e2zDOrW0PzzQHvvNTXcAybYYQ3oXe3/bH7ijV3L5s4+/y09JuDFoUS9j8ld+8VqPNK250F CAbTyy65I7oVjk7Vsw6JI8Jg4VCxGW0YvRkuhWX37aTo1RUtK9G48aX/MPK43MrWTLk7SY 7Pud3QP7ERF5r5+X+rtSpMd/H6Xr8gg= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-286-vsa55Dc4M_ql53xQYSEABw-1; Sun, 15 Nov 2020 10:59:24 -0500 X-MC-Unique: vsa55Dc4M_ql53xQYSEABw-1 Received: by mail-vk1-f199.google.com with SMTP id t127so4801445vkf.20 for ; Sun, 15 Nov 2020 07:59:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u+NFGzupErVmexh0pf6qwG4Z9Aj8MrorxHyhCOEoprY=; b=WHo4TwzO7APWD8X59PcqNCTZQX2QXCMWDfiLkvNEFLiSM2tJcTVPSu+UyfPv/WdbU5 xB8tZnN+pfdYaiUX/5ceowL9Ra2iySalbPwA6jqtxMBzszmYkUCKuhaRSRnt1o8GctGl Az6qcbgVvvp2gZBS1/vIFM64dbVpKcsifuRjiJ35861pO0PQTV0o7FJGdgy8BKAvRA5r dSDm7PKFpkfyFkIGKoDphufu2jAptCUJwWheRmI18KGJCcej8QADAQmYPuB5lx5JTbAR wW5+FqPORcSYw8c1cLIZft2JN4OF4iBkAQrF4zILaJsCgj0TtHsHhtGHmhj1Wh0mhPmG WhiQ== X-Gm-Message-State: AOAM533Rzc+N3zBOUIzg5IOeeHw0mCAEsqXS0dKjP4oUstGTby5CIo94 oY8Wx/inl626cN/OOL1reiK9HXtEcvB6BJD2gpx43KSPC9uX57n8DEYJsVFLaul2y7p/uGpAJsB 2p0VqewRBNWt4M1PO0Lw= X-Received: by 2002:a67:f8c5:: with SMTP id c5mr6356896vsp.18.1605455963824; Sun, 15 Nov 2020 07:59:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEhBJlsHXN2NdY+yW+01/jNxyoomly1THf4FxD+60dg9ypvQBe0jHorQF4X6/4D70MNYS8Z0qa6eUtXmnCDO4= X-Received: by 2002:a67:f8c5:: with SMTP id c5mr6356894vsp.18.1605455963673; Sun, 15 Nov 2020 07:59:23 -0800 (PST) MIME-Version: 1.0 References: <20201112145013.21778-1-cristian.dumitrescu@intel.com> In-Reply-To: <20201112145013.21778-1-cristian.dumitrescu@intel.com> From: David Marchand Date: Sun, 15 Nov 2020 16:59:12 +0100 Message-ID: To: Cristian Dumitrescu Cc: dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] pipeline: fix multiple emit pattern detection X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Nov 12, 2020 at 3:50 PM Cristian Dumitrescu wrote: > > Fix the detection of instruction pattern with multiple emits followed > by TX. Once detected, this is one of the instruction patterns that is > internally replaced with a single optimized instruction, as long as > none of the instructions to be replaced is referenced by a jump > instruction. The fix enforces this check for the TX instruction of > the pattern. > > Fixes: 31035e87b207 ("pipeline: add SWX instruction optimizer") > > Signed-off-by: Cristian Dumitrescu Applied, thanks. -- David Marchand