Mercurial > hg > truffle
diff src/cpu/x86/vm/x86_64.ad @ 6849:f6badecb7ea7
7199654: Remove LoadUI2LNode
Summary: Removed LoadUI2L node from Ideal nodes, use match rule in .ad files instead.
Reviewed-by: kvn
author | vlivanov |
---|---|
date | Tue, 09 Oct 2012 12:40:05 -0700 |
parents | 8e47bac5643a |
children | 00af3a3a8df4 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/x86_64.ad Tue Oct 09 10:11:38 2012 +0200 +++ b/src/cpu/x86/vm/x86_64.ad Tue Oct 09 12:40:05 2012 -0700 @@ -5200,9 +5200,9 @@ %} // Load Unsigned Integer into Long Register -instruct loadUI2L(rRegL dst, memory mem) -%{ - match(Set dst (LoadUI2L mem)); +instruct loadUI2L(rRegL dst, memory mem, immL_32bits mask) +%{ + match(Set dst (AndL (ConvI2L (LoadI mem)) mask)); ins_cost(125); format %{ "movl $dst, $mem\t# uint -> long" %}