Message ID | 20180228193125.20577-11-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp137096lja; Wed, 28 Feb 2018 11:42:46 -0800 (PST) X-Google-Smtp-Source: AG47ELtx49H2EjrbDO7LyZiM3sqPW1jhQZwrMCUmxY8qNLnT1F+LrS/u9UtcjIG1oOGb/oFa+/Ud X-Received: by 2002:a25:650b:: with SMTP id z11-v6mr13010905ybb.201.1519846966285; Wed, 28 Feb 2018 11:42:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519846966; cv=none; d=google.com; s=arc-20160816; b=p9j6GjfzU2ZP1jh9sGwRaQ42WgTzbz64UoDLKU4FD8RdytZSaXQRwFoaLo+baQk70b TbQES4i3v6XeND0KjcUHX2z9RVE8eHph4sbStiipwycRas7poVe7RThiDxKagnMFCaEu imVBYPAPw1Jyxy856+Ac2zvkH9Jlky89U7Q8ZanQrgULh0KYIw3tSIGd5lZpu6M/rlJ4 BkL2MPLCaE/yYOLelDkfe3XvUhUeM6mE6Ix+aJDPFldsEfN33fmoVSHbO6n+0+mFSsI5 Q5QxtvVQryGb5kpFbAROEuiBx2FmgymW+yB8q6bg+ieQneQ1jsMnwUihfZZ1LLjLl1UQ gUPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=6tTd5rziva4Db2NHAtyuaXfDAQYshirVeyQ6cgwAcZ8=; b=wr/7hty4gwjKvHm6FijGN821KUmyu9Uo+DqquHkBV9dX7fvBvaix2GUfzUX3CLfkxl q/X7zxI6Zv8Kr80uFsfZlSK/nN88yhL125wofVxCxFrp4lWFV7oYLOBvhB9ja7F11LAV XSGupj8Sed2Ohq1OWWzOsV7Vvk/gp1TDER9ooXDE9n21d0bIWKVeLFNKYqprX+ha6SjK B38aybpfK5ZqBjbcOvpQKqkvLSDVDPmg/++ReFrWLFK2UdV3Yo+c48axegDPcRbik/cH M7VeWAj2QaC8VbusjvIfPf3tymUl0+2Dd1npds22INgQqCPgtMljiTy6Y1DQKAJn0VHC 86JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RRvhdOoz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id q186-v6si385925ybq.239.2018.02.28.11.42.46 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 28 Feb 2018 11:42:46 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RRvhdOoz; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:46480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1er7cj-0003g0-ML for patch@linaro.org; Wed, 28 Feb 2018 14:42:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1er7S4-0003Q7-1D for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1er7S3-0006P5-D5 for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:44 -0500 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:40672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1er7S3-0006OR-6j for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:43 -0500 Received: by mail-pl0-x242.google.com with SMTP id i6-v6so2117587plt.7 for <qemu-devel@nongnu.org>; Wed, 28 Feb 2018 11:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6tTd5rziva4Db2NHAtyuaXfDAQYshirVeyQ6cgwAcZ8=; b=RRvhdOozlM03zEnuu9VLGuh/RV1VITf7TDFZ5ItXGNx56aWE7jGJ9diJPVoh93XENU eUoItbiuMA33+lKklK1FYoO6eeGgnr0N/Gwm15csaxPrtSRw55pZCUHvpkvwFuacyPax TifYfmbFviVAlJKUbgV8juOR1fRajqihjrWyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6tTd5rziva4Db2NHAtyuaXfDAQYshirVeyQ6cgwAcZ8=; b=sB2EyLGBjyUHV9iMK42kNhQDkgflZTMweWf4AYEpb2HknuLuaXTcBs372nPPj/g6GB 1xMTLZMG5Jh2Ogxv7MEiEbqLaCaEw1y3MRG/Lqvj1JUIWnWT7/yh5ik+2UBiKzsvaPO4 kS7yF76R5MA+pWV+0AObM81KvnWrYr03SegByvFpoK7IO4YqqcjcsvR/+GKJjw42/die 63phpRA3Ams4PO3+VAF3xmuA++qsHLoXOVleU1Glsvx3b2YyF06+zUfhxlaDOcUbdmY1 ZclZmbbLyxtWFyTBHvo5PRvA4sNa/bGbZJcEkfBBiKtDcERsvXenl/TeL1xQsm/wYDRb w0cg== X-Gm-Message-State: APf1xPBqLBQpSpRT4Wn7OFf50o9RJVAdHujTuYvN/qcDkdotcPnXEdUY zrbyYpo16lFxgplPRwQaOfQ66x4XiEg= X-Received: by 2002:a17:902:2e04:: with SMTP id q4-v6mr18904468plb.22.1519846301965; Wed, 28 Feb 2018 11:31:41 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-169-147.tukw.qwest.net. [97.113.169.147]) by smtp.gmail.com with ESMTPSA id k185sm4200212pgk.94.2018.02.28.11.31.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 11:31:41 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Wed, 28 Feb 2018 11:31:19 -0800 Message-Id: <20180228193125.20577-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180228193125.20577-1-richard.henderson@linaro.org> References: <20180228193125.20577-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::242 Subject: [Qemu-devel] [PATCH v3 10/16] target/arm: Add ARM_FEATURE_V8_FCMA X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
ARM v8.1 simd + v8.3 complex insns
|
expand
|
diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 7c8e87544a..f67f357724 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1429,6 +1429,7 @@ enum arm_features { ARM_FEATURE_V8_SM4, /* implements SM4 part of v8 Crypto Extensions */ ARM_FEATURE_V8_RDM, /* implements v8.1 simd round multiply */ ARM_FEATURE_V8_FP16, /* implements v8.2 half-precision float */ + ARM_FEATURE_V8_FCMA, /* has complex number part of v8.3 extensions. */ }; static inline int arm_feature(CPUARMState *env, int feature) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 63cadae1b4..3ead6ed807 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -552,6 +552,7 @@ static uint32_t get_elf_hwcap(void) GET_FEATURE(ARM_FEATURE_V8_SM4, ARM_HWCAP_A64_SM4); GET_FEATURE(ARM_FEATURE_V8_SHA512, ARM_HWCAP_A64_SHA512); GET_FEATURE(ARM_FEATURE_V8_RDM, ARM_HWCAP_A64_ASIMDRDM); + GET_FEATURE(ARM_FEATURE_V8_FCMA, ARM_HWCAP_A64_FCMA); #undef GET_FEATURE return hwcaps;