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

123456

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/x86_64/
H A Dchkstk2.S9 // _chkstk (_alloca) routine - probe stack between %rsp and (%rsp-%rax) in 4k increments,
10 // then decrement %rsp by %rax. Preserves all registers except %rsp and flags.
17 mov %rcx,%rax // x64 _alloca is a normal function with parameter in rcx
21 cmp $0x1000,%rax
27 sub $0x1000,%rax
28 cmp $0x1000,%rax
31 sub %rax,%rcx
34 lea 8(%rsp),%rax // load pointer to the return address into rax
36 mov -8(%rax),
[all...]
H A Dchkstk.S13 // themselves. It also does not clobber %rax so we can reuse it when
22 push %rax
23 cmp $0x1000,%rax
29 sub $0x1000,%rax
30 cmp $0x1000,%rax
33 sub %rax,%rcx
35 pop %rax
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_vfork_x86_64.inc.S14 mov %rdi, (%rax)
20 push %rax
22 mov (%rax), %rdx
24 mov (%rsp), %rax
26 // Call handle_vfork in the parent process (%rax != 0).
27 test %rax, %rax
34 pop %rax
/freebsd-11-stable/lib/libc/amd64/gen/
H A D_setjmp.S50 movq %rdi,%rax
52 movq %rdx, 0(%rax) /* 0; retval */
53 movq %rbx, 8(%rax) /* 1; rbx */
54 movq %rsp,16(%rax) /* 2; rsp */
55 movq %rbp,24(%rax) /* 3; rbp */
56 movq %r12,32(%rax) /* 4; r12 */
57 movq %r13,40(%rax) /* 5; r13 */
58 movq %r14,48(%rax) /* 6; r14 */
59 movq %r15,56(%rax) /* 7; r15 */
60 fnstcw 64(%rax) /*
[all...]
/freebsd-11-stable/stand/libsa/amd64/
H A D_setjmp.S50 movq %rdi,%rax
52 movq %rdx, 0(%rax) /* 0; retval */
53 movq %rbx, 8(%rax) /* 1; rbx */
54 movq %rsp,16(%rax) /* 2; rsp */
55 movq %rbp,24(%rax) /* 3; rbp */
56 movq %r12,32(%rax) /* 4; r12 */
57 movq %r13,40(%rax) /* 5; r13 */
58 movq %r14,48(%rax) /* 6; r14 */
59 movq %r15,56(%rax) /* 7; r15 */
60 fnstcw 64(%rax) /*
[all...]
/freebsd-11-stable/stand/efi/loader/arch/amd64/
H A Dexc.S39 pushq %rax
78 movq (6*8)(%rsp),%rax /* saved %rsp value, AKA old stack */
79 subq (5*8),%rax
81 movq %rdx,(%rax)
83 movq %rdx,(1*8)(%rax)
85 movq %rdx,(2*8)(%rax)
87 movq %rdx,(3*8)(%rax)
89 movq %rdx,(4*8)(%rax)
96 subq $16,%rax
99 movq %rdx,8(%rax)
[all...]
/freebsd-11-stable/sys/cddl/dev/dtrace/amd64/
H A Ddtrace_asm.S47 movq TF_RAX(%rsp),%rax; \
95 pushq %rax /* push temp */
96 movq 24(%rsp), %rax /* load calling RIP */
97 movq %rax, 8(%rsp) /* store calling RIP */
98 movq 32(%rsp), %rax /* load calling CS */
99 movq %rax, 16(%rsp) /* store calling CS */
100 movq 40(%rsp), %rax /* load calling RFLAGS */
101 movq %rax, 24(%rsp) /* store calling RFLAGS */
102 movq 48(%rsp), %rax /* load calling RSP */
103 subq $8, %rax /* mak
[all...]
/freebsd-11-stable/crypto/openssl/crypto/bn/asm/
H A Drsaz-x86_64.pl145 movq 8($inp), %rax
162 mov %rax, %rbp # 8($inp)
164 movq %rax, %r8
165 movq 16($inp), %rax
169 addq %rax, %r9
170 movq 24($inp), %rax
175 addq %rax, %r10
176 movq 32($inp), %rax
181 addq %rax, %r11
182 movq 40($inp), %rax
[all...]
H A Dx86_64-mont5.pl90 mov %rsp,%rax
138 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp
233 mov ($ap),%rax
240 mov %rax,$lo0
241 mov ($np),%rax
247 add %rax,$lo0 # discarded
248 mov 8($ap),%rax
257 add %rax,$hi1
258 mov ($ap,$j,8),%rax
268 add %rax,
[all...]
H A Dx86_64-mont.pl101 mov %rsp,%rax
154 mov %rax,8(%rsp,$num,8) # tp[num+1]=%rsp
162 mov ($ap),%rax
169 mov %rax,$lo0
170 mov ($np),%rax
176 add %rax,$lo0 # discarded
177 mov 8($ap),%rax
186 add %rax,$hi1
187 mov ($ap,$j,8),%rax
197 add %rax,
[all...]
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_support.s45 movq $VM_MAXUSER_ADDRESS-4,%rax
46 cmpq %rax,%rsi
51 movq %rax,PCB_ONFAULT(%r8)
58 movq $VM_MAXUSER_ADDRESS-4,%rax
59 cmpq %rax,%rsi
67 movq %rax,PCB_ONFAULT(%r8)
74 movq $VM_MAXUSER_ADDRESS-4,%rax
75 cmpq %rax,%rsi
87 movq %rax,PCB_ONFAULT(%r8)
94 movq $VM_MAXUSER_ADDRESS-4,%rax
[all...]
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux_support.s45 movq $VM_MAXUSER_ADDRESS-4,%rax
46 cmpq %rax,%rsi
51 movq %rax,PCB_ONFAULT(%r8)
58 movq $VM_MAXUSER_ADDRESS-4,%rax
59 cmpq %rax,%rsi
67 movq %rax,PCB_ONFAULT(%r8)
74 movq $VM_MAXUSER_ADDRESS-4,%rax
75 cmpq %rax,%rsi
87 movq %rax,PCB_ONFAULT(%r8)
94 movq $VM_MAXUSER_ADDRESS-4,%rax
[all...]
H A Dlinux_locore.s24 popq %rax
25 add $.startrtsigcode-.getip, %rax /* ret address */
26 pushq %rax
29 movq $LINUX_SYS_linux_rt_sigreturn,%rax /* linux_rt_sigreturn() */
36 movq $LINUX_SYS_linux_clock_gettime,%rax
43 movq $LINUX_SYS_linux_time,%rax
50 movq $LINUX_SYS_gettimeofday,%rax
57 movq $-38,%rax /* not implemented */
/freebsd-11-stable/secure/lib/libcrypto/amd64/
H A Drsaz-x86_64.S22 movq 8(%rsi),%rax
35 movq %rax,%rbp
37 movq %rax,%r8
38 movq 16(%rsi),%rax
42 addq %rax,%r9
43 movq 24(%rsi),%rax
48 addq %rax,%r10
49 movq 32(%rsi),%rax
54 addq %rax,%r11
55 movq 40(%rsi),%rax
[all...]
H A Dx86_64-mont.S12 movq %rsp,%rax
61 movq %rax,8(%rsp,%r9,8)
66 movq (%rsi),%rax
73 movq %rax,%r10
74 movq (%rcx),%rax
80 addq %rax,%r10
81 movq 8(%rsi),%rax
90 addq %rax,%r13
91 movq (%rsi,%r15,8),%rax
101 addq %rax,
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/arch/x86_64/
H A Dreturn_one.S8 movq $0x1, %rax
/freebsd-11-stable/lib/libc/amd64/sys/
H A Dbrk.S50 movq %rdi,%rax
53 cmpq %rax,(%rdx)
55 cmpq %rax,HIDENAME(minbrk)(%rip)
64 movq $SYS_break,%rax
67 movq 0(%rsp),%rax
70 movq %rax,(%rdx)
72 movq %rax,HIDENAME(curbrk)(%rip)
74 movq $0,%rax
/freebsd-11-stable/sys/amd64/amd64/
H A Dcpu_switch.S91 movq (%rsp),%rax /* Hardware registers */
99 movq %rax,PCB_RIP(%r8)
111 rdfsbase %rax
112 movq %rax,PCB_FSBASE(%r8)
120 orq %rdx,%rax
121 movq %rax,PCB_GSBASE(%r8)
203 movq PCPU(TSSP),%rax
207 cmpq %rax,%rdx
215 movq PCPU(PTI_RSP0),%rax
216 movq %rax,TSS_RSP
[all...]
H A Dsupport.S109 movq %rdi,%rax
110 subq %rsi,%rax
111 cmpq %rcx,%rax /* overlapping && src < dst? */
150 movq %rdi,%rax
168 movq $-PAGE_SIZE,%rax
169 movq %rax,%rdx
170 subq %rax,%rdi
171 subq %rax,%rsi
173 prefetchnta (%rdi,%rax)
174 addq $64,%rax
[all...]
/freebsd-11-stable/sys/amd64/vmm/amd/
H A Dsvm_support.S71 /* Save the physical address of the VMCB in %rax */
72 movq %rdi, %rax
98 pop %rax /* pop guest context pointer from the stack */
103 movq %r8, SCTX_R8(%rax)
104 movq %r9, SCTX_R9(%rax)
105 movq %r10, SCTX_R10(%rax)
106 movq %r11, SCTX_R11(%rax)
107 movq %r12, SCTX_R12(%rax)
108 movq %r13, SCTX_R13(%rax)
109 movq %r14, SCTX_R14(%rax)
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_x86_64.S34 movq %rax, 88(%rsp)
59 movq 88(%rsp), %rax
86 callq *%rax
110 movq ASM_SYMBOL(_ZN6__xray19XRayPatchedFunctionE)(%rip), %rax
111 testq %rax, %rax
142 movq %rax, 8(%rsp)
144 movq ASM_SYMBOL(_ZN6__xray19XRayPatchedFunctionE)(%rip), %rax
145 testq %rax,%rax
[all...]
/freebsd-11-stable/lib/msun/amd64/
H A Ds_lrint.S35 cvtsd2si %xmm0, %rax
H A Ds_lrintf.S35 cvtss2si %xmm0, %rax
H A Ds_llrintl.S34 popq %rax
H A Ds_lrintl.S34 popq %rax

Completed in 358 milliseconds

123456