Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/assembler_sparc.hpp @ 986:62001a362ce9
6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2
Summary: Modify String intrinsic methods to pass char[] pointers instead of string oops.
Reviewed-by: never
author | kvn |
---|---|
date | Mon, 14 Sep 2009 12:14:20 -0700 |
parents | 6b2273dd6fa9 |
children | dcf03e02b020 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/assembler_sparc.hpp Mon Sep 14 09:49:54 2009 -0700 +++ b/src/cpu/sparc/vm/assembler_sparc.hpp Mon Sep 14 12:14:20 2009 -0700 @@ -2455,6 +2455,11 @@ void inc_counter(address counter_addr, Register Rtmp1, Register Rtmp2); void inc_counter(int* counter_addr, Register Rtmp1, Register Rtmp2); + // Compare char[] arrays aligned to 4 bytes. + void char_arrays_equals(Register ary1, Register ary2, + Register limit, Register result, + Register chr1, Register chr2, Label& Ldone); + #undef VIRTUAL };