Home
last modified time | relevance | path

Searched refs:rdi (Results 1 – 25 of 121) sorted by relevance

12345

/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxsave_asm64.S56 GET_FPU_XMM(%rdi, 0)
57 GET_FPU_XMM(%rdi, 1)
58 GET_FPU_XMM(%rdi, 2)
59 GET_FPU_XMM(%rdi, 3)
60 GET_FPU_XMM(%rdi, 4)
61 GET_FPU_XMM(%rdi, 5)
62 GET_FPU_XMM(%rdi, 6)
63 GET_FPU_XMM(%rdi, 7)
64 GET_FPU_XMM(%rdi, 8)
65 GET_FPU_XMM(%rdi, 9)
[all …]
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dmemset.S93 mov %rdi,%rax # memset returns the dest address
95 mov %sil,(%rdi)
107 add %r8,%rdi
277 L(P1QH): mov %rdx,-0x89(%rdi)
278 L(P1QG): mov %rdx,-0x81(%rdi)
280 L(P1QF): mov %rdx,-0x79(%rdi)
281 L(P1QE): mov %rdx,-0x71(%rdi)
282 L(P1QD): mov %rdx,-0x69(%rdi)
283 L(P1QC): mov %rdx,-0x61(%rdi)
284 L(P1QB): mov %rdx,-0x59(%rdi)
[all …]
H A Dmemcmp.S71 movzbl (%rdi), %eax
78 lea 1 (%rdi), %rdi
104 cmp (%rdi), %rax
111 lea 8 (%rdi), %rdi
142 sub (%rdi), %rax
143 sub 8 (%rdi), %r8
144 sub 16 (%rdi), %r9
145 sub 24 (%rdi), %r10
156 lea 32 (%rdi), %rdi
185 movzbl (%rdi), %eax
[all …]
H A Dsetjmp.S57 movq %rbx, 0(%rdi)
58 movq %r12, 8(%rdi)
59 movq %r13, 16(%rdi)
60 movq %r14, 24(%rdi)
61 movq %r15, 32(%rdi)
62 movq %rbp, 40(%rdi)
64 movq %rsp, 48(%rdi)
65 movq %rdx, 56(%rdi)
72 1: orq %rcx, 48(%rdi) /* low-order 1-bit flag in the saved %rsp */
79 movq 0(%rdi), %rbx
[all …]
H A Dstrcat.S63 movq %rdi,%rax / prepare return value
67 testq $7, %rdi / if %rdi not quadword aligned
71 movq (%rdi), %rdx / move 1 quadword from (%rdi) to %rdx
74 addq $8, %rdi / next quadword
80 subq $8, %rdi / post-incremented
82 cmpb $0, (%rdi) / if a byte in (%rdi) is null
84 incq %rdi / next byte
85 testq $7, %rdi / if %rdi not quadword aligned
87 jmp .L2 / goto .L2 (%rdi quadword aligned)
90 / %rdi points to a null byte in destination string
[all …]
H A Dstrncat.S67 movq %rdi, %rax / save return value
71 testq $7, %rdi / if %rdi not quadword aligned
75 movq (%rdi), %r11 / move 1 quadword from (%rdi) to %r11
78 addq $8, %rdi / next quadword
84 subq $8, %rdi / post-incremented
86 cmpb $0, (%rdi) / if a byte in (%rdi) is null
88 incq %rdi / next byte
89 testq $7, %rdi / if %rdi not quadword aligned
91 jmp .L2 / goto .L2 (%rdi quadword aligned)
94 / %rdi points to a null byte in destination string
[all …]
H A Dstrcpy.S47 mov %rdi, %rax /* save destination address for return value */
90 mov %rdx, (%rdi)
92 mov %rdx, 8(%rdi)
100 and $0xfffffffffffffff0, %rdi /* force rdi 16 byte align */
102 xor %rdi, %rdx /* same effect as "and $0xf, %rdx" */
111 add $16, %rdi /* next 16 bytes for dest */
153 movdqa %xmm1, (%rdi) /* store 16 bytes into dest string */
155 add $16, %rdi
168 movdqa %xmm1, (%rdi, %rcx)
180 movdqa %xmm1, (%rdi, %rcx)
[all …]
H A Dmemchr.S62 testq $3, %rdi / if %rdi not word aligned
66 movl (%rdi), %ecx / move 1 word from (%rdi) to %ecx
77 addq $4, %rdi / next word
83 cmpb (%rdi), %al / if a byte in (%rdi) is %al
86 incq %rdi / next byte
96 cmpb (%rdi), %al / if a byte in (%rdi) is %al
98 incq %rdi / next byte
100 testq $3, %rdi / if %rdi not word aligned
108 incq %rdi
111 incq %rdi
[all …]
H A Dmemccpy.S38 movb %dh,(%rdi) / move byte
45 movb %dh,1(%rdi) / move byte
52 movb %dh,2(%rdi) / move byte
59 movb %dh,3(%rdi) / move byte
61 addq $4,%rdi
64 decq %rdi
67 incq %rdi / return pointer to next byte in dest
68 movq %rdi,%rax
73 incq %rdi
75 addq $2,%rdi / return pointer to next byte in dest
[all …]
/illumos-gate/usr/src/uts/intel/ml/
H A Dfloat.S60 fxsaveq (%rdi)
75 cmpl $FPU_EN, FPU_CTX_FPU_FLAGS(%rdi)
77 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%rdi)
78 movq FPU_CTX_FPU_REGS(%rdi), %rdi /* fpu_regs.kfpu_u.kfpu_fx ptr */
79 fxsaveq (%rdi)
86 cmpl $FPU_EN, FPU_CTX_FPU_FLAGS(%rdi)
88 movl $_CONST(FPU_VALID|FPU_EN), FPU_CTX_FPU_FLAGS(%rdi)
89 movl FPU_CTX_FPU_XSAVE_MASK(%rdi), %eax /* xsave flags in EDX:EAX */
90 movl FPU_CTX_FPU_XSAVE_MASK+4(%rdi), %edx
91 movq FPU_CTX_FPU_REGS(%rdi), %rsi /* fpu_regs.kfpu_u.kfpu_xs ptr */
[all …]
H A Dcopy.S152 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
156 0: leaq .kcopy_panic_msg(%rip), %rdi
207 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
211 0: leaq .kcopy_panic_msg(%rip), %rdi
234 movq %rdi, %r10
249 COPY_LOOP_INIT(%rdi, %rsi, %rdx)
250 2: COPY_LOOP_BODY(%rdi, %rsi, %rdx)
268 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
272 0: leaq .bcopy_panic_msg(%rip), %rdi
293 addq %rdx, %rdi
[all …]
H A Di86_subr.S76 movq %rdi, T_ONFAULT(%rsi) /* jumpbuf in t_onfault */
83 movq T_ONFAULT(%rsi), %rdi /* address of save area */
107 movq T_ONTRAP(%rsi), %rdi
108 addq $OT_JMPBUF, %rdi
119 movw %si, OT_PROT(%rdi) /* ot_prot = prot */
120 movw $0, OT_TRAP(%rdi) /* ot_trap = 0 */
122 movq %rdx, OT_TRAMPOLINE(%rdi) /* ot_trampoline = rdx */
124 movq %rcx, OT_HANDLE(%rdi) /* ot_handle = NULL */
125 movq %rcx, OT_PAD1(%rdi) /* ot_pad1 = NULL */
128 cmpq %rdi, %rcx /* if (otp == %rcx) */
[all …]
H A Dlock_prim.S85 xchgb %dl, (%rdi)
94 movq %rdi, %rsi /* rsi = lock addr */
102 xchgb %dl, (%rdi)
110 cmpq %rax, %rdi /* test uaddr < kernelbase */
113 movq %rdi, %r12 /* preserve lock ptr for debugging */
114 leaq .ulock_panic_msg(%rip), %rdi
124 xchgb %al, (%rdi)
142 movb $0, (%rdi)
145 movq %rdi, %rsi /* rsi = lock addr */
154 cmpq %rcx, %rdi /* test uaddr < kernelbase */
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Dboot_elf.S160 movdqa %xmm0, (%rdi)
161 movdqa %xmm1, 64(%rdi)
162 movdqa %xmm2, 128(%rdi)
163 movdqa %xmm3, 192(%rdi)
164 movdqa %xmm4, 256(%rdi)
165 movdqa %xmm5, 320(%rdi)
166 movdqa %xmm6, 384(%rdi)
167 movdqa %xmm7, 448(%rdi)
171 vmovdqa %ymm0, (%rdi)
172 vmovdqa %ymm1, 64(%rdi)
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/intel/
H A Dvmx_support.S62 movq VMXCTX_GUEST_CR2(%rdi),%rsi; \
64 movq VMXCTX_GUEST_RSI(%rdi),%rsi; \
65 movq VMXCTX_GUEST_RDX(%rdi),%rdx; \
66 movq VMXCTX_GUEST_RCX(%rdi),%rcx; \
67 movq VMXCTX_GUEST_R8(%rdi),%r8; \
68 movq VMXCTX_GUEST_R9(%rdi),%r9; \
69 movq VMXCTX_GUEST_RAX(%rdi),%rax; \
70 movq VMXCTX_GUEST_RBX(%rdi),%rbx; \
71 movq VMXCTX_GUEST_RBP(%rdi),%rbp; \
72 movq VMXCTX_GUEST_R10(%rdi),%r10; \
[all …]
/illumos-gate/usr/src/common/atomic/amd64/
H A Datomic.S47 incb (%rdi)
55 incw (%rdi)
63 incl (%rdi)
71 incq (%rdi)
81 xaddb %al, (%rdi) / %al = old value, (%rdi) = new value
92 xaddw %ax, (%rdi) / %ax = old value, (%rdi) = new value
103 xaddl %eax, (%rdi) / %eax = old value, (%rdi) = new value
114 xaddq %rax, (%rdi) / %rax = old value, (%rdi) = new value
123 decb (%rdi)
131 decw (%rdi)
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/amd64/libstand/
H A Dsetjmp.S70 movq %rbx, 0(%rdi)
71 movq %r12, 8(%rdi)
72 movq %r13, 16(%rdi)
73 movq %r14, 24(%rdi)
74 movq %r15, 32(%rdi)
75 movq %rbp, 40(%rdi)
77 movq %rsp, 48(%rdi)
78 movq %rdx, 56(%rdi)
102 movq 0(%rdi), %rbx
103 movq 8(%rdi), %r12
[all …]
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dosl_ml.S58 orq %rdi, %rdi / %rdi contains pointer to FACS
60 leaq GlobalLock(%rdi), %rdi / make %rdi point at the lock
62 movl (%rdi), %eax / get current value of Global Lock
68 cmpxchgl %edx, (%rdi) / Attempt to set new value
79 orq %rdi, %rdi / %rdi contains pointer to FACS
81 leaq GlobalLock(%rdi), %rdi / make %rdi point at the lock
83 movl (%rdi), %eax
87 cmpxchgl %edx, (%rdi)
/illumos-gate/usr/src/uts/i86xpv/ml/
H A Dhyperevent.S107 leaq nopop_sys_rtt_syscall(%rip), %rdi
108 movq %rdi, REGOFF_RIP(%rsp)
110 TRACE_PTR(%rdi, %rbx, %ebx, %rcx, $TT_EVENT) /* Uses labels 8 and 9 */
111 TRACE_REGS(%rdi, %rsp, %rbx, %rcx) /* Uses label 9 */
112 TRACE_STAMP(%rdi) /* Clobbers %eax, %edx, uses 9 */
116 TRACE_STACK(%rdi)
118 movq %rbp, %rdi
122 movq %rbp, %rdi
138 TRACE_PTR(%rdi, %rbx, %ebx, %rcx, $TT_EVENT) /* Uses labels 8 and 9 */
139 TRACE_REGS(%rdi, %rsp, %rbx, %rcx) /* Uses label 9 */
[all …]
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.S249 movq 0(%rdi), %r10 / r10 = r[0]
254 movq 8(%rdi), %r10 / prefetch r[1]
257 movq %rax, 0(%rdi) / r[0] = lo(p)
265 movq 16(%rdi), %r10 / prefetch r[2]
268 movq %rax, 8(%rdi) / r[1] = lo(p)
276 movq 24(%rdi), %r10 / prefetch r[3]
279 movq %rax, 16(%rdi) / r[2] = lo(p)
287 movq 32(%rdi), %r10 / prefetch r[4]
290 movq %rax, 24(%rdi) / r[3] = lo(p)
298 movq 40(%rdi), %r10 / prefetch r[5]
[all …]
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dcpr_wakecode.S81 movq %rdx, WC_RETADDR(%rdi)
85 movq %rdi, WC_VIRTADDR(%rdi)
86 movq %rdi, WC_RDI(%rdi)
88 movq %rdx, WC_RDX(%rdi)
91 sgdt WC_GDT(%rdi)
92 sidt WC_IDT(%rdi)
93 sldt WC_LDT(%rdi)
94 str WC_TR(%rdi)
97 movq %rdx, WC_CR0(%rdi)
99 movq %rdx, WC_CR3(%rdi)
[all …]
/illumos-gate/usr/src/uts/intel/kdi/
H A Dkdi_asm.S113 movq %rdi, REG_OFF(KDIREG_RDI)(base); \
145 movq base, %rdi; \
146 RESTORE_GSBASE(%rdi); \
147 movq REG_OFF(KDIREG_ES)(%rdi), %rax; \
149 movq REG_OFF(KDIREG_DS)(%rdi), %rax; \
153 movq REG_OFF(KDIREG_R15)(%rdi), %r15; \
154 movq REG_OFF(KDIREG_R14)(%rdi), %r14; \
155 movq REG_OFF(KDIREG_R13)(%rdi), %r13; \
156 movq REG_OFF(KDIREG_R12)(%rdi), %r12; \
157 movq REG_OFF(KDIREG_R11)(%rdi), %r11; \
[all …]
/illumos-gate/usr/src/lib/commpage/amd64/
H A Dcp_subr.S49 movl CP_TSC_TYPE(%rdi), %esi
50 movl CP_TSC_NCPU(%rdi), %r8d
79 leaq CP_TSC_SYNC_TICK_DELTA(%rdi), %r9
105 leaq CP_TSC_SYNC_TICK_DELTA(%rdi), %r9
200 movl CP_TSC_TYPE(%rdi), %edi
229 movq %rdi, 0x10(%rsp)
231 movl CP_HRES_LOCK(%rdi), %r9d
234 movq CP_TSC_LAST(%rdi), %rax
235 movq CP_TSC_HRTIME_BASE(%rdi), %rdx
248 movq 0x10(%rsp), %rdi
[all …]
/illumos-gate/usr/src/test/os-tests/tests/saveargs/testmatch/
H A Ddata.S52 movq %rdi, -0x8(%rbp)
63 movq %rdi,-0x8(%rbp)
72 movq %rdi,-0x8(%rbp)
119 movq %rdi,-0x8(%rbp)
132 movq %rdi,-0x8(%rbp)
145 movq %rdi,-0x8(%rbp)
152 pushq %rdi
164 pushq %rdi
175 pushq %rdi
216 pushq %rdi
[all …]
/illumos-gate/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.S340 xor tab_1(%rdi), p4; \
344 xor tab_3(%rdi), p2; \
350 xor tab_1(%rdi), p1; \
354 xor tab_3(%rdi), p3; \
360 xor tab_1(%rdi), p2; \
364 xor tab_3(%rdi), p4; \
370 xor tab_1(%rdi), p3; \
374 xor tab_3(%rdi), p1; \
394 xor tab_1(%rdi), p4; \
398 xor tab_3(%rdi), p2; \
[all …]

12345