Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668738

Re: [PATCH v1 1/2] perf report: Check for fused instruction pair

From "Jin, Yao" <yao.jin@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 1/2] perf report: Check for fused instruction pair
Date 2017-06-19 05:00 +0200
Message-ID <tTV4Z-5au-5@gated-at.bofh.it> (permalink)
References <tS6Hf-7QQ-7@gated-at.bofh.it> <tS6Hf-7QQ-5@gated-at.bofh.it> <tT2id-2u9-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 6/17/2017 12:21 AM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 14, 2017 at 10:53:40AM +0800, Jin Yao escreveu:
>> Macro fusion merges two instructions to a single micro-op. Intel
>> core platform performs this hardware optimization under limited
>> circumstances. For example, CMP + JCC can be "fused" and executed
>> /retired together. While with sampling this can result in the
>> sample sometimes being on the JCC and sometimes on the CMP.
>> So for the fused instruction pair, they could be considered
>> together.
> doing it as a weak function that will be overriden by the host arch
> doesn't work, as we also support cross-annotation. So you have to take
> into account perf_evsel__env_arch(evsel), etc.
>
> Please search for perf_evsel__env_arch(evsel) in the annotation source
> files to see how it is used.
>
> - Arnaldo
>   
Hi Arnaldo,

Thanks so much for pointing out that the weak function doesn't work.

I have changed it to arch-specific function and just send out v2 series 
for reviewing.

Thanks
Jin Yao

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v1 1/2] perf report: Check for fused instruction pair Jin Yao <yao.jin@linux.intel.com> - 2017-06-14 05:00 +0200
  Re: [PATCH v1 1/2] perf report: Check for fused instruction pair Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-06-16 18:30 +0200
    Re: [PATCH v1 1/2] perf report: Check for fused instruction pair "Jin, Yao" <yao.jin@linux.intel.com> - 2017-06-19 05:00 +0200

csiph-web