Lines Matching refs:o4
91 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
92 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
103 andn %o2, %o3, %o4 ! clear target bits
104 or %o4, %o5, %o5 ! insert the new value
163 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
164 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
165 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
168 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
177 andn %o2, %o3, %o4 ! clear target bits
178 or %o4, %o5, %o5 ! insert the new value
328 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
329 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
362 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
363 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
364 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
367 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
450 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
451 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
484 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
485 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
486 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
489 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
564 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
565 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
574 ld [%o0], %o4 ! read old value
576 andn %o4, %o3, %o4 ! clear target bits
577 or %o4, %o2, %o5 ! insert the new value
578 or %o4, %o1, %o4 ! insert the comparison value
579 cas [%o0], %o4, %o5
580 cmp %o4, %o5 ! did we succeed?
582 and %o5, %o3, %o4 ! isolate the old value
583 cmp %o1, %o4 ! should we have succeeded?
585 mov %o5, %o4 ! %o4 = old value
588 srl %o4, %g1, %o0 ! %o0 = old value
594 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
595 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
596 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
599 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
606 ld [%o0], %o4 ! read old value
608 andn %o4, %o3, %o4 ! clear target bits
609 or %o4, %o2, %o5 ! insert the new value
610 or %o4, %o1, %o4 ! insert the comparison value
611 cas [%o0], %o4, %o5
612 cmp %o4, %o5 ! did we succeed?
614 and %o5, %o3, %o4 ! isolate the old value
615 cmp %o1, %o4 ! should we have succeeded?
617 mov %o5, %o4 ! %o4 = old value
620 srl %o4, %g1, %o0 ! %o0 = old value
640 sllx %o3, 32, %o2 ! newval upper 32 in %o3, lower in %o4
641 srl %o4, 0, %o4 ! setup %o2 to have newval
642 add %o2, %o4, %o2
651 and %o0, 0x3, %o4 ! %o4 = byte offset, left-to-right
652 xor %o4, 0x3, %g1 ! %g1 = byte offset, right-to-left
675 and %o0, 0x2, %o4 ! %o4 = byte offset, left-to-right
676 xor %o4, 0x2, %g1 ! %g1 = byte offset, right-to-left
677 sll %o4, 3, %o4 ! %o4 = bit offset, left-to-right
680 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
741 or %o2, %o3, %o4 ! set the bit, and try to commit it
742 casn [%o0], %o2, %o4
743 cmp %o2, %o4
745 mov %o4, %o2
760 andn %o2, %o3, %o4 ! clear the bit, and try to commit it
761 casn [%o0], %o2, %o4
762 cmp %o2, %o4
764 mov %o4, %o2