From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752681AbcGTIfB (ORCPT ); Wed, 20 Jul 2016 04:35:01 -0400 Received: from mga03.intel.com ([134.134.136.65]:62671 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbcGTIe5 (ORCPT ); Wed, 20 Jul 2016 04:34:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,393,1464678000"; d="scan'208";a="849755545" From: Adrian Hunter To: linux-kernel@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Dan Williams , Masami Hiramatsu , Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Andy Lutomirski , X86 ML Subject: [PATCH V2 0/4] x86/insn: perf tools: Add AVX-512 support to the instruction decoder Date: Wed, 20 Jul 2016 11:30:33 +0300 Message-Id: <1469003437-32706-1-git-send-email-adrian.hunter@intel.com> X-Mailer: git-send-email 1.9.1 Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Here are patches to add support for Intel's AVX-512 instructions to the instruction decoder. Also there is a patch to fix vcvtph2ps. AVX-512 instructions are documented in Intel Architecture Instruction Set Extensions Programming Reference (February 2016). These patches do not conflict with Dan's removal of pcommit. Changes in V2: Split patches: separate out perf tools and new instructions test. Amend decription of 'evo' annotation in x86-opcode-map.txt Adrian Hunter (4): x86/insn: perf tools: Fix vcvtph2ps instruction decoding x86/insn: Add AVX-512 support to the instruction decoder perf tools: Add AVX-512 support to the instruction decoder used by Intel PT perf tools: Add AVX-512 instructions to the new instructions test arch/x86/include/asm/inat.h | 17 +- arch/x86/include/asm/insn.h | 12 +- arch/x86/lib/insn.c | 18 +- arch/x86/lib/x86-opcode-map.txt | 263 ++- arch/x86/tools/gen-insn-attr-x86.awk | 11 +- tools/perf/arch/x86/tests/insn-x86-dat-32.c | 1018 ++++++++++- tools/perf/arch/x86/tests/insn-x86-dat-64.c | 940 +++++++++- tools/perf/arch/x86/tests/insn-x86-dat-src.c | 1789 ++++++++++++++++++++ .../util/intel-pt-decoder/gen-insn-attr-x86.awk | 11 +- tools/perf/util/intel-pt-decoder/inat.h | 17 +- tools/perf/util/intel-pt-decoder/insn.c | 18 +- tools/perf/util/intel-pt-decoder/insn.h | 12 +- .../perf/util/intel-pt-decoder/x86-opcode-map.txt | 263 ++- 13 files changed, 4179 insertions(+), 210 deletions(-) Regards Adrian