comparison src/share/vm/c1/c1_InstructionPrinter.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 da91efe96a93
children 203f64878aab
comparison
equal deleted inserted replaced
6794:8ae8f9dd7099 6795:7eca5de9e0b6
829 output()->print(", value "); 829 output()->print(", value ");
830 print_value(x->value()); 830 print_value(x->value());
831 output()->put(')'); 831 output()->put(')');
832 } 832 }
833 833
834 void InstructionPrinter::do_UnsafeGetAndSetObject(UnsafeGetAndSetObject* x) {
835 print_unsafe_object_op(x, x->is_add()?"UnsafeGetAndSetObject (add)":"UnsafeGetAndSetObject");
836 output()->print(", value ");
837 print_value(x->value());
838 output()->put(')');
839 }
834 840
835 void InstructionPrinter::do_UnsafePrefetchRead(UnsafePrefetchRead* x) { 841 void InstructionPrinter::do_UnsafePrefetchRead(UnsafePrefetchRead* x) {
836 print_unsafe_object_op(x, "UnsafePrefetchRead"); 842 print_unsafe_object_op(x, "UnsafePrefetchRead");
837 output()->put(')'); 843 output()->put(')');
838 } 844 }