Searched refs:rax (Results 1 - 25 of 54) sorted by relevance

123

/osnet-11/usr/src/lib/libc/amd64/gen/
H A Dabs.s51 movq %rdi, %rax
52 testq %rax, %rax /* arg < 0? */
54 negq %rax /* yes, return -arg */
60 movq %rdi, %rax
61 testq %rax, %rax /* arg < 0? */
63 negq %rax /* yes, return -arg */
H A D_getsp.s31 leaq 8(%rsp), %rax
36 movq %rbp, %rax
H A Dwschr.s43 movq %rdi,%rax
45 movl (%rax),%edx / %edx = wchar of string
51 movl 4(%rax),%edx / %edx = wchar of string
57 movl 8(%rax),%edx / %edx = wchar of string
63 movl 12(%rax),%edx / %edx = wchar of string
66 addq $16,%rax
71 xorl %eax,%eax / %rax = NULL
75 addq $12,%rax
78 addq $8,%rax
81 addq $4,%rax
[all...]
H A Dsetjmp.s67 movq %fs:UL_SIGLINK, %rax
69 testq %rax, %rax /* are we in a signal handler? */
86 movq 48(%rdi), %rax /* test low-order bit in the saved %rsp */
87 testq $1, %rax
91 subq $1, %rax /* clear the flag bit */
92 1: movq %rax, %rsp
H A Dalloca.s35 movq %rsp, %rax /* pointer to new memory block */
H A Dbyteorder.s45 movq %rdi, %rax /* %rax = hll */
46 bswapq %rax /* reverses the byte order of %rax */
47 ret /* return (%rax) */
51 movq %rdi, %rax /* %rax = hll */
52 bswapq %rax /* reverses the byte order of %rax */
53 ret /* return (%rax) */
[all...]
H A Dwslen.s60 addq $4,%rax
66 incq %rax
72 addq $2,%rax
77 addq $3, %rax
H A Dmemcmp.s103 mov (%rsi), %rax
104 cmp (%rdi), %rax
138 mov (%rsi), %rax
142 sub (%rdi), %rax
147 or %rax, %r8
213 mov (%rsi), %rax
215 sub (%rdi), %rax
217 or %r8, %rax
225 or %r9, %rax
228 mov 32 (%rsi), %rax
[all...]
H A Dstrlen.s102 lea -16(%rdi, %rsi), %rax /* calculate exact offset */
104 lea (%rax, %rcx),%rax
112 lea -16(%rdi, %rsi), %rax
136 add $7, %rax
141 add $8, %rax
162 add $7, %rax
172 add $1, %rax
177 add $2, %rax
182 add $3, %rax
[all...]
/osnet-11/usr/src/lib/libc/amd64/unwind/
H A Dunwind_frame.s69 movq %rsi,%rax
70 movq 40(%rax),%rdi /* set handler parameters */
71 movq 32(%rax),%rsi
72 movq 8(%rax),%rdx
73 movq 16(%rax),%rcx
74 movq 24(%rax),%rbx /* restore preserved registers */
75 movq 96(%rax),%r12
76 movq 104(%rax),%r13
77 movq 112(%rax),%r14
78 movq 120(%rax),
[all...]
/osnet-11/usr/src/lib/libc/amd64/threads/
H A Dtls_get_addr.s55 movq %fs:UL_TLSENT, %rax
59 /* movq TLS_DATA (%rax,%rdx,SIZEOF_TLS_T), %rax */
61 movq TLS_DATA (%rax,%rdx), %rax
62 testq %rax, %rax
64 addq TI_TLSOFFSET (%rdi), %rax
H A Dasm_subr.s39 movq %rax, %rdi
141 xorq %rax, %rax
143 movq %rax, REGOFF(REG_CS) (%rsp)
146 movq %rax, REGOFF(REG_SS) (%rsp)
148 movq %rax, REGOFF(REG_FS) (%rsp)
150 movq %rax, REGOFF(REG_GS) (%rsp)
152 movq %rax, REGOFF(REG_ES) (%rsp)
154 movq %rax, REGOFF(REG_DS) (%rsp)
155 movq %fs:0, %rax
[all...]
/osnet-11/usr/src/lib/libc/amd64/sys/
H A D_lwp_mutex_unlock.s33 movq %rdi, %rax
34 addq $MUTEX_LOCK_WORD, %rax
36 xchgl (%rax), %ecx /* clear lock and get old lock into %ecx */
H A Dgetcontext.s60 movq offset+0(%rsp), %rax; \
62 movq %rax, RIP_OFF (%rdx); \
64 leaq offset+8(%rsp), %rax; \
66 movq %rax, RSP_OFF (%rdx); \
68 xorq %rax, %rax; /* return 0 */ \
69 movq %rax, RAX_OFF (%rdx); \
/osnet-11/usr/src/lib/libc/amd64/crt/
H A Dcerror.s38 pushq %rax
41 movl %edx, (%rax)
42 movq $-1, %rax
/osnet-11/usr/src/lib/brand/shared/brand/amd64/
H A Drunexe.s56 movq %rdi, %rax / %rax = &argv[0]
58 subq $8, %rax / Top of stack - must point at argc
59 movq %rax, %rsp / Set %rsp to what linkers expect
/osnet-11/usr/src/lib/c_synonyms/amd64/
H A Dsynonyms.s35 movq name@GOTPCREL(%rip), %rax; \
36 jmp *%rax; \
45 movq name@GOTPCREL(%rip), %rax; \
46 jmp *%rax; \
/osnet-11/usr/src/grub/grub2/grub-core/kern/x86_64/efi/
H A Dcallwrap.S87 mov 64+8(%rsp), %rax
88 mov %rax, 40(%rsp)
99 mov 96+16(%rsp), %rax
100 mov %rax, 48(%rsp)
101 mov 96+8(%rsp), %rax
102 mov %rax, 40(%rsp)
113 mov 96+40(%rsp), %rax
114 mov %rax, 72(%rsp)
115 mov 96+32(%rsp), %rax
116 mov %rax, 6
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/amd64/
H A Damd64.il36 movq %rdi, %rax
37 bswapq %rax
/osnet-11/usr/src/grub/grub2/grub-core/lib/x86_64/
H A Drelocator_asm.S25 /* mov imm32, %rax */
30 movq %rax, %rdi
32 /* mov imm64, %rax */
37 movq %rax, %rsi
61 /* mov imm64, %rax */
66 movq %rax, %rdi
68 /* mov imm64, %rax */
73 movq %rax, %rsi
/osnet-11/usr/src/grub/grub2/grub-core/tests/boot/
H A Dkfreebsd.init-x86_64.S39 movq $SYSCALL_OPEN, %rax
44 movq %rax, %rdi
48 movq $SYSCALL_WRITE, %rax
53 movq $SYSCALL_FSYNC, %rax
57 movq $SYSCALL_ARCH, %rax
81 movq $SYSCALL_RESET, %rax
86 movq $SYSCALL_EXIT, %rax
H A Dkbsd.init-x86_64.S45 movq $SYSCALL_OPEN, %rax
50 movq %rax, %rdi
53 movq $SYSCALL_WRITE, %rax
59 movq $SYSCALL_ARCH, %rax
83 movq $SYSCALL_RESET, %rax
89 movq $SYSCALL_EXIT, %rax
H A Dlinux.init-x86_64.S36 movq $SYSCALL_WRITE, %rax
42 movq $SYSCALL_IOPL, %rax
65 movq $SYSCALL_RESET, %rax
72 movq $SYSCALL_EXIT, %rax
/osnet-11/usr/src/lib/common/amd64/
H A Dcrt1.s125 movq $_DYNAMIC,%rax
126 testq %rax,%rax
138 movq 16(%rbp),%rax /* argc */
142 leaq 32(%rbp,%rax,8),%rcx /* (A) */
156 pushq %rax
164 pushq %rax
165 pushq %rax
166 movq %rax,%rdi /* and call exit */
H A Dgcrt1.s135 movq $_DYNAMIC,%rax
136 testq %rax,%rax
157 movq 16(%rbp),%rax /* argc */
161 leaq 32(%rbp,%rax,8),%rcx /* (A) */
175 pushq %rax
183 pushq %rax
184 pushq %rax
185 movq %rax,%rdi /* and call exit */

Completed in 63 milliseconds

123