Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/lcm.cpp @ 169:9148c65abefc
6695049: (coll) Create an x86 intrinsic for Arrays.equals
Summary: Intrinsify java/util/Arrays.equals(char[], char[])
Reviewed-by: kvn, never
author | rasbold |
---|---|
date | Thu, 29 May 2008 16:22:09 -0700 |
parents | c436414a719e |
children | d1605aabd0a1 6aae2f9d0294 |
comparison
equal
deleted
inserted
replaced
168:7793bd37a336 | 169:9148c65abefc |
---|---|
132 // If the value being nul-checked is in another slot, it means we | 132 // If the value being nul-checked is in another slot, it means we |
133 // are storing the checked value, which does NOT check the value! | 133 // are storing the checked value, which does NOT check the value! |
134 if( mach->in(2) != val ) continue; | 134 if( mach->in(2) != val ) continue; |
135 break; // Found a memory op? | 135 break; // Found a memory op? |
136 case Op_StrComp: | 136 case Op_StrComp: |
137 case Op_AryEq: | |
137 // Not a legit memory op for implicit null check regardless of | 138 // Not a legit memory op for implicit null check regardless of |
138 // embedded loads | 139 // embedded loads |
139 continue; | 140 continue; |
140 default: // Also check for embedded loads | 141 default: // Also check for embedded loads |
141 if( !mach->needs_anti_dependence_check() ) | 142 if( !mach->needs_anti_dependence_check() ) |