<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>Array reduction operations is implemented but are disabled in
      some settings. <br>
    </p>
    <p>See excellent blog post by Richard Startin:
      <a class="moz-txt-link-freetext" href="http://richardstartin.uk/tricking-java-into-adding-up-arrays-faster/">http://richardstartin.uk/tricking-java-into-adding-up-arrays-faster/</a></p>
    <p><a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8188313">https://bugs.openjdk.java.net/browse/JDK-8188313</a></p>
    <p><a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8078563">https://bugs.openjdk.java.net/browse/JDK-8078563</a><br>
    </p>
    <p>Regards,</p>
    <p>Nils Eliasosn<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2017-10-24 18:46, Ionut wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:354890084.3509873.1508863577533@mail.yahoo.com">
      <div style="color:#000; background-color:#fff;
        font-family:verdana, helvetica, sans-serif;font-size:13px">
        <div id="yui_3_16_0_ym19_1_1508863167124_2770"><span>Hello All,</span></div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770"><span><br>
          </span></div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770">   Meanwhile I
          tested two more other scenarios, as follows:</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">- a[i]
          = b[i] + c[i]                    // where a, b, c are arrays
          of ints</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">- a[i]
          = a[i] + <int_value>      // where
          <int_value>might be a constant, etc</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">In both
          cases they were vectorized, but my initial example (e.g.
          iterating through the array of ints and computing the sum of
          elements) is not ... which makes me think this case is
          currently not supported by JIT.</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">Could
          you please confirm this?</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">Regards</div>
        <div id="yui_3_16_0_ym19_1_1508863167124_2770" dir="ltr">Ionut</div>
        <div class="qtdSeparateBR"><br>
          <br>
        </div>
        <div class="yahoo_quoted" style="display: block;">
          <div style="font-family: verdana, helvetica, sans-serif;
            font-size: 13px;">
            <div style="font-family: HelveticaNeue, Helvetica Neue,
              Helvetica, Arial, Lucida Grande, sans-serif; font-size:
              16px;">
              <div dir="ltr"><font size="2" face="Arial"> On Tuesday,
                  October 24, 2017 12:24 PM, Ionut
                  <a class="moz-txt-link-rfc2396E" href="mailto:ionutb83@yahoo.com"><ionutb83@yahoo.com></a> wrote:<br>
                </font></div>
              <br>
              <br>
              <div class="y_msg_container">
                <div id="yiv6880943511">
                  <div>
                    <div
                      style="color:#000;background-color:#fff;font-family:verdana,
                      helvetica, sans-serif;font-size:13px;">
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span>Hi </span><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2913" style="">Nils,</span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
                          style=""><br clear="none">
                        </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4738" style=""> 
                          Thanks, it is clear. However, I have tried a
                          simple example (e.g. </span><span
                          id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4739"
                          style=""> </span><span
                          id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4740"
                          style="">just iterating through an array and
                          do the sum </span><span
                          id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4835"
                          style="">using JMH</span><span
                          id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4836"
                          style="">) on my x64 Linux and it seems to not
                          be vectorized ...  Below initial source code
                          and assembly. </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5741" style="">Could
                          you please provide me any hint, am I doing
                          something wrong?</span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
                          style=""><br clear="none">
                        </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5743" style=""><b
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5744">JDK
                            is 9.0.1</b></span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
                          style=""><br clear="none">
                        </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3441" style=""><b
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4031"><u
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4032">Source code:</u></b></span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
                          style=""><br clear="none">
                        </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5040"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5041" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@BenchmarkMode(Mode.AverageTime)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5042"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5043" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@OutputTimeUnit(TimeUnit.NANOSECONDS)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5044"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5045" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@Warmup(iterations
                          = 10, time = 1, timeUnit =
                          TimeUnit.NANOSECONDS)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5046"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5047" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@Measurement(iterations
                          = 10, time = 1, timeUnit =
                          TimeUnit.NANOSECONDS)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5048"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5049" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@Fork(value
                          = 3, jvmArgsAppend = {
                          "-XX:-TieredCompilation", "-Xbatch",
                          "-XX:+UseSuperWord" })</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5050"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5051" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">@State(Scope.Benchmark)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5052"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5053" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">public
                          class <u
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5481">Sum1ToNArray
                          </u>{</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4002"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4003" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">   
                          private int[] array;</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4004"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4005" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"><br
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4006"
                            clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5350"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5351" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">    public
                          static void main(String[] args) {</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5352"><span
                          style="color:rgb(68, 0, 98);">        Options
                          opt =</span><br clear="none">
                      </div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5366"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5367" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                            new OptionsBuilder()</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5368"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5369" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                               
                          .include(Sum1ToNArray.class.getSimpleName())</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5370"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5371" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                .build();</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5377"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5378" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          new Runner(opt).run();</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5379"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_5380" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">    }</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4004"><font
                          face="Helvetica Neue, Segoe UI, Helvetica,
                          Arial, Lucida Grande, sans-serif"
                          color="#440062"><br clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4007"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4008" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">   
                          @Setup(Level.Trial)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4009"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4010" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">    public
                          void setUp() {</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4011"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4012" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          this.array = new int[100_000_000];</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4013"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4014" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          for (int i = 0; i < array.length; i++)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4015"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4016" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                            array[i] = i + 1;</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4017"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4018" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">    }</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4017"><font
                          face="Helvetica Neue, Segoe UI, Helvetica,
                          Arial, Lucida Grande, sans-serif"
                          color="#440062"><br clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3837"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3838" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">   
                          @Benchmark</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3839"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4540" color="#440062"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3855" style="">   
                            public long hotMethod() {</span><br
                            clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3843"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3844" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          long sum = 0;</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3845"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3846" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          for (int i = 0; i < array.length; i++) {</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3847"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3848" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                            sum += array[i];</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3849"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3850" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">        }</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3851"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3852" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">       
                          return sum;</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3853"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3854" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">    }</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3853"><font
                          face="Helvetica Neue, Segoe UI, Helvetica,
                          Arial, Lucida Grande, sans-serif"
                          color="#440062">}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
                          style=""><br clear="none">
                        </span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_2844"><span
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4033" style=""><b
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4036"><u
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_4037">Assembly:</u></b></span></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3125"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3126" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif">....[Hottest Region
1]..............................................................................</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3127"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3128" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif">c2,
                          com.jpt.Sum1ToNArray::hotMethod, version 139
                          (63 bytes) </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3129"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3130" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif"><br
                            id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3131"
                            clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3132"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3133" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                     0x00007f7bf1bff0f9:
                          mov    r8d,r10d</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3134"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3135" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                     0x00007f7bf1bff0fc:
                          add    r8d,0xfffffff9</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3136"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3137" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                     0x00007f7bf1bff100:
                          mov    r11d,0x1</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3138"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3139" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                     0x00007f7bf1bff106:
                          cmp    r8d,0x1</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3140"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3141" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                             ╭    0x00007f7bf1bff10a:
                          jg     0x00007f7bf1bff114</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3142"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3143" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                             │      0x00007f7bf1bff10c:
                          mov    rax,rdx</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3144"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3145" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                             │╭   0x00007f7bf1bff10f:
                          jmp    0x00007f7bf1bff15d</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3146"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3147" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                             ││↗  0x00007f7bf1bff111:
                          mov    rdx,rax            ;*lload_1
                          {reexecute=0 rethrow=0 return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3148"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3149" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                             │││                       
                                                                       
                           ; - com.jpt.Sum1ToNArray::hotMethod@13 (line
                          53)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3150"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3151" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                            ↘││  0x00007f7bf1bff114:
                          movsxd rsi,DWORD PTR [r14+r11*4+0x10]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3152"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3153" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"> 11.08%   
                          8.55%    ││  0x00007f7bf1bff119: movsxd
                          rbp,DWORD PTR [r14+r11*4+0x14]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3154"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3155" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.30%   
                          0.17%     ││  0x00007f7bf1bff11e: movsxd
                          r13,DWORD PTR [r14+r11*4+0x18]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3156"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3157" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              ││  0x00007f7bf1bff123:
                          movsxd rax,DWORD PTR [r14+r11*4+0x2c]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3158"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3159" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  8.86%   
                          2.85%     ││  0x00007f7bf1bff128: movsxd
                          r9,DWORD PTR  [r14+r11*4+0x28]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3160"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3161" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"> 10.49% 
                           23.29%   ││  0x00007f7bf1bff12d: movsxd
                          rcx,DWORD PTR [r14+r11*4+0x24]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3162"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3163" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.38%   
                          0.45%     ││  0x00007f7bf1bff132: movsxd
                          rbx,DWORD PTR [r14+r11*4+0x20]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3164"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3165" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.03%   
                          0.06%     ││  0x00007f7bf1bff137: movsxd
                          rdi,DWORD PTR [r14+r11*4+0x1c]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3166"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3167" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.23%   
                          0.22%     ││  0x00007f7bf1bff13c: add   
                          rsi,rdx</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3168"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3169" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"> 10.58% 
                           18.59%   ││  0x00007f7bf1bff13f: add   
                          rbp,rsi</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3170"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3171" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.32%   
                          0.17%     ││  0x00007f7bf1bff142: add   
                          r13,rbp</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3172"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3173" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.05%   
                          0.04%     ││  0x00007f7bf1bff145: add   
                          rdi,r13</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3174"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3175" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"> 26.10% 
                           28.47%   ││  0x00007f7bf1bff148: add   
                          rbx,rdi</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3176"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3177" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  5.55%   
                          5.48%     ││  0x00007f7bf1bff14b: add   
                          rcx,rbx</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3178"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3179" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  5.66%   
                          1.32%     ││  0x00007f7bf1bff14e: add   
                          r9,rcx</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3180"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3181" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  7.85%   
                          3.11%     ││  0x00007f7bf1bff151: add   
                          rax,r9             ;*ladd {reexecute=0
                          rethrow=0 return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3182"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3183" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              ││                       
                                                                       ;
                          - com.jpt.Sum1ToNArray::hotMethod@21 (line 53)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3184"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3185" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062"> 10.19%   
                          5.67%    ││  0x00007f7bf1bff154: add   
                          r11d,0x8         ;*iinc {reexecute=0 rethrow=0
                          return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3186"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3187" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              ││                       
                                                                       
                          ; - com.jpt.Sum1ToNArray::hotMethod@23 (line
                          52)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3188"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3189" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">  0.38%   
                          0.12%     ││  0x00007f7bf1bff158: cmp   
                          r11d,r8d</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3190"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3191" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              │╰  0x00007f7bf1bff15b:
                          jl        0x00007f7bf1bff111  ;*if_icmpge
                          {reexecute=0 rethrow=0 return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3192"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3193" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              │                         
                                                                       
                                   ; -
                          com.jpt.Sum1ToNArray::hotMethod@10 (line 52)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3194"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3195" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                              ↘   0x00007f7bf1bff15d:
                          cmp    r11d,r10d</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3196"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3197" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                   0x00007f7bf1bff160:
                          jge       0x00007f7bf1bff174</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3198"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3199" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                   0x00007f7bf1bff162:
                          xchg    ax,ax                      ; *lload_1
                          {reexecute=0 rethrow=0 return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3200"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3201" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                                       
                                                                       
                                  ; - com.jpt.Sum1ToNArray::hotMethod@13
                          (line 53)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3202"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3203" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                    0x00007f7bf1bff164:
                          movsxd r8,DWORD PTR [r14+r11*4+0x10]</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3204"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3205" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                     0x00007f7bf1bff169:
                          add       rax,r8                    ;*ladd
                          {reexecute=0 rethrow=0 return_oop=0}</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3206"><font
id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3207" face="Helvetica
                          Neue, Segoe UI, Helvetica, Arial, Lucida
                          Grande, sans-serif" color="#440062">         
                                                                       
                                                                       
                                   ; -
                          com.jpt.Sum1ToNArray::hotMethod@21 (line 53)</font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3206"><font
                          face="Helvetica Neue, Segoe UI, Helvetica,
                          Arial, Lucida Grande, sans-serif"><br
                            clear="none">
                        </font></div>
                      <div dir="ltr"
                        id="yiv6880943511yui_3_16_0_ym19_1_1508840069830_3206"><font
                          face="Helvetica Neue, Segoe UI, Helvetica,
                          Arial, Lucida Grande, sans-serif">Regards</font></div>
                      <div class="yiv6880943511qtdSeparateBR"><br
                          clear="none">
                        <br clear="none">
                      </div>
                      <div class="yiv6880943511yqt7806456991"
                        id="yiv6880943511yqt64895">
                        <div class="yiv6880943511yahoo_quoted"
                          style="display:block;">
                          <div style="font-family:verdana, helvetica,
                            sans-serif;font-size:13px;">
                            <div style="font-family:HelveticaNeue,
                              Helvetica Neue, Helvetica, Arial, Lucida
                              Grande, sans-serif;font-size:16px;">
                              <div dir="ltr"><font size="2" face="Arial">
                                  On Tuesday, October 24, 2017 11:22 AM,
                                  Nils Eliasson
                                  <a class="moz-txt-link-rfc2396E" href="mailto:nils.eliasson@oracle.com"><nils.eliasson@oracle.com></a>
                                  wrote:<br clear="none">
                                </font></div>
                              <br clear="none">
                              <br clear="none">
                              <div class="yiv6880943511y_msg_container">
                                <div id="yiv6880943511">
                                  <div>
                                    <div>Hi Ionut,</div>
                                    <div>In this case x86 refers to both
                                      x86_32/ia32 and x86_64/amd64/x64.</div>
                                    <div>Regards,</div>
                                    <div>Nils Eliasson<br clear="none">
                                    </div>
                                    <br clear="none">
                                    <div
                                      class="yiv6880943511yqt6063919546"
                                      id="yiv6880943511yqt33043">
                                      <div
                                        class="yiv6880943511moz-cite-prefix">On
                                        2017-10-24 11:05, Ionut wrote:<br
                                          clear="none">
                                      </div>
                                      <blockquote type="cite">
                                        <div
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27502"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;">Hello
                                          All,</div>
                                        <div
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27503"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;"><br
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27504" style=""
                                            clear="none">
                                        </div>
                                        <div dir="ltr"
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27505"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;"> 
                                            I want to ask you about <a
                                            rel="nofollow" shape="rect"
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27506" target="_blank"
href="https://bugs.openjdk.java.net/browse/JDK-8129920"
                                            style="color:rgb(25, 106,
                                            212);"
                                            moz-do-not-send="true">https://bugs.openjdk.java.net/browse/JDK-8129920</a><b
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27507" style=""> -
                                            Vectorized loop unrolling </b>which
                                          says it is applicable <u
                                            id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27508"
                                            style="">only<span
                                              id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27509"
                                              style="color:rgb(51, 51,
                                              51);font-family:Arial,
                                              sans-serif;font-size:14px;"> </span></u><span
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27510"
                                            style="color:rgb(51, 51,
                                            51);font-family:Arial,
                                            sans-serif;font-size:14px;"><u
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27511" style="">for x86
                                              targets</u>. Do you plan
                                            to port this for x64 as
                                            well? Or I miss something
                                            here?</span></div>
                                        <div
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27512"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;"><br
id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27513" style=""
                                            clear="none">
                                        </div>
                                        <div
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27514"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;">Regards</div>
                                        <div dir="ltr"
                                          id="yiv6880943511yui_3_16_0_ym19_1_1508833319804_27515"
                                          style="font-family:verdana,
                                          helvetica,
                                          sans-serif;font-size:13px;">Ionut</div>
                                      </blockquote>
                                    </div>
                                    <br clear="none">
                                  </div>
                                </div>
                                <br clear="none">
                                <br clear="none">
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <br>
                <br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>