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 E0317A04AB; Wed, 6 Nov 2019 21:21:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4CDFE1D419; Wed, 6 Nov 2019 21:21:52 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id CEBF61E4E9 for ; Wed, 6 Nov 2019 21:21:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573071710; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uAETgGo1lpmBe4ekSIqwqQMYTqCEt4Gm6U0RKIHhVwE=; b=fqM41FHYhVaqBj8bgRBS2XEg5nC8uMTTMtIiGqIZen7skZT/nJ5uWSdwS9Ww/84P/K4Was 0Ndnbw87dQ+u3jZklMGDP65fMMLekWbEkwyXpw+WkVa5H/G6NdVRYiLXi/2AwH6wIfL1jy VfvQYIdYGpnuh6dayAB0Drb+wf/RuZI= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-242-PYCA5yLlM42ZsoVk5EqaSA-1; Wed, 06 Nov 2019 15:21:49 -0500 Received: by mail-ua1-f69.google.com with SMTP id r39so4493384uad.3 for ; Wed, 06 Nov 2019 12:21:49 -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=kFTyH3KD/BA3AH0U41hyo/cMfLfiTWdLTBbDxKSb+sE=; b=RkrFTaVhrWRfjOzhS2GVCVeVDUuOdgxqy8upflqwA4Rl9t+f2uD7TmnthCUDUgBWEf 2NOz7yhRKqngG+s7kQ9w5WjPRQ1ue4rSmJpNjAcFASewg4AjEUosmcfVZTVntefzI1Ao e5ubyDcXWsCB81CQxXqmxh7P8r7IWcLgPDY+BDa1IrJUEtkCFUKQRFja/vvLHi/RF2FO 4VD3vpc1Mq/LaMCvFW6tWO/NiUcZsEgnfxYVBoJOTtAg3r0Fu2RditERtafcGdyu/gQO ki/2Sukkz6hnKEGN1dLKIh/Sgc6/WX68P+JOfqOTazYEz4jmH8urYQthnz+aQCU8F6rC dnRg== X-Gm-Message-State: APjAAAUpvlvGZCa+hKc24sbymmuTwxHzomjnxa8NEKldxQEWi4ycYJY2 XK/k5kCrKw9GiZSZTHRo+6de6UgaE4Dz4K6WMSboFy5Jq+H4NUc6Z9uGJzxdcX2KbRD50PtzB3J Blvw52kJ3kJmCKYRXX9I= X-Received: by 2002:ab0:189a:: with SMTP id t26mr2386437uag.87.1573071708498; Wed, 06 Nov 2019 12:21:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwx9PaErXIJV83jmT1A3q9RHS7rx6inxLpcYlM5JlHPK4vUC6R+6OXyPkAXm6MSsQF4+6Vx7QcE+RJnJ0cg1AM= X-Received: by 2002:ab0:189a:: with SMTP id t26mr2386411uag.87.1573071708085; Wed, 06 Nov 2019 12:21:48 -0800 (PST) MIME-Version: 1.0 References: <20191018203041.22074-1-drc@linux.vnet.ibm.com> <20191106195724.129445-1-drc@linux.vnet.ibm.com> In-Reply-To: <20191106195724.129445-1-drc@linux.vnet.ibm.com> From: David Marchand Date: Wed, 6 Nov 2019 21:21:36 +0100 Message-ID: To: David Christensen Cc: dev X-MC-Unique: PYCA5yLlM42ZsoVk5EqaSA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v5] app/test: add tests for atomic exchanges 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 Wed, Nov 6, 2019 at 8:57 PM David Christensen w= rote: > @@ -459,9 +595,43 @@ test_atomic(void) > printf("128-bit compare and swap failed\n"); > return -1; > } > -#endif > > return 0; > } > +#endif > + > + /* > + * Test 16/32/64bit atomic exchange. > + */ > + test64_t t; We will have a build error here for arm and x86. --=20 David Marchand