From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 77284C5CC for ; Sun, 28 Jun 2015 21:39:24 +0200 (CEST) Received: by wicnd19 with SMTP id nd19so82324302wic.1 for ; Sun, 28 Jun 2015 12:39:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=k5aOrHz/NMvQejJlLZFhQsiHqeAHVqgvaHem85TWm6g=; b=QCXDAMJcFUaKOq0LfQitqstljafDrIpV5A4KT3yiJgUu8FpuBCH3NaEyjXlaWjP06Q MWufJm5TjdFgVlBMP9tKzsyNqSioZ/9214lA1aDXz5PBtEcuv7XJFOHgUvT/Xc6DwIiu dnmqVdtYQnATGfrgDOO5eC/Bukkr6bFNFTCX0jiRi1NY/WudvADd0iD/s4tlZ9cyo+sq o3ufNUUpJJc9+7shxpjFfZxOc2iRY0pV1NadtVa3qrS1YEJCZNwph15mQDKmzsRajw4Y BhPqpxjVDo1/2SIOLFqUF54swqztZSJnBBtvmuf13IwTsIPNqyUOxnV0ICdeSDR4j+hv qSSw== X-Gm-Message-State: ALoCoQkwLrmPTfjX3FATjKm5+vPTFFO6aUKMQjQvlY5/QfB1xTUf8zR4hXn67jXNd6cE29m1ryMU X-Received: by 10.194.250.72 with SMTP id za8mr1689503wjc.63.1435520364325; Sun, 28 Jun 2015 12:39:24 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id d3sm8667825wic.1.2015.06.28.12.39.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Jun 2015 12:39:23 -0700 (PDT) From: Thomas Monjalon To: Matthew Hall Date: Sun, 28 Jun 2015 21:38:14 +0200 Message-ID: <39879033.dIVnPGkh8l@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <038E8439-A99C-40BB-9A77-B20024E4111F@mhcomputing.net> References: <1A87AD2E-38CD-4C61-A9FD-C52608FF9DAC@mhcomputing.net> <038E8439-A99C-40BB-9A77-B20024E4111F@mhcomputing.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] RTM instruction compile failure for XABORT when AVX is active X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 19:39:24 -0000 2015-06-28 10:59, Matthew Hall: > It would appear there is some bug in the new lock elision patches that is preventing it from compiling with clang. Any suggestions? It builds with clang. My suggestion is to add the patch author in recipient's list ;) > On Jun 28, 2015, at 10:16 AM, Matthew Hall wrote: > > > Hi all, > > > > I am getting a strange error compiling some RTM instructions when I upgraded my VM environment from VirtualBox 4 to VirtualBox 5 and AVX instructions from the host CPU became available. However when I am reading the opcode description for XABORT it supposedly allows an immediate operand for the argument so I can't understand why this code would not compile. Any advice? > > > > CC test_hash_scaling.o > > In file included from /vagrant/external/dpdk/app/test/test_hash_scaling.c:37: > > In file included from /vagrant/external/dpdk/build/include/rte_spinlock.h:42: > > /vagrant/external/dpdk/build/include/rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i' > > asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); > > > > Matthew. >