Mercurial > hg > truffle
comparison src/cpu/ppc/vm/ppc.ad @ 17807:71a71b0bc844
8037915: PPC64/AIX: Several smaller fixes
Reviewed-by: kvn
author | goetz |
---|---|
date | Thu, 20 Mar 2014 11:03:06 +0100 |
parents | 31e80afe3fed |
children | a433eb716ce1 |
comparison
equal
deleted
inserted
replaced
17806:9200402b42d5 | 17807:71a71b0bc844 |
---|---|
8775 %} | 8775 %} |
8776 | 8776 |
8777 // Single-precision sqrt. | 8777 // Single-precision sqrt. |
8778 instruct sqrtF_reg(regF dst, regF src) %{ | 8778 instruct sqrtF_reg(regF dst, regF src) %{ |
8779 match(Set dst (ConvD2F (SqrtD (ConvF2D src)))); | 8779 match(Set dst (ConvD2F (SqrtD (ConvF2D src)))); |
8780 predicate(VM_Version::has_fsqrts()); | |
8780 ins_cost(DEFAULT_COST); | 8781 ins_cost(DEFAULT_COST); |
8781 | 8782 |
8782 format %{ "FSQRTS $dst, $src" %} | 8783 format %{ "FSQRTS $dst, $src" %} |
8783 size(4); | 8784 size(4); |
8784 ins_encode %{ | 8785 ins_encode %{ |
11570 | 11571 |
11571 // It caused problems to add the effect that r0 is killed, but this | 11572 // It caused problems to add the effect that r0 is killed, but this |
11572 // effect no longer needs to be mentioned, since r0 is not contained | 11573 // effect no longer needs to be mentioned, since r0 is not contained |
11573 // in a reg_class. | 11574 // in a reg_class. |
11574 | 11575 |
11575 format %{ "LD R12, addr of polling page\n\t" | 11576 format %{ "LD R0, #0, R12 \t// Safepoint poll for GC" %} |
11576 "LD R0, #0, R12 \t// Safepoint poll for GC" %} | |
11577 ins_encode( enc_poll(0x0, poll) ); | 11577 ins_encode( enc_poll(0x0, poll) ); |
11578 ins_pipe(pipe_class_default); | 11578 ins_pipe(pipe_class_default); |
11579 %} | 11579 %} |
11580 | 11580 |
11581 // ============================================================================ | 11581 // ============================================================================ |