Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/compile.cpp @ 6795:7eca5de9e0b6
7023898: Intrinsify AtomicLongFieldUpdater.getAndIncrement()
Summary: use shorter instruction sequences for atomic add and atomic exchange when possible.
Reviewed-by: kvn, jrose
author | roland |
---|---|
date | Thu, 20 Sep 2012 16:49:17 +0200 |
parents | 137868b7aa6f |
children | e626685e9f6c |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp Wed Sep 19 16:50:26 2012 -0700 +++ b/src/share/vm/opto/compile.cpp Thu Sep 20 16:49:17 2012 +0200 @@ -2276,6 +2276,12 @@ case Op_CompareAndSwapL: case Op_CompareAndSwapP: case Op_CompareAndSwapN: + case Op_GetAndAddI: + case Op_GetAndAddL: + case Op_GetAndSetI: + case Op_GetAndSetL: + case Op_GetAndSetP: + case Op_GetAndSetN: case Op_StoreP: case Op_StoreN: case Op_LoadB: