Lines Matching refs:o3

94 	set	0xff, %o3		! %o3 = mask
95 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
97 and %o1, %o3, %o1 ! %o1 = single byte value
102 and %o5, %o3, %o5 ! clear other bits
103 andn %o2, %o3, %o4 ! clear target bits
110 and %o5, %o3, %o5
167 sethi %hi(0xffff0000), %o3 ! %o3 = mask
168 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
170 and %o1, %o3, %o1 ! %o1 = single short value
176 and %o5, %o3, %o5 ! clear other bits
177 andn %o2, %o3, %o4 ! clear target bits
184 and %o5, %o3, %o5
251 add %o2, %o1, %o3
252 cas [%o0], %o2, %o3
253 cmp %o2, %o3
255 mov %o3, %o2
307 add %o2, %o1, %o3
308 casx [%o0], %o2, %o3
309 cmp %o2, %o3
311 mov %o3, %o2
331 set 0xff, %o3 ! %o3 = mask
332 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
334 and %o1, %o3, %o1 ! %o1 = single byte value
344 and %o5, %o3, %o5
366 sethi %hi(0xffff0000), %o3 ! %o3 = mask
367 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
369 and %o1, %o3, %o1 ! %o1 = single short value
380 and %o5, %o3, %o5
402 or %o2, %o1, %o3
403 cas [%o0], %o2, %o3
404 cmp %o2, %o3
406 mov %o3, %o2
429 or %o2, %o1, %o3
430 casx [%o0], %o2, %o3
431 cmp %o2, %o3
433 mov %o3, %o2
453 set 0xff, %o3 ! %o3 = mask
454 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
456 orn %o1, %o3, %o1 ! all ones in other bytes
466 and %o5, %o3, %o5
488 sethi %hi(0xffff0000), %o3 ! %o3 = mask
489 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
491 orn %o1, %o3, %o1 ! all ones in the other half
502 and %o5, %o3, %o5
524 and %o2, %o1, %o3
525 cas [%o0], %o2, %o3
526 cmp %o2, %o3
528 mov %o3, %o2
551 and %o2, %o1, %o3
552 casx [%o0], %o2, %o3
553 cmp %o2, %o3
555 mov %o3, %o2
567 set 0xff, %o3 ! %o3 = mask
568 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
570 and %o1, %o3, %o1 ! %o1 = single byte value
572 and %o2, %o3, %o2 ! %o2 = single byte value
576 andn %o4, %o3, %o4 ! clear target bits
582 and %o5, %o3, %o4 ! isolate the old value
598 sethi %hi(0xffff0000), %o3 ! %o3 = mask
599 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
601 and %o1, %o3, %o1 ! %o1 = single short value
603 and %o2, %o3, %o2 ! %o2 = single short value
608 andn %o4, %o3, %o4 ! clear target bits
614 and %o5, %o3, %o4 ! isolate the old value
640 sllx %o3, 32, %o2 ! newval upper 32 in %o3, lower in %o4
654 set 0xff, %o3 ! %o3 = mask
655 sll %o3, %g1, %o3 ! %o3 = shifted to bit offset
657 and %o1, %o3, %o1 ! %o1 = single byte value
661 andn %o2, %o3, %o5 ! clear target bits
667 and %o5, %o3, %o5
679 sethi %hi(0xffff0000), %o3 ! %o3 = mask
680 srl %o3, %o4, %o3 ! %o3 = shifted to bit offset
682 and %o1, %o3, %o1 ! %o1 = single short value
687 andn %o2, %o3, %o5 ! clear target bits
693 and %o5, %o3, %o5
705 mov %o1, %o3
706 cas [%o0], %o2, %o3
707 cmp %o2, %o3
709 mov %o3, %o2
711 mov %o3, %o0
723 mov %o1, %o3
724 casx [%o0], %o2, %o3
725 cmp %o2, %o3
727 mov %o3, %o2
728 srl %o3, 0, %o1 ! return lower 32-bits in %o1
730 srlx %o3, 32, %o0 ! return upper 32-bits in %o0
734 mov 1, %o3
735 slln %o3, %o1, %o3
738 andcc %o2, %o3, %g0 ! test if the bit is set
741 or %o2, %o3, %o4 ! set the bit, and try to commit it
753 mov 1, %o3
754 slln %o3, %o1, %o3
757 andncc %o3, %o2, %g0 ! test if the bit is clear
760 andn %o2, %o3, %o4 ! clear the bit, and try to commit it