| /openbsd/src/sys/arch/amd64/include/ |
| D | frameasm.h | 18 movq %rcx,TF_RCX(%rsp) 81 movq %rcx,TF_RCX(%rsp) ; \ 87 movq %rcx,TF_RCX(%rsp) ; \ 90 movq IRETQ_RIP(%rax),%rcx ; \ 91 movq %rcx,TF_RIP(%rsp) ; \ 92 movq IRETQ_CS(%rax),%rcx ; \ 93 movq %rcx,TF_CS(%rsp) ; \ 94 movq IRETQ_RFLAGS(%rax),%rcx ; \ 95 movq %rcx,TF_RFLAGS(%rsp) ; \ 96 movq IRETQ_RSP(%rax),%rcx ; \ [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/builtins/x86_64/ |
| D | chkstk2.S | 17 mov %rcx,%rax // x64 _alloca is a normal function with parameter in rcx 20 push %rcx 22 lea 16(%rsp),%rcx // rsp before calling this routine -> rcx 25 sub $0x1000,%rcx 26 test %rcx,(%rcx) 31 sub %rax,%rcx 32 test %rcx,(%rcx) 35 mov %rcx,%rsp // install the new top of stack pointer into rsp 36 mov -8(%rax),%rcx // restore rcx
|
| D | chkstk.S | 21 push %rcx 24 lea 24(%rsp),%rcx 27 sub $0x1000,%rcx 28 test %rcx,(%rcx) 33 sub %rax,%rcx 34 test %rcx,(%rcx) 36 pop %rcx
|
| /openbsd/src/lib/libcrypto/bn/asm/ |
| D | modexp512-x86_64.pl | 352 &MULSTEP_512([map("%r$_",(8..15))], "(+8*0)(%rcx)", "%rsi", "%rbp", "%rbx"); 356 &MULSTEP_512([map("%r$_",(9..15,8))], "(+8*1)(%rcx)", "%rsi", "%rbp", "%rbx"); 428 lea (+$tmp16_offset+$STACK_DEPTH)(%rsp), %rcx # X (Asrc) 1024 bits, 16 qwords 432 &MULADD_256x512("%rdi", "%rcx", "%rsi", "%rbp", "%rbx", \@X); # rotates @X 4 times 438 add (+8*8)(%rcx), $X[4] 439 adc (+8*9)(%rcx), $X[5] 440 adc (+8*10)(%rcx), $X[6] 441 adc (+8*11)(%rcx), $X[7] 469 …lea (+$Reduce_Data_offset+$X2_offset+$STACK_DEPTH)(%rsp), %rcx # rcx -> pX2 ; 641 bits, 11 qwords 481 mov $X[6], (+8*8)(%rcx) [all …]
|
| /openbsd/src/sys/lib/libkern/arch/amd64/ |
| D | memmove.S | 51 movq %rdx,%rcx 54 cmpq %rcx,%rax /* overlapping? */ 61 movq %rdx,%rcx 63 shrq $3,%rcx /* copy by words */ 66 movq %rdx,%rcx 67 andq $7,%rcx /* any bytes left? */ 73 addq %rcx,%rdi /* copy backwards. */ 74 addq %rcx,%rsi 76 andq $7,%rcx /* any fractional bytes? */ 81 movq %rdx,%rcx /* copy remainder by words */ [all …]
|
| D | memset.S | 13 movq %rdx,%rcx 21 cmpq $0x0f,%rcx 36 movq %rcx,%r8 39 movq %rdx,%rcx /* set until word aligned */ 43 movq %r8,%rcx 44 shrq $3,%rcx /* set by words */ 48 movq %r8,%rcx /* set remainder by bytes */ 49 andq $7,%rcx
|
| D | bzero.S | 23 movq %rdi,%rcx /* compute misalignment */ 24 negq %rcx 25 andq $7,%rcx 26 subq %rcx,%rdx 30 movq %rdx,%rcx /* zero by words */ 31 shrq $3,%rcx 36 1: movq %rdx,%rcx /* zero remainder by bytes */
|
| D | memcmp.S | 11 movq %rdx,%rcx /* compare by longs */ 12 shrq $3,%rcx 17 movq %rdx,%rcx /* compare remainder by bytes */ 18 andq $7,%rcx 27 subq %rcx,%rdi /* eight pairs of bytes do not */ 28 subq %rcx,%rsi /* match. */
|
| D | strrchr.S | 15 movzbq %sil,%rcx 38 movq %rcx,%rdx 39 salq $16,%rcx 40 orq %rdx,%rcx 41 movq %rcx,%rdx 42 salq $32,%rcx 43 orq %rdx,%rcx 55 xorq %rcx,%rsi
|
| D | bcmp.S | 7 movq %rdx,%rcx /* compare by words */ 8 shrq $3,%rcx 13 movq %rdx,%rcx /* compare remainder by bytes */ 14 andq $7,%rcx
|
| D | memchr.S | 12 movq %rdx,%rcx /* set length of search */ 13 testq %rcx,%rcx /* test for len == 0 */
|
| /openbsd/src/lib/libc/arch/amd64/string/ |
| D | memmove.S | 51 movq %rdx,%rcx 54 cmpq %rcx,%rax /* overlapping? */ 62 movq %rdx,%rcx 66 shrq $3,%rcx /* copy by words */ 69 movq %rdx,%rcx 70 andq $7,%rcx /* any bytes left? */ 76 addq %rcx,%rdi /* copy backwards. */ 77 addq %rcx,%rsi 79 andq $7,%rcx /* any fractional bytes? */ 84 movq %rdx,%rcx /* copy remainder by words */ [all …]
|
| D | memset.S | 13 movq %rdx,%rcx 23 cmpq $0x0f,%rcx 38 movq %rcx,%r8 41 movq %rdx,%rcx /* set until word aligned */ 45 movq %r8,%rcx 46 shrq $3,%rcx /* set by words */ 50 movq %r8,%rcx /* set remainder by bytes */ 51 andq $7,%rcx
|
| D | bzero.S | 24 movq %rdi,%rcx /* compute misalignment */ 25 negq %rcx 26 andq $7,%rcx 27 subq %rcx,%rdx 31 movq %rdx,%rcx /* zero by words */ 32 shrq $3,%rcx 37 L1: movq %rdx,%rcx /* zero remainder by bytes */
|
| D | strrchr.S | 15 movzbq %sil,%rcx 38 movq %rcx,%rdx 39 salq $16,%rcx 40 orq %rdx,%rcx 41 movq %rcx,%rdx 42 salq $32,%rcx 43 orq %rdx,%rcx 55 xorq %rcx,%rsi
|
| D | bcmp.S | 8 movq %rdx,%rcx /* compare by words */ 9 shrq $3,%rcx 14 movq %rdx,%rcx /* compare remainder by bytes */ 15 andq $7,%rcx
|
| D | memchr.S | 12 movq %rdx,%rcx /* set length of search */ 13 testq %rcx,%rcx /* test for len == 0 */
|
| /openbsd/src/lib/libc/arch/amd64/gen/ |
| D | _setjmp.S | 58 leaq __jmpxor(%rip),%rcx 61 xorq (0*8)(%rcx),%rax 68 xorq (1*8)(%rcx),%rax 71 xorq (2*8)(%rcx),%rax 73 xorq %rcx,%rcx 83 leaq __jmpxor(%rip),%rcx 85 xorq (1*8)(%rcx),%r11 88 xorq (2*8)(%rcx),%r11 95 xorq (0*8)(%rcx),%r11 101 xorq %rcx,%rcx
|
| D | sigsetjmp.S | 71 leaq __jmpxor(%rip),%rcx 74 xorq (0*8)(%rcx),%rax 81 xorq (1*8)(%rcx),%rax 84 xorq (2*8)(%rcx),%rax 86 xorq %rcx,%rcx 108 leaq __jmpxor(%rip),%rcx 110 xorq (1*8)(%rcx),%r11 113 xorq (2*8)(%rcx),%r11 120 xorq (0*8)(%rcx),%r11 126 xorq %rcx,%rcx
|
| D | setjmp.S | 73 leaq __jmpxor(%rip),%rcx 76 xorq (0*8)(%rcx),%rax 83 xorq (1*8)(%rcx),%rax 86 xorq (2*8)(%rcx),%rax 88 xorq %rcx,%rcx 108 leaq __jmpxor(%rip),%rcx 110 xorq (1*8)(%rcx),%r11 113 xorq (2*8)(%rcx),%r11 120 xorq (0*8)(%rcx),%r11 126 xorq %rcx,%rcx
|
| /openbsd/src/sys/arch/amd64/amd64/ |
| D | copy.S | 67 movq %rdx,%rcx 71 cmpq %rcx,%rax # overlapping? 73 shrq $3,%rcx # nope, copy forward by 64-bit words 77 movq %rdx,%rcx 89 1: addq %rcx,%rdi # copy backward 90 addq %rcx,%rsi 92 andq $7,%rcx # any fractional bytes? 97 movq %rdx,%rcx # copy remainder by 64-bit words 98 shrq $3,%rcx 130 movq %rax,%rcx [all …]
|
| D | vmm_support.S | 168 movq %rcx, %r9 /* L1DF MSR support */ 248 movq $MSR_FLUSH_CMD, %rcx 313 movq 0x18(%rsi), %rcx 350 movq 0x18(%rsi), %rcx 397 movq %rcx, 0x18(%rsi) 463 movq $MSR_FSBASE, %rcx 468 movq $MSR_GSBASE, %rcx 473 movq $MSR_KERNELGSBASE, %rcx 481 movq $MSR_STAR, %rcx 486 movq $MSR_LSTAR, %rcx [all …]
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/asan/ |
| D | asan_rtl_x86_64.S | 38 push %rcx ;\ 39 mov %##reg,%rcx ;\ 42 pop %rcx ;\ 49 push %rcx ;\ 50 mov %##reg,%rcx ;\ 54 pop %rcx ;\ 61 push %rcx ;\ 62 mov %##reg,%rcx ;\ 66 pop %rcx ;\
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_syscall_linux_x86_64.inc | 17 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11", 26 "rcx", "r11", "memory", "cc"); 34 "S"((u64)arg2) : "rcx", "r11", "memory", "cc"); 42 "S"((u64)arg2), "d"((u64)arg3) : "rcx", "r11", "memory", "cc"); 52 "rcx", "r11", "r10", "memory", "cc"); 64 "rcx", "r11", "r10", "r8", "memory", "cc"); 78 "r"((u64)arg6) : "rcx", "r11", "r10", "r8", "r9",
|
| /openbsd/src/sys/arch/amd64/stand/efiboot/ |
| D | start_amd64.S | 45 pushq %rcx 52 popq %rcx 54 pushq %rcx
|