8075324: Costs of memory operands in aarch64.ad are inconsistent
authorthartmann
Mon, 23 Mar 2015 10:13:18 +0100
changeset 30193 9bebcd39ab1f
parent 30192 87a5d3461a1e
child 30194 bec4681af8cb
8075324: Costs of memory operands in aarch64.ad are inconsistent Summary: Made cost of 'indOffI' consistent to the other memory operands. Reviewed-by: roland, aph, adinn
hotspot/src/cpu/aarch64/vm/aarch64.ad
--- a/hotspot/src/cpu/aarch64/vm/aarch64.ad	Sat Mar 21 21:47:49 2015 +0300
+++ b/hotspot/src/cpu/aarch64/vm/aarch64.ad	Mon Mar 23 10:13:18 2015 +0100
@@ -4324,7 +4324,7 @@
 %{
   constraint(ALLOC_IN_RC(ptr_reg));
   match(AddP reg off);
-  op_cost(INSN_COST);
+  op_cost(0);
   format %{ "[$reg, $off]" %}
   interface(MEMORY_INTER) %{
     base($reg);