Home
last modified time | relevance | path

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

12345

/titanic_50/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 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 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 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 …]
H A Dstrchr.s32 movb (%rdi),%dl / %dl = byte of string
38 movb 1(%rdi),%dl / %dl = byte of string
44 movb 2(%rdi),%dl / %dl = byte of string
50 movb 3(%rdi),%dl / %dl = byte of string
53 addq $4,%rdi
62 incq %rdi
64 incq %rdi
66 incq %rdi
68 movq %rdi,%rax
H A Dstrcmp.s72 movlpd (%rdi), %xmm1
74 movhpd 8(%rdi), %xmm1
88 add $16, %rdi /* prepare to search next 16 bytes */
98 and $0xfffffffffffffff0, %rdi /* force %rdi to be 16 byte aligned */
108 xchg %rsi, %rdi
126 pcmpeqb (%rdi), %xmm1 /* compare 16 bytes for equality */
149 movdqa (%rdi, %rcx), %xmm2
164 movdqa (%rdi, %rcx), %xmm2
186 movdqa (%rdi), %xmm2
197 movdqa (%rdi), %xmm3
[all …]
/titanic_50/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 …]
/titanic_50/usr/src/uts/intel/ia32/ml/
H A Dcopy.s97 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
101 0: leaq .kcopy_panic_msg(%rip), %rdi
227 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
231 0: leaq .kcopy_panic_msg(%rip), %rdi
254 movq %rdi, %r10
269 COPY_LOOP_INIT(%rdi, %rsi, %rdx)
270 2: COPY_LOOP_BODY(%rdi, %rsi, %rdx)
369 cmpq postbootkernelbase(%rip), %rdi /* %rdi = from */
373 0: leaq .bcopy_panic_msg(%rip), %rdi
394 addq %rdx, %rdi
[all …]
/titanic_50/usr/src/lib/libm/common/m9x/
H A D__fenv_amd64.il27 fstsw (%rdi)
28 fstcw 2(%rdi)
32 movw (%rdi),%dx
33 movw 2(%rdi),%cx
44 stmxcsr (%rdi)
48 ldmxcsr (%rdi)
132 movss (%rdi),%xmm0
138 movss (%rdi),%xmm0
144 movss (%rdi),%xmm0
150 movss (%rdi),%xmm0
[all …]
/titanic_50/usr/src/cmd/mdb/intel/amd64/libstand/
H A Dsetjmp.s72 movq %rbx, 0(%rdi)
73 movq %r12, 8(%rdi)
74 movq %r13, 16(%rdi)
75 movq %r14, 24(%rdi)
76 movq %r15, 32(%rdi)
77 movq %rbp, 40(%rdi)
79 movq %rsp, 48(%rdi)
80 movq %rdx, 56(%rdi)
104 movq 0(%rdi), %rbx
105 movq 8(%rdi), %r12
[all …]
/titanic_50/usr/src/uts/i86xpv/ml/
H A Dhyperevent.s125 leaq nopop_sys_rtt_syscall(%rip), %rdi
126 movq %rdi, REGOFF_RIP(%rsp)
128 TRACE_PTR(%rdi, %rbx, %ebx, %rcx, $TT_EVENT) /* Uses labels 8 and 9 */
129 TRACE_REGS(%rdi, %rsp, %rbx, %rcx) /* Uses label 9 */
130 TRACE_STAMP(%rdi) /* Clobbers %eax, %edx, uses 9 */
134 TRACE_STACK(%rdi)
136 movq %rbp, %rdi
140 movq %rbp, %rdi
204 TRACE_PTR(%rdi, %rbx, %ebx, %rcx, $TT_EVENT) /* Uses labels 8 and 9 */
205 TRACE_REGS(%rdi, %rsp, %rbx, %rcx) /* Uses label 9 */
[all …]
H A Damd64.il32 movq %rdi, %rax
37 movq %rdi, %rax
38 movq %rsi, %rdi / arg 1
43 movq %rdi, %rax
44 movq %rsi, %rdi / arg 1
50 movq %rdi, %rax
51 movq %rsi, %rdi / arg 1
59 movq %rdi, %rax
60 movq %rsi, %rdi / arg 1
68 movq %rdi, %rax
[all …]
/titanic_50/usr/src/uts/intel/kdi/amd64/
H A Dkdi_asm.s110 movq %rdi, REG_OFF(KDIREG_RDI)(base); \
140 movq base, %rdi; \
141 RESTORE_GSBASE(%rdi); \
142 movq REG_OFF(KDIREG_ES)(%rdi), %rax; \
144 movq REG_OFF(KDIREG_DS)(%rdi), %rax; \
146 movq REG_OFF(KDIREG_R15)(%rdi), %r15; \
147 movq REG_OFF(KDIREG_R14)(%rdi), %r14; \
148 movq REG_OFF(KDIREG_R13)(%rdi), %r13; \
149 movq REG_OFF(KDIREG_R12)(%rdi), %r12; \
150 movq REG_OFF(KDIREG_R11)(%rdi), %r11; \
[all …]
/titanic_50/usr/src/uts/intel/io/acpica/
H A Dosl_ml.s69 orq %rdi, %rdi / %rdi contains pointer to FACS
71 leaq GlobalLock(%rdi), %rdi / make %rdi point at the lock
73 movl (%rdi), %eax / get current value of Global Lock
79 cmpxchgl %edx, (%rdi) / Attempt to set new value
127 orq %rdi, %rdi / %rdi contains pointer to FACS
129 leaq GlobalLock(%rdi), %rdi / make %rdi point at the lock
131 movl (%rdi), %eax
135 cmpxchgl %edx, (%rdi)
/titanic_50/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 …]
/titanic_50/usr/src/lib/commpage/amd64/
H A Dcp_subr.s42 movl CP_TSC_TYPE(%rdi), %esi
43 movl CP_TSC_NCPU(%rdi), %r8d
44 leaq CP_TSC_SYNC_TICK_DELTA(%rdi), %r9
155 movl CP_TSC_TYPE(%rdi), %edi
184 movq %rdi, 0x10(%rsp)
186 movl CP_HRES_LOCK(%rdi), %r9d
189 movq CP_TSC_LAST(%rdi), %rax
190 movq CP_TSC_HRTIME_BASE(%rdi), %rdx
195 movq 0x10(%rsp), %rdi
198 movl CP_HRES_LOCK(%rdi), %edx
[all …]
/titanic_50/usr/src/lib/libsaveargs/tests/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 …]
/titanic_50/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 …]
/titanic_50/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkaif_invoke.s73 movq %rdi, %rax /* function pointer */
74 movq %rdx, %rdi /* argv */
113 cp6arg: movq 0x28(%rdi), %r9
114 cp5arg: movq 0x20(%rdi), %r8
115 cp4arg: movq 0x18(%rdi), %rcx
116 cp3arg: movq 0x10(%rdi), %rdx
117 cp2arg: movq 0x08(%rdi), %rsi
118 cp1arg: movq 0x00(%rdi), %rdi
/titanic_50/usr/src/lib/libc/amd64/unwind/
H A Dunwind_frame.s50 movq %rbx,24(%rdi) /* save preserved registers */
51 movq %rbp,48(%rdi)
52 movq %r12,96(%rdi)
53 movq %r13,104(%rdi)
54 movq %r14,112(%rdi)
55 movq %r15,120(%rdi)
68 movq %rdi,%r8 /* save arguments to this func */
70 movq 40(%rax),%rdi /* set handler parameters */
/titanic_50/usr/src/cmd/sgs/rtld/amd64/
H A Dboot_elf.s188 movq %rdi, SPRDIOFF(%rsp)
230 movq SYMDEF_VALUE_OFF(%rax), %rdi
231 movq %rdi, SPDESTOFF(%rbp) / save destination address
239 leaq 8(%rbp), %rdi
240 movq %rdi, 0(%rsi) / la_rsp
241 movq 0(%rbp), %rdi
242 movq %rdi, 8(%rsi) / la_rbp
243 movq SPRDIOFF(%rsp), %rdi
244 movq %rdi, 16(%rsi) / la_rdi
245 movq SPRSIOFF(%rsp), %rdi
[all …]

12345