Lines Matching refs:o4
212 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
213 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
224 andn %o2, %o3, %o4 ! clear target bits
225 or %o4, %o5, %o5 ! insert the new value
284 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
285 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
286 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
289 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
298 andn %o2, %o3, %o4 ! clear target bits
299 or %o4, %o5, %o5 ! insert the new value
358 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
370 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, add32, 0b)
423 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
435 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, add64, 0b)
453 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
454 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
487 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
488 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
489 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
492 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
523 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
535 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, or32, 0b)
551 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
563 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, or64, 0b)
579 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
580 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
613 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
614 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
615 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
618 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
649 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
661 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, and32, 0b)
677 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
689 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, and64, 0b)
697 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
698 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
707 ld [%o0], %o4 ! read old value
709 andn %o4, %o3, %o4 ! clear target bits
710 or %o4, %o2, %o5 ! insert the new value
711 or %o4, %o1, %o4 ! insert the comparison value
712 cas [%o0], %o4, %o5
713 cmp %o4, %o5 ! did we succeed?
715 and %o5, %o3, %o4 ! isolate the old value
716 cmp %o1, %o4 ! should we have succeeded?
718 mov %o5, %o4 ! %o4 = old value
721 srl %o4, %g1, %o0 ! %o0 = old value
727 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
728 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
729 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
732 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
739 ld [%o0], %o4 ! read old value
741 andn %o4, %o3, %o4 ! clear target bits
742 or %o4, %o2, %o5 ! insert the new value
743 or %o4, %o1, %o4 ! insert the comparison value
744 cas [%o0], %o4, %o5
745 cmp %o4, %o5 ! did we succeed?
747 and %o5, %o3, %o4 ! isolate the old value
748 cmp %o1, %o4 ! should we have succeeded?
750 mov %o5, %o4 ! %o4 = old value
753 srl %o4, %g1, %o0 ! %o0 = old value
777 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
778 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
801 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
802 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
803 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
806 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
827 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
839 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, swap32, 0b)
846 ATOMIC_BACKOFF_INIT(%o4, %g4, %g5)
858 ATOMIC_BACKOFF_BACKOFF(%o4, %o5, %g4, %g5, swap64, 0b)
873 or %o2, %o3, %o4 ! set the bit, and try to commit it
874 casn [%o0], %o2, %o4
875 cmp %o2, %o4
877 mov %o4, %o2
896 andn %o2, %o3, %o4 ! clear the bit, and try to commit it
897 casn [%o0], %o2, %o4
898 cmp %o2, %o4
900 mov %o4, %o2