From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4C6BD2095D8F3 for ; Thu, 13 Jul 2017 09:16:08 -0700 (PDT) Received: by mail-it0-x231.google.com with SMTP id m84so50690520ita.0 for ; Thu, 13 Jul 2017 09:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=30MNgX/BMSgQXboDEaMUg4/qmxdbYZ5WDZ2LKINPxsU=; b=Jfa2ZZ8MVTjRLSqm6O6X5JYaUjuQNCNRTkyc4SQiT5Bkq5jfNi75D8cSOgppS5on3h jSIuAB+2ebzIGJ2mA1lmW0k7O4tECDeWyObcBsIt+pfTEd9IsOc4JqjUhdKX7NDwNKqY fUCtEJfeIl7UKGK5fy/Un8CF6JJ72A50iXfnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=30MNgX/BMSgQXboDEaMUg4/qmxdbYZ5WDZ2LKINPxsU=; b=q7qFpjcbCx8VZPOzHyaqibV3VD30agzoBZUro8DgLcQyeGMhuV56Su0tZI1NbKUY3U CLTddg+cTeycRnreFCQLtm1u5IX8OVGqNuGKYOeS1AFegxGS/5ZA+TGmkFJeuU+Q+tbv TffZNhUEhLj51rcm9wlETrnA1+5mOLPivR2UotOcTzZVfm9hNLfjyJEAC2uTugIAh8pp PNCcvQuAPrZUdiyby7iBsw80eKtTZKLKJX3fexwET9NT3MjdzlRraTK5kFD1f6SRt+Lt pByfS54g+nTKy5xk/G2aSr0G91eVLxtSypmdJ20SX5q5eSBc0c/uilt1UrNbC2ognDa3 02gg== X-Gm-Message-State: AIVw113uxPlFa29b/O2tWOvJx8nRUbW/sHkHBoKzR3X2z5UdPlJENKZ3 nU1YipDIW6jbKDki/SJ+mFRHRleajHwr X-Received: by 10.36.117.214 with SMTP id y205mr13352212itc.34.1499962675789; Thu, 13 Jul 2017 09:17:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.134.134 with HTTP; Thu, 13 Jul 2017 09:17:55 -0700 (PDT) In-Reply-To: References: <20170713124844.23556-1-ard.biesheuvel@linaro.org> <20170713124844.23556-2-ard.biesheuvel@linaro.org> <20170713141147.GD26676@bivouac.eciton.net> From: Ard Biesheuvel Date: Thu, 13 Jul 2017 17:17:55 +0100 Message-ID: To: Alexei Fedorov Cc: Leif Lindholm , "edk2-devel@lists.01.org" , "liming.gao@intel.com" , "yonghong.zhu@intel.com" , Evan Lloyd Subject: Re: [PATCH 2/2] BaseTools/tools_def AARCH64: avoid SIMD register in XIP code X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 16:16:08 -0000 Content-Type: text/plain; charset="UTF-8" On 13 July 2017 at 17:15, Alexei Fedorov wrote: > Hi, > > I've tried the patch & it turns out that options provided with > > DEFINE GCC_AARCH64_CC_XIPFLAGS = -mstrict-align -mgeneral-regs-only > > aren't picked when building library code with SIMD load/store instructions > still being generated. > > Please see the attached assembly generated file for > edk2\MdePkg\Library\UefiLib\UefiLibPrint.c. > What is wrong with SIMD registers being used in UefiLibPrint? The report was about code that runs with the MMU off, right?