hotspot/src/cpu/ppc/vm/ppc.ad
changeset 23492 af5352f40e65
parent 23211 954e3a81da29
child 23498 a0e67b766e5c
equal deleted inserted replaced
23491:f690330b10b9 23492:af5352f40e65
  8753 %}
  8753 %}
  8754 
  8754 
  8755 // Single-precision sqrt.
  8755 // Single-precision sqrt.
  8756 instruct sqrtF_reg(regF dst, regF src) %{
  8756 instruct sqrtF_reg(regF dst, regF src) %{
  8757   match(Set dst (ConvD2F (SqrtD (ConvF2D src))));
  8757   match(Set dst (ConvD2F (SqrtD (ConvF2D src))));
       
  8758   predicate(VM_Version::has_fsqrts());
  8758   ins_cost(DEFAULT_COST);
  8759   ins_cost(DEFAULT_COST);
  8759 
  8760 
  8760   format %{ "FSQRTS  $dst, $src" %}
  8761   format %{ "FSQRTS  $dst, $src" %}
  8761   size(4);
  8762   size(4);
  8762   ins_encode %{
  8763   ins_encode %{
 11548 
 11549 
 11549   // It caused problems to add the effect that r0 is killed, but this
 11550   // It caused problems to add the effect that r0 is killed, but this
 11550   // effect no longer needs to be mentioned, since r0 is not contained
 11551   // effect no longer needs to be mentioned, since r0 is not contained
 11551   // in a reg_class.
 11552   // in a reg_class.
 11552 
 11553 
 11553   format %{ "LD      R12, addr of polling page\n\t"
 11554   format %{ "LD      R0, #0, R12 \t// Safepoint poll for GC" %}
 11554             "LD      R0, #0, R12 \t// Safepoint poll for GC" %}
       
 11555   ins_encode( enc_poll(0x0, poll) );
 11555   ins_encode( enc_poll(0x0, poll) );
 11556   ins_pipe(pipe_class_default);
 11556   ins_pipe(pipe_class_default);
 11557 %}
 11557 %}
 11558 
 11558 
 11559 // ============================================================================
 11559 // ============================================================================