Home
last modified time | relevance | path

Searched refs:rax (Results 1 – 25 of 96) sorted by relevance

1234

/dragonfly/crypto/libressl/crypto/bn/
HDmodexp512-elf-x86_64.S7 movq 0(%rsi),%rax
9 addq %rax,%r8
14 movq 8(%rsi),%rax
16 addq %rax,%r9
22 movq 16(%rsi),%rax
24 addq %rax,%r10
30 movq 24(%rsi),%rax
32 addq %rax,%r11
38 movq 32(%rsi),%rax
40 addq %rax,%r12
[all …]
HDmont-elf-x86_64.S37 movq (%rsi),%rax
44 movq %rax,%r10
45 movq (%rcx),%rax
51 addq %rax,%r10
52 movq 8(%rsi),%rax
61 addq %rax,%r13
62 movq (%rsi,%r15,8),%rax
72 addq %rax,%r11
73 movq (%rcx,%r15,8),%rax
82 addq %rax,%r13
[all …]
HDmont5-elf-x86_64.S27 movq %rsp,%rax
33 movq %rax,8(%rsp,%r9,8)
167 movq (%rsi),%rax
174 movq %rax,%r10
175 movq (%rcx),%rax
181 addq %rax,%r10
182 movq 8(%rsi),%rax
191 addq %rax,%r13
192 movq (%rsi,%r15,8),%rax
202 addq %rax,%r11
[all …]
HDgf2m-elf-x86_64.S9 leaq (%rax,%rax,1),%rsi
11 leaq (,%rax,4),%rdi
12 andq %rax,%r9
13 leaq (,%rax,8),%r12
14 sarq $63,%rax
18 andq %rbp,%rax
20 movq %rax,%rdx
21 shlq $63,%rax
28 xorq %rsi,%rax
33 xorq %rdi,%rax
[all …]
/dragonfly/test/testcases/libnvmm/
HDh_mem_assist_asm.S54 movq $0x1000,%rax
57 movq $0x1000,(%rax)
60 movq $0x2000,(%rax,%r11,8)
73 movq $0x1000,%rax
75 movq $0x1000,(%rax)
77 orb %bl,(%rax)
79 orw %cx,(%rax)
82 orq (%rax),%rcx
83 movq %rcx,(%rax)
90 movq $0x1000,%rax
[all …]
/dragonfly/sys/platform/vkernel64/x86_64/
HDswtch.s114 movq (%rsp),%rax /* (reorder optimization) */
116 movq %rax,PCB_RIP(%rdx) /* return PC may be modified */
144 movq PCPU(other_cpus)+0, %rax
145 MPLOCKED andq %rax, VM_PMAP+PM_ACTIVE+0(%rcx)
146 movq PCPU(other_cpus)+8, %rax
147 MPLOCKED andq %rax, VM_PMAP+PM_ACTIVE+8(%rcx)
148 movq PCPU(other_cpus)+16, %rax
149 MPLOCKED andq %rax, VM_PMAP+PM_ACTIVE+16(%rcx)
150 movq PCPU(other_cpus)+24, %rax
151 MPLOCKED andq %rax, VM_PMAP+PM_ACTIVE+24(%rcx)
[all …]
HDlocore.s66 movq $SYS_sigreturn,%rax
76 movq $0x200,%rax /* the manual says that bit 10 must be set to 1 */
77 movq %rax,%dr7 /* disable all breapoints first */
78 movq $0,%rax
79 movq %rax,%dr0
80 movq %rax,%dr1
81 movq %rax,%dr2
82 movq %rax,%dr3
83 movq %rax,%dr6
/dragonfly/sys/platform/pc64/x86_64/
HDswtch.s148 movq (%rsp),%rax /* (reorder optimization) */
150 movq %rax,PCB_RIP(%rdx) /* return PC may be modified */
212 movq $cpu_heavy_restore, %rax
213 pushq %rax
219 movq PCB_FLAGS(%rdx),%rax
220 andq $PCB_DBREGS,%rax
222 movq %dr7,%rax /* yes, do the save */
223 movq %rax,PCB_DR7(%rdx)
225 andq $0x0000fc00, %rax /* disable all watchpoints */
226 movq %rax,%dr7
[all …]
HDsupport.s101 movq $-4096,%rax
104 movq $0,(%rdi,%rax,1)
105 movq $0,8(%rdi,%rax,1)
106 addq $16,%rax
137 movq %rdi,%rax
145 movq $0x200,%rax /* the manual says that bit 10 must be set to 1 */
146 movq %rax,%dr7 /* disable all breapoints first */
147 movq $0,%rax
148 movq %rax,%dr0
149 movq %rax,%dr1
[all …]
HDexception.S154 movq %rax, TR_RAX(%rsp)
159 movq %cr3,%rax /* save CR3 */
160 movq %rax, TR_PCB_CR3_SAVED(%rsp)
164 orq %rdx,%rax
165 movq %rax, TR_PCB_GS_SAVED(%rsp)
170 movq PCPU(trampoline)+TR_PCB_CR3,%rax
171 movq %rax,%cr3
175 movq TR_RAX(%rsp), %rax
216 movq %rax, TR_RAX(%rsp)
226 movq TR_PCB_CR3_SAVED(%rsp),%rax /* restore %cr3 */
[all …]
HDipl.s137 movq $0,%rax /* irq mask unavailable due to BGL */
147 movq %rax,%rcx /* irq mask unavailable due to BGL */
258 pushq %rax /* save IRQ mask unavailable for BGL */
261 popq %rax
278 pushq %rax
285 popq %rax
317 subq %rax,%rax
356 movq $0,%rax
360 movq %rax,%rcx /* rcx = ~CPL */
416 pushq %rax
[all …]
HDmpboot.S160 movabsq $entry_64,%rax /* 64 bit immediate load */
161 jmp *%rax
233 movq KPML4phys, %rax
234 movq %rax, %cr3
246 movq PCPU(curthread),%rax
247 movq %rax,%rbx
248 movq TD_SP(%rax),%rsp
/dragonfly/sys/platform/pc64/apic/
HDapic_vector.s123 movq lapic_eoi, %rax ; \
125 callq *%rax ; \
191 movq lapic_eoi, %rax
192 callq *%rax /* End Of Interrupt to APIC */
217 movq lapic_eoi, %rax
218 callq *%rax /* End Of Interrupt to APIC */
241 movq lapic_eoi, %rax
242 callq *%rax /* End Of Interrupt to APIC */
247 addq %rax, %rdi
261 movq PCPU(cpumask)+0,%rax /* stopped_cpus |= 1 << cpuid */
[all …]
HDioapic_ipl.s81 orl $IOAPIC_IRQI_FLAG_MASKED, CNAME(ioapic_irqs) + IOAPIC_IRQI_FLAGS(%rax)
82 movq CNAME(ioapic_irqs) + IOAPIC_IRQI_ADDR(%rax), %rdx
83 movl CNAME(ioapic_irqs) + IOAPIC_IRQI_IDX(%rax), %ecx
98 andl $~IOAPIC_IRQI_FLAG_MASKED, CNAME(ioapic_irqs) + IOAPIC_IRQI_FLAGS(%rax)
99 movq CNAME(ioapic_irqs) + IOAPIC_IRQI_ADDR(%rax), %rdx
100 movl CNAME(ioapic_irqs) + IOAPIC_IRQI_IDX(%rax), %ecx
/dragonfly/stand/lib/x86_64/
HD_setjmp.S48 movq %rdi,%rax
50 movq %rdx, 0(%rax) /* 0; retval */
51 movq %rbx, 8(%rax) /* 1; rbx */
52 movq %rsp,16(%rax) /* 2; rsp */
53 movq %rbp,24(%rax) /* 3; rbp */
54 movq %r12,32(%rax) /* 4; r12 */
55 movq %r13,40(%rax) /* 5; r13 */
56 movq %r14,48(%rax) /* 6; r14 */
57 movq %r15,56(%rax) /* 7; r15 */
58 fnstcw 64(%rax) /* 8; fpu cw */
[all …]
/dragonfly/lib/libc/x86_64/gen/
HD_setjmp.S49 movq %rdi,%rax
51 movq %rdx, 0(%rax) /* 0; retval */
52 movq %rbx, 8(%rax) /* 1; rbx */
53 movq %rsp,16(%rax) /* 2; rsp */
54 movq %rbp,24(%rax) /* 3; rbp */
55 movq %r12,32(%rax) /* 4; r12 */
56 movq %r13,40(%rax) /* 5; r13 */
57 movq %r14,48(%rax) /* 6; r14 */
58 movq %r15,56(%rax) /* 7; r15 */
59 fnstcw 64(%rax) /* 8; fpu cw */
[all …]
/dragonfly/sys/dev/virtual/nvmm/x86/
HDnvmm_x86_svmfunc.S69 pushq %rax
72 popq %rax ;\
79 pushq %rax
83 popq %rax ;\
85 movq CPUVAR(GDT),%rax ;\
87 andq $~0x0200,4(%rax,%rdx, 1) ;\
94 popq %rax ;\
96 movq PCPU(tss_gdt),%rax ;\
98 andq $~0x0200,4(%rax) ;\
104 pushq %rax
[all …]
HDnvmm_x86_vmxfunc.S68 pushq %rax
71 popq %rax
75 pushq %rax
78 popq %rax ;\
116 movq (NVMM_X64_GPR_RAX * 8)(reg),%rax
129 movq %rdi,%rax
130 pushq %rax
138 GUEST_RESTORE_GPRS(%rax)
147 movq $-1,%rax
162 movq %rdi,%rax
[all …]
/dragonfly/crypto/libressl/crypto/modes/
HDghash-elf-x86_64.S15 xorq %rax,%rax
21 movq 8(%rsi,%rax,1),%r8
22 movq (%rsi,%rax,1),%r9
49 xorq 8(%rsi,%rax,1),%r8
51 xorq (%rsi,%rax,1),%r9
64 xorq 8(%rsi,%rax,1),%r8
66 xorq (%rsi,%rax,1),%r9
110 movq 0+8-128(%rsi),%rax
112 shrq $4,%rax
120 orq %r10,%rax
[all …]
/dragonfly/sys/cpu/x86_64/include/
HDasmacros.h149 movq %rax, PCPU(trampoline)+TR_RAX ; \
152 movq %rdx, %rax ; \
153 andq $SPEC_CTRL_IBRS|SPEC_CTRL_STIBP, %rax ; \
164 42: movq PCPU(trampoline)+TR_RAX, %rax ; \
272 movq %rax, PCPU(trampoline)+TR_RAX ; \
274 testq $SPEC_CTRL_MDS_ENABLE, %rax ; \
278 41: testq $SPEC_CTRL_DUMMY_ENABLE, %rax ; \
282 andq $SPEC_CTRL_IBRS|SPEC_CTRL_STIBP, %rax ; \
288 42: movq PCPU(trampoline)+TR_RAX, %rax ; \
350 movq %rax,TF_RAX(%rsp) ; \
[all …]
/dragonfly/crypto/libressl/crypto/sha/
HDsha512-elf-x86_64.S27 movq 0(%rdi),%rax
42 movq %rax,%r14
54 xorq %rax,%r14
65 xorq %rax,%r14
70 andq %rax,%r11
100 movq %rax,%r10
109 movq %rax,%r15
148 xorq %rax,%r9
155 andq %rax,%r15
203 addq %r12,%rax
[all …]
/dragonfly/lib/libc/x86_64/sys/
HDcerror.S43 pushq %rax
46 movq PIC_GOT(CNAME(errno)),%rax
53 leaq CNAME(errno)(%rip),%rax
55 movq errno@GOTTPOFF(%rip),%rax
56 addq %fs:0,%rax
60 movl %ecx,(%rax)
61 movq $-1,%rax
/dragonfly/crypto/libressl/crypto/aes/
HDbsaes-elf-x86_64.S12 movdqa (%rax),%xmm8
13 leaq 16(%rax),%rax
123 pxor 0(%rax),%xmm15
124 pxor 16(%rax),%xmm0
126 pxor 32(%rax),%xmm1
128 pxor 48(%rax),%xmm2
130 pxor 64(%rax),%xmm3
132 pxor 80(%rax),%xmm4
134 pxor 96(%rax),%xmm5
136 pxor 112(%rax),%xmm6
[all …]
/dragonfly/sys/cpu/x86_64/misc/
HDmonitor.s47 movq %rdi, %rax
54 cmpl (%rax), %esi
56 movq %r8, %rax
67 movq %rdi, %rax
74 cmpq (%rax), %rsi
76 movq %r8, %rax
/dragonfly/crypto/libressl/crypto/camellia/
HDcmll-elf-x86_64.S724 movq -128(%r13),%rax
728 movq %rax,%r11
729 shlq $15,%rax
733 orq %r9,%rax
736 movq %rax,-96(%r13)
758 movq %rax,%r11
759 shlq $30,%rax
763 orq %r9,%rax
766 movq %rax,-48(%r13)
777 movq %rax,%r11
[all …]

1234