diff options
author | 2016-03-04 12:08:31 -0800 | |
---|---|---|
committer | 2016-03-07 14:27:58 -0800 | |
commit | 0e54c0160c84894696c05af6cad9eae3690f9496 (patch) | |
tree | fc0915613a2f3ce67d13013997049da71afe8e2a /compiler/optimizing/intrinsics_arm.cc | |
parent | 35e0cbce516db91aaa77bfc39f797d9848a091c0 (diff) |
Unsafe: Recognize intrinsics for 1.8 java.util.concurrent
With unit test.
Rationale:
Recognizing the 1.8 methods as intrinsics is the first step
towards providing efficient implementation on all architectures.
Where not implemented (everywhere for now), the methods fall back
to the JNI native or reference implementation.
NOTE: needs iam's CL first!
bug=26264765
Change-Id: Ife65e81689821a16cbcdd2bb2d35641c6de6aeb6
Diffstat (limited to 'compiler/optimizing/intrinsics_arm.cc')
-rw-r--r-- | compiler/optimizing/intrinsics_arm.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsics_arm.cc b/compiler/optimizing/intrinsics_arm.cc index 69c970852d..b599d42c4b 100644 --- a/compiler/optimizing/intrinsics_arm.cc +++ b/compiler/optimizing/intrinsics_arm.cc @@ -2002,6 +2002,16 @@ UNIMPLEMENTED_INTRINSIC(ARM, LongHighestOneBit) UNIMPLEMENTED_INTRINSIC(ARM, IntegerLowestOneBit) UNIMPLEMENTED_INTRINSIC(ARM, LongLowestOneBit) +// 1.8. +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeGetAndAddInt) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeGetAndAddLong) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeGetAndSetInt) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeGetAndSetLong) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeGetAndSetObject) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeLoadFence) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeStoreFence) +UNIMPLEMENTED_INTRINSIC(ARM, UnsafeFullFence) + UNREACHABLE_INTRINSICS(ARM) #undef __ |