RFR: 8150229: aarch64: c2 fix pipeline class for several instructions.

Felix Yang felix.yang at linaro.org
Fri Feb 19 12:23:11 UTC 2016


Hi,

Please review the following webrev:

    http://cr.openjdk.java.net/~fyang/8150229/webrev.00/

Jira issue: *https://bugs.openjdk.java.net/browse/JDK-8150229
<https://bugs.openjdk.java.net/browse/JDK-8150229>*

The pipeline class for some instructions is not set correctly.  An example:

instruct MoveF2I_reg_reg(iRegINoSp dst, vRegF src) %{
  match(Set dst (MoveF2I src));
  effect(DEF dst, USE src);

  ins_cost(INSN_COST);
  format %{ "fmovs $dst, $src\t# MoveF2I_reg_reg" %}

  ins_encode %{
    __ fmovs($dst$$Register, as_FloatRegister($src$$reg));
  %}

  ins_pipe(pipe_class_memory);    =>    Should be "fp_f2i"
%}

Patch fixes this issue.  Tested with jtreg hotspot.  Please help
commit this patch if it's OK.

Thanks,
Felix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160219/1a3cb940/attachment.html>


More information about the hotspot-compiler-dev mailing list