id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
NetBSD/src:sys/crypto/des/arch/i386/des_cbc.S:9
movl 60(%esp), %ebp andl $7, %ebp jz .L031finish xorl %ecx, %ecx xorl %edx, %edx movl .L032cbc_enc_jmp_table(,%ebp,4),%ebp jmp *%ebp .L033ej7: movb 6(%esi), %dh sall $8, %edx .L034ej6: movb 5(%esi), %dh .L035ej5: movb 4(%esi), %dl .L036ej4: movl (%esi), %ecx jmp .L037ejend .L038ej3: movb 2(%esi), %ch ...
x86
gas-att
handwritten
NetBSD/src
sys/crypto/des/arch/i386/des_cbc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/crypto/des/arch/i386/des_cbc.S
321
380
NetBSD/src:sys/crypto/des/arch/i386/des_cbc.S:10
.L028decrypt: andl $4294967288, %ebp movl 24(%esp), %eax movl 28(%esp), %ebx jz .L041decrypt_finish .L042decrypt_loop: movl (%esi), %eax movl 4(%esi), %ebx movl %eax, 16(%esp) movl %ebx, 20(%esp) call _C_LABEL(des_decrypt3) movl 16(%esp), %eax movl 20(%esp), %ebx movl 24(%esp), %ecx movl 28(%esp), %edx ...
x86
gas-att
handwritten
NetBSD/src
sys/crypto/des/arch/i386/des_cbc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/crypto/des/arch/i386/des_cbc.S
361
420
NetBSD/src:sys/crypto/des/arch/i386/des_cbc.S:11
xorl %eax, %ecx xorl %ebx, %edx movl (%esi), %eax movl 4(%esi), %ebx .L043dj7: rorl $16, %edx movb %dl, 6(%edi) shrl $16, %edx .L044dj6: movb %dh, 5(%edi) .L045dj5: movb %dl, 4(%edi) .L046dj4: movl %ecx, (%edi) jmp .L047djend .L048dj3: rorl $16, %ecx movb %cl, 2(%edi) sall $16, %ecx .L049dj2: ...
x86
gas-att
handwritten
NetBSD/src
sys/crypto/des/arch/i386/des_cbc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/crypto/des/arch/i386/des_cbc.S
401
460
NetBSD/src:sys/crypto/des/arch/i386/des_cbc.S:12
#ifdef __ELF__ .align 16 #else .align 4 #endif .L032cbc_enc_jmp_table: .long 0 .long .L040ej1 .long .L039ej2 .long .L038ej3 .long .L036ej4 .long .L035ej5 .long .L034ej6 .long .L033ej7 #ifdef __ELF__ .align 16 #else .align 4 #endif .L051cbc_dec_jmp_table: .long 0 .long .L050dj1 .long .L049dj2 .long .L048dj3 ...
x86
gas-att
handwritten
NetBSD/src
sys/crypto/des/arch/i386/des_cbc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/crypto/des/arch/i386/des_cbc.S
441
470
NetBSD/src:sys/dev/arcbios/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.2 2014/03/04 14:58:15 joerg Exp $ GENASSYM_CONF= ${S}/dev/arcbios/genassym.cf .if !target(assym.h) assym.h: ${GENASSYM_CONF} ${GENASSYM_EXTRA} ${_MKTARGET_CREATE} cat ${GENASSYM_CONF} ${GENASSYM_EXTRA} | \ ${TOOL_GENASSYM} -- ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ ${GENASSYM_CPP...
riscv
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/Makefile.inc
1
13
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:2
.text .set noreorder #ifdef _LP64 #define FIX_V0 sll v0, v0, 0 #else #define FIX_V0 /* nothing */ #endif #define CALLFRAME2_SIZ (CALLFRAME_SIZ + 16) #define CALLFRAME2_RA (CALLFRAME_RA + 16) #define CALLFRAME2_SP (CALLFRAME_SP + 16) #ifndef _STANDALONE NESTED(arcbios_4orless_args, CALLFRAME_SIZ, ra) PTR_SUBU sp,...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/arcbios_calls.S
41
100
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:3
mfc0 k0, MIPS_COP_0_STATUS MFC0_HAZARD and k0, ~MIPS_SR_COP_1_BIT mtc0 k0, MIPS_COP_0_STATUS move MIPS_CURLWP, s0 REG_L ra, CALLFRAME_RA(sp) REG_L s0, CALLFRAME_SP(sp) jr ra PTR_ADDU sp, CALLFRAME_SIZ END(arcbios_4orless_args) NESTED(arcbios_5to8_args, CALLFRAME2_SIZ, ra) PTR_SUBU sp, CALLFRAME2_SIZ REG...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/arcbios_calls.S
81
140
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:4
mtc0 k0, MIPS_COP_0_STATUS COP0_HAZARD_FPUENABLE PTR_L t9, _C_LABEL(ARCBIOS) nop PTR_ADDU t9, t0 INT_L t9, 0(t9) nop jalr t9 move s0, MIPS_CURLWP FIX_V0 /* Disable FPU */ mfc0 k0, MIPS_COP_0_STATUS MFC0_HAZARD and k0, ~MIPS_SR_COP_1_BIT mtc0 k0, MIPS_COP_0_STATUS move MIPS_CURLWP, s0 REG_L ra, CA...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/arcbios_calls.S
121
180
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:5
#ifdef _STANDALONE #define AFV4ORLESS(name) AFVDIRECT(name) #define AFV5ORMORE(name) AFVDIRECT(name) #else #define AFV4ORLESS(name) \ .globl __CONCAT(arcbios_,name); \ NESTED(__CONCAT(arcbios_,name), 0, ra); \ b arcbios_4orless_args; \ li t0, __CONCAT(AFV_,name); \ END(__CONCAT(arcbios_,name)) #defin...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/arcbios_calls.S
161
220
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:6
AFV4ORLESS(GetComponent) /* void *(*GetComponent)(char *path); */ AFV4ORLESS(SaveConfiguration) /* long (*SaveConfiguration)(void); */ AFV4ORLESS(GetSystemId) /* void *(*GetSystemId)(void); */ AFV4ORLESS(GetMemoryDescriptor) /* void *(*GetMemoryDescriptor)(void *); */ #if !defined(sgimips) AFV4ORLESS(Signal) /* void ...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/arcbios/arcbios_calls.S
201
226
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:2
#ifdef _LP64 #define FIX_V0 sll v0, v0, 0 #else #define FIX_V0 /* nothing */ #endif #define CALLFRAME2_SIZ (CALLFRAME_SIZ + 16) #define CALLFRAME2_RA (CALLFRAME_RA + 16) #define CALLFRAME2_SP (CALLFRAME_SP + 16) #ifndef _STANDALONE NESTED(arcbios_4orless_args, CALLFRAME_SIZ, ra) PTR_SUBU sp, CALLFRAME_SIZ REG_S ...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
76089532634048109ad9adf1e93a9e59d9ca34b3
github
kernel
https://github.com/NetBSD/src/blob/76089532634048109ad9adf1e93a9e59d9ca34b3/sys/dev/arcbios/arcbios_calls.S
41
100
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:3
REG_S ra, CALLFRAME2_RA(sp) REG_S s0, CALLFRAME2_SP(sp) #ifdef __mips_o32 INT_L ta0, CALLFRAME2_SIZ+16(sp) # load 5th arg INT_L ta1, CALLFRAME2_SIZ+20(sp) # load 6th arg INT_L ta2, CALLFRAME2_SIZ+24(sp) # load 7th arg INT_L ta3, CALLFRAME2_SIZ+28(sp) # load 8th arg INT_S ta0, 16(sp) # save 5th arg on stack (o3...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
76089532634048109ad9adf1e93a9e59d9ca34b3
github
kernel
https://github.com/NetBSD/src/blob/76089532634048109ad9adf1e93a9e59d9ca34b3/sys/dev/arcbios/arcbios_calls.S
81
140
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:4
#define AFVDIRECT(name) \ .globl __CONCAT(arcbios_,name); \ LEAF(__CONCAT(arcbios_,name)); \ PTR_L t9, _C_LABEL(ARCBIOS); \ nop; \ INT_L t9, __CONCAT(AFV_,name)(t9); \ nop; \ jr t9; \ nop; \ END(__CONCAT(arcbios_,name)) #ifdef _STANDALONE #define AFV4ORLESS(name) AFVDI...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
76089532634048109ad9adf1e93a9e59d9ca34b3
github
kernel
https://github.com/NetBSD/src/blob/76089532634048109ad9adf1e93a9e59d9ca34b3/sys/dev/arcbios/arcbios_calls.S
121
180
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:5
AFVDIRECT(Reboot) /* void (*Reboot)(void) __dead; */ AFVDIRECT(EnterInteractiveMode) /* void (*EnterInteractiveMode)(void) __dead; */ #ifndef sgimips AFVDIRECT(ReturnFromMain) /* void (*ReturnFromMain)(void) __dead; */ #endif AFV4ORLESS(GetPeer) /* void *(*GetPeer)(void *); */ AFV4ORLESS(GetChild) /* void *(*GetChil...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
76089532634048109ad9adf1e93a9e59d9ca34b3
github
kernel
https://github.com/NetBSD/src/blob/76089532634048109ad9adf1e93a9e59d9ca34b3/sys/dev/arcbios/arcbios_calls.S
161
197
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:2
#define FIX_V0 sll v0, v0, 0 #else #define FIX_V0 /* nothing */ #endif #define CALLFRAME2_SIZ (CALLFRAME_SIZ + 16) #define CALLFRAME2_RA (CALLFRAME_RA + 16) #define CALLFRAME2_SP (CALLFRAME_SP + 16) #ifndef _STANDALONE NESTED(arcbios_4orless_args, CALLFRAME_SIZ, ra) PTR_SUBU sp, CALLFRAME_SIZ REG_S ra, CALLFRAME...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
a91efcabbf0115216e73529ab53bd6cac1fbc8e6
github
kernel
https://github.com/NetBSD/src/blob/a91efcabbf0115216e73529ab53bd6cac1fbc8e6/sys/dev/arcbios/arcbios_calls.S
41
100
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:3
REG_S s0, CALLFRAME2_SP(sp) #ifdef __mips_o32 INT_L ta0, CALLFRAME2_SIZ+16(sp) # load 5th arg INT_L ta1, CALLFRAME2_SIZ+20(sp) # load 6th arg INT_L ta2, CALLFRAME2_SIZ+24(sp) # load 7th arg INT_L ta3, CALLFRAME2_SIZ+28(sp) # load 8th arg INT_S ta0, 16(sp) # save 5th arg on stack (o32) INT_S ta1, 20(sp) # sav...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
a91efcabbf0115216e73529ab53bd6cac1fbc8e6
github
kernel
https://github.com/NetBSD/src/blob/a91efcabbf0115216e73529ab53bd6cac1fbc8e6/sys/dev/arcbios/arcbios_calls.S
81
140
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:4
.globl __CONCAT(arcbios_,name); \ LEAF(__CONCAT(arcbios_,name)); \ PTR_L t9, _C_LABEL(ARCBIOS); \ nop; \ INT_L t9, __CONCAT(AFV_,name)(t9); \ nop; \ jr t9; \ nop; \ END(__CONCAT(arcbios_,name)) #ifdef _STANDALONE #define AFV4ORLESS(name) AFVDIRECT(name) #define AFV5ORMORE(na...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
a91efcabbf0115216e73529ab53bd6cac1fbc8e6
github
kernel
https://github.com/NetBSD/src/blob/a91efcabbf0115216e73529ab53bd6cac1fbc8e6/sys/dev/arcbios/arcbios_calls.S
121
180
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:5
#ifndef sgimips AFVDIRECT(ReturnFromMain) /* void (*ReturnFromMain)(void) __dead; */ #endif AFV4ORLESS(GetPeer) /* void *(*GetPeer)(void *); */ AFV4ORLESS(GetChild) /* void *(*GetChild)(void *); */ AFV4ORLESS(GetParent) /* void *(*GetParent)(void *); */ AFV4ORLESS(GetConfigurationData) /* long (*GetConfigurationData...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
a91efcabbf0115216e73529ab53bd6cac1fbc8e6
github
kernel
https://github.com/NetBSD/src/blob/a91efcabbf0115216e73529ab53bd6cac1fbc8e6/sys/dev/arcbios/arcbios_calls.S
161
195
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:2
#define FIX_V0 sll v0, v0, 0 #else #define FIX_V0 /* nothing */ #endif #define CALLFRAME2_SIZ (CALLFRAME_SIZ + 16) #define CALLFRAME2_RA (CALLFRAME_RA + 16) #define CALLFRAME2_SP (CALLFRAME_SP + 16) #ifndef _STANDALONE NESTED(arcbios_4orless_args, CALLFRAME_SIZ, ra) PTR_SUBU sp, CALLFRAME_SIZ REG_S ra, CALLFRAME...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/dev/arcbios/arcbios_calls.S
41
100
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:3
#ifdef __mips_o32 INT_L ta0, CALLFRAME2_SIZ+16(sp) # load 5th arg INT_L ta1, CALLFRAME2_SIZ+20(sp) # load 6th arg INT_L ta2, CALLFRAME2_SIZ+24(sp) # load 7th arg INT_L ta3, CALLFRAME2_SIZ+28(sp) # load 8th arg INT_S ta0, 16(sp) # save 5th arg on stack (o32) INT_S ta1, 20(sp) # save 6th arg on stack (o32) INT...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/dev/arcbios/arcbios_calls.S
81
140
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:4
PTR_L t9, _C_LABEL(ARCBIOS); \ nop; \ INT_L t9, __CONCAT(AFV_,name)(t9); \ nop; \ jr t9; \ nop; \ END(__CONCAT(arcbios_,name)) #ifdef _STANDALONE #define AFV4ORLESS(name) AFVDIRECT(name) #define AFV5ORMORE(name) AFVDIRECT(name) #else #define AFV4ORLESS(name) \ .globl __CONCAT(...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/dev/arcbios/arcbios_calls.S
121
180
NetBSD/src:sys/dev/arcbios/arcbios_calls.S:5
#endif AFV4ORLESS(GetPeer) /* void *(*GetPeer)(void *); */ AFV4ORLESS(GetChild) /* void *(*GetChild)(void *); */ AFV4ORLESS(GetParent) /* void *(*GetParent)(void *); */ AFV4ORLESS(GetConfigurationData) /* long (*GetConfigurationData)(void *, void *); */ AFV4ORLESS(AddChild) /* void *(*AddChild)(void *, void *); */ ...
arm64
gas-like
handwritten
NetBSD/src
sys/dev/arcbios/arcbios_calls.S
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/dev/arcbios/arcbios_calls.S
161
193
NetBSD/src:sys/dev/microcode/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.3 2006/06/07 19:54:04 rpaulo Exp $ FIRMPATH!= basename ${.CURDIR} FIRMPATH:= ${FIRMWAREDIR}/${FIRMPATH} FILESDIR= ${FIRMPATH} FILESOWN= ${FIRMWAREOWN} FILESGRP= ${FIRMWAREGRP} FILESMODE= ${FIRMWAREMODE}
unknown
gas-like
handwritten
NetBSD/src
sys/dev/microcode/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/microcode/Makefile.inc
1
9
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_svmfunc.S:2
#define ASM_NVMM #include <dev/nvmm/x86/nvmm_x86.h> .text #define HOST_SAVE_GPRS \ pushq %rbx ;\ pushq %rbp ;\ pushq %r12 ;\ pushq %r13 ;\ pushq %r14 ;\ pushq %r15 #define HOST_RESTORE_GPRS \ popq %r15 ;\ popq %r14 ;\ popq %r13 ;\ popq %r12 ;\ popq %rbp ;\ popq %rbx #define HOST_SAVE_MSR(msr...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
41
100
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_svmfunc.S:3
movzwq %ax,%rdx ;\ movq CPUVAR(GDT),%rax ;\ andq $~0x0200,4(%rax,%rdx, 1) ;\ ltrw %dx #define HOST_SAVE_LDT \ sldtw %ax ;\ pushq %rax #define HOST_RESTORE_LDT \ popq %rax ;\ lldtw %ax /* * All GPRs except RAX and RSP, which are taken care of in VMCB. */ #define GUEST_SAVE_GPRS(reg) \ movq %rcx,(N...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
81
140
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_svmfunc.S:4
movq (NVMM_X64_GPR_R8 * 8)(reg),%r8 ;\ movq (NVMM_X64_GPR_R9 * 8)(reg),%r9 ;\ movq (NVMM_X64_GPR_R10 * 8)(reg),%r10 ;\ movq (NVMM_X64_GPR_R11 * 8)(reg),%r11 ;\ movq (NVMM_X64_GPR_R12 * 8)(reg),%r12 ;\ movq (NVMM_X64_GPR_R13 * 8)(reg),%r13 ;\ movq (NVMM_X64_GPR_R14 * 8)(reg),%r14 ;\ movq (NVMM_X64_GPR_R15 * 8)(...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
121
180
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_svmfunc.S:5
popq %rax /* Run the VM. */ vmload %rax vmrun %rax vmsave %rax /* Get RAX. */ popq %rax /* Save the Guest GPRs. */ GUEST_SAVE_GPRS(%rax) /* Restore the Host LDT. */ HOST_RESTORE_LDT /* Reset FS and GS. */ xorq %rax,%rax movw %ax,%fs movw %ax,%gs /* Restore the Host GSBASE. */ HOST_RESTORE_MSR(MSR_...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_svmfunc.S
161
193
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S:2
#define ASM_NVMM #include <dev/nvmm/x86/nvmm_x86.h> .text /* * %rdi = *pa */ ENTRY(_vmx_vmxon) vmxon (%rdi) jz .Lfail_vmxon jc .Lfail_vmxon xorq %rax,%rax retq .Lfail_vmxon: movq $-1,%rax retq END(_vmx_vmxon) /* * no arg */ ENTRY(_vmx_vmxoff) vmxoff jz .Lfail_vmxoff jc .Lfail_vmxoff xorq %rax,%rax r...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
41
100
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S:3
pushq %r12 ;\ pushq %r13 ;\ pushq %r14 ;\ pushq %r15 #define HOST_RESTORE_GPRS \ popq %r15 ;\ popq %r14 ;\ popq %r13 ;\ popq %r12 ;\ popq %rbp ;\ popq %rbx #define HOST_SAVE_RAX \ pushq %rax #define HOST_RESTORE_RAX \ popq %rax #define HOST_SAVE_LDT \ sldtw %ax ;\ pushq %rax #define HOST_RE...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
81
140
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S:4
movq %r10,(NVMM_X64_GPR_R10 * 8)(reg) ;\ movq %r11,(NVMM_X64_GPR_R11 * 8)(reg) ;\ movq %r12,(NVMM_X64_GPR_R12 * 8)(reg) ;\ movq %r13,(NVMM_X64_GPR_R13 * 8)(reg) ;\ movq %r14,(NVMM_X64_GPR_R14 * 8)(reg) ;\ movq %r15,(NVMM_X64_GPR_R15 * 8)(reg) #define GUEST_RESTORE_GPRS(reg) \ movq (NVMM_X64_GPR_RCX * 8)(reg),...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
121
180
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S:5
movq %rsp,%rsi vmwrite %rsi,%rdi /* Restore the Guest GPRs. */ GUEST_RESTORE_GPRS(%rax) /* Run the VM. */ vmlaunch /* Failure. */ addq $8,%rsp HOST_RESTORE_LDT HOST_RESTORE_GPRS movq $-1,%rax retq END(vmx_vmlaunch) /* * %rdi = VA of guest GPR state */ ENTRY(vmx_vmresume) /* Save the Host GPRs. */ HOS...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
161
220
NetBSD/src:sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S:6
vmresume /* Failure. */ addq $8,%rsp HOST_RESTORE_LDT HOST_RESTORE_GPRS movq $-1,%rax retq END(vmx_vmresume) /* * The CPU jumps here after a #VMEXIT. */ ENTRY(vmx_resume_rip) /* Save the Guest GPRs. RAX done manually. */ pushq %rax movq 8(%rsp),%rax GUEST_SAVE_GPRS(%rax) popq %rbx movq %rbx,(NVMM_X64_GP...
x86_64
gas-att
handwritten
NetBSD/src
sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
201
248
NetBSD/src:sys/dtb/arm/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.2 2026/01/19 05:25:20 skrll Exp $ DTSARCH= arm DTSGNUARCH= arm arm64 riscv ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/arm/boot/dts
arm
gas-like
handwritten
NetBSD/src
sys/dtb/arm/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dtb/arm/Makefile.inc
1
6
NetBSD/src:sys/dtb/arm/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.1 2026/01/18 11:34:09 skrll Exp $ DTSARCH= arm DTSGNUARCH= arm arm64 riscv ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/arm/boot/dts # $NetBSD: Makefile.inc,v 1.1 2026/01/18 11:34:09 skrll Exp $ DTSARCH= arm DTSGNUARCH= arm arm64 riscv ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/arm/boot/dt...
arm
gas-like
handwritten
NetBSD/src
sys/dtb/arm/Makefile.inc
BSD-2-Clause
c72b8904b02ecdcc11341047a97826b0a07121d8
github
kernel
https://github.com/NetBSD/src/blob/c72b8904b02ecdcc11341047a97826b0a07121d8/sys/dtb/arm/Makefile.inc
1
12
NetBSD/src:sys/dtb/arm64/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.1 2020/05/18 21:19:35 jmcneill Exp $ DTSARCH= arm aarch64 DTSGNUARCH= arm arm64 ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/arm64/boot/dts
arm64
gas-like
handwritten
NetBSD/src
sys/dtb/arm64/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dtb/arm64/Makefile.inc
1
6
NetBSD/src:sys/dtb/riscv/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.2 2024/08/12 10:55:51 skrll Exp $ DTSARCH= riscv DTSGNUARCH= riscv arm64 ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/riscv/boot/dts
riscv
gas-like
handwritten
NetBSD/src
sys/dtb/riscv/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/dtb/riscv/Makefile.inc
1
6
NetBSD/src:sys/dtb/riscv/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.1 2021/11/13 10:13:42 skrll Exp $ DTSARCH= riscv DTSGNUARCH= riscv ARCHDTSDIR= $S/external/gpl2/dts/dist/arch/riscv/boot/dts
riscv
gas-like
handwritten
NetBSD/src
sys/dtb/riscv/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/dtb/riscv/Makefile.inc
1
6
NetBSD/src:sys/kern/Make.tags.inc:1
# $NetBSD: Make.tags.inc,v 1.24 2011/01/21 23:23:44 dyoung Exp $ # # from: @(#)Make.tags.inc 8.1 (Berkeley) 6/11/93 # Common files for "make tags". # Included by the Makefile for each architecture. # Put the ../sys stuff near the end so that subroutine definitions win when # there is a struct tag with the same name (...
arm64
gas-like
handwritten
NetBSD/src
sys/kern/Make.tags.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/kern/Make.tags.inc
1
21
NetBSD/src:sys/lib/libgnuefi/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.5 2018/05/27 01:14:50 christos Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # GNUEFIDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/gnuefi. # GNUEFI_AS may b...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libgnuefi/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libgnuefi/Makefile.inc
1
60
NetBSD/src:sys/lib/libgnuefi/Makefile.inc:2
AS=${AS:q} AFLAGS=${AFLAGS:q} \ LORDER=${LORDER:q} \ TSORT=${TSORT:q} \ LD=${LD:q} STRIP=${STRIP:q} \ AR=${AR:q} NM=${NM:q} \ RANLIB=${RANLIB:q} SIZE=${SIZE:q} \ MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \ GNUEFICPPFLAGS=${CPPFLAGS:S@^-I.@-I${GNUEFIDOTDIR}@g:q} \ GNUEFIMI...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libgnuefi/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libgnuefi/Makefile.inc
41
88
NetBSD/src:sys/lib/libkern/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.52 2025/12/02 15:41:48 thorpej Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # KERNDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. # KERN_AS may be set ...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/Makefile.inc
1
60
NetBSD/src:sys/lib/libkern/Makefile.inc:2
LIBKERN_MD_FLAGS?= none KERNMAKE= \ cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \ KERNDIR=${KERNDIR:q} \ CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \ AS=${AS:q} AFLAGS=${AFLAGS:q} \ LORDER=${LORDER:q} \ TSORT=${TSORT:q} \ COPTS=${COPTS:q} \ LD=${LD:q} STRIP=${STRIP:q} \ AR=$...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/Makefile.inc
41
100
NetBSD/src:sys/lib/libkern/Makefile.inc:3
@${KERNMAKE} ${LIBKERNLNBN} clean: .NOTMAIN cleankernlib cleankernlib: .MAKE .NOTMAIN @echo cleaning the kern library objects @if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi cleandir distclean: .NOTMAIN cleandirkernlib cleandirkernlib: .MAKE .NOTMAIN @echo cleandiring the kern library objects @if [ -d "${K...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/Makefile.inc
81
104
NetBSD/src:sys/lib/libkern/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.51 2025/12/02 14:50:51 thorpej Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # KERNDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. # KERN_AS may be set ...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
903f788edea898cbaa47e388fad8f18054eccfe1
github
kernel
https://github.com/NetBSD/src/blob/903f788edea898cbaa47e388fad8f18054eccfe1/sys/lib/libkern/Makefile.inc
1
60
NetBSD/src:sys/lib/libkern/Makefile.inc:2
LIBKERN_MD_FLAGS?= none KERNMAKE= \ cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \ KERNDIR=${KERNDIR:q} \ CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \ AS=${AS:q} AFLAGS=${AFLAGS:q} \ LORDER=${LORDER:q} \ TSORT=${TSORT:q} \ COPTS=${COPTS:q} \ LD=${LD:q} STRIP=${STRIP:q} \ AR=$...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
903f788edea898cbaa47e388fad8f18054eccfe1
github
kernel
https://github.com/NetBSD/src/blob/903f788edea898cbaa47e388fad8f18054eccfe1/sys/lib/libkern/Makefile.inc
41
100
NetBSD/src:sys/lib/libkern/Makefile.inc:3
@${KERNMAKE} ${LIBKERNLNBN} clean: .NOTMAIN cleankernlib cleankernlib: .MAKE .NOTMAIN @echo cleaning the kern library objects @if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi cleandir distclean: .NOTMAIN cleandirkernlib cleandirkernlib: .MAKE .NOTMAIN @echo cleandiring the kern library objects @if [ -d "${K...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
903f788edea898cbaa47e388fad8f18054eccfe1
github
kernel
https://github.com/NetBSD/src/blob/903f788edea898cbaa47e388fad8f18054eccfe1/sys/lib/libkern/Makefile.inc
81
104
NetBSD/src:sys/lib/libkern/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.50 2025/09/20 06:36:50 mrg Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # KERNDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. # KERN_AS may be set to '...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
0104ab5d5934b62e15757d2626c5796ea2d6c7d5
github
kernel
https://github.com/NetBSD/src/blob/0104ab5d5934b62e15757d2626c5796ea2d6c7d5/sys/lib/libkern/Makefile.inc
1
60
NetBSD/src:sys/lib/libkern/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.49 2023/08/30 18:47:56 christos Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # KERNDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. # KERN_AS may be set...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3abf0858264e1f0424bf30e03955b0f9491bb13a
github
kernel
https://github.com/NetBSD/src/blob/3abf0858264e1f0424bf30e03955b0f9491bb13a/sys/lib/libkern/Makefile.inc
1
60
NetBSD/src:sys/lib/libkern/Makefile.inc:2
LIBKERN_MD_FLAGS?= none KERNMAKE= \ cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \ KERNDIR=${KERNDIR:q} \ CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \ AS=${AS:q} AFLAGS=${AFLAGS:q} \ LORDER=${LORDER:q} \ TSORT=${TSORT:q} \ COPTS=${COPTS:q} \ LD=${LD:q} STRIP=${STRIP:q} \ AR=$...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3abf0858264e1f0424bf30e03955b0f9491bb13a
github
kernel
https://github.com/NetBSD/src/blob/3abf0858264e1f0424bf30e03955b0f9491bb13a/sys/lib/libkern/Makefile.inc
41
100
NetBSD/src:sys/lib/libkern/Makefile.inc:3
@${KERNMAKE} ${LIBKERNLNBN} clean: .NOTMAIN cleankernlib cleankernlib: .NOTMAIN @echo cleaning the kern library objects @if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi cleandir distclean: .NOTMAIN cleandirkernlib cleandirkernlib: .NOTMAIN @echo cleandiring the kern library objects @if [ -d "${KERNDST}" ]; ...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3abf0858264e1f0424bf30e03955b0f9491bb13a
github
kernel
https://github.com/NetBSD/src/blob/3abf0858264e1f0424bf30e03955b0f9491bb13a/sys/lib/libkern/Makefile.inc
81
104
NetBSD/src:sys/lib/libkern/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.48 2022/06/19 18:28:16 rillig Exp $ # # Configuration variables (default values are below): # # S must be set to the top of the 'sys' tree. # KERNDST may be set to the location of the directory where library # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. # KERN_AS may be set t...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/Makefile.inc
1
60
NetBSD/src:sys/lib/libkern/Makefile.inc:2
LIBKERN_MD_FLAGS?= none KERNMAKE= \ cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \ KERNDIR=${KERNDIR:q} \ CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \ AS=${AS:q} AFLAGS=${AFLAGS:q} \ LORDER=${LORDER:q} \ TSORT=${TSORT:q} \ LD=${LD:q} STRIP=${STRIP:q} \ AR=${AR:q} NM=${NM:q} \ ...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/Makefile.inc
41
100
NetBSD/src:sys/lib/libkern/Makefile.inc:3
clean: .NOTMAIN cleankernlib cleankernlib: .NOTMAIN @echo cleaning the kern library objects @if [ -d "${KERNDST}" ]; then ${KERNMAKE} clean; fi cleandir distclean: .NOTMAIN cleandirkernlib cleandirkernlib: .NOTMAIN @echo cleandiring the kern library objects @if [ -d "${KERNDST}" ]; then ${KERNMAKE} cleandir; fi...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/Makefile.inc
81
103
NetBSD/src:sys/lib/libkern/arch/aarch64/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.2 2018/03/16 07:56:50 ryo Exp $ SRCS+= byte_swap_2.S byte_swap_4.S byte_swap_8.S SRCS+= memcmp.S SRCS+= memcpy.S SRCS+= memmove.S SRCS+= memset.S #SRCS+= strcmp.S #SRCS+= strncmp.S
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/aarch64/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/aarch64/Makefile.inc
1
9
NetBSD/src:sys/lib/libkern/arch/alpha/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.28 2009/08/14 19:23:53 dsl Exp $ SRCS+= _mcount.S SRCS+= byte_swap_2.S byte_swap_4.S SRCS+= ffs.S SRCS+= memcpy.S memmove.S SRCS+= softfloat.c # `source' files built from m4 source SRCS+= __divqu.S __divq.S __divlu.S __divl.S SRCS+= __remqu.S __remq.S __remlu.S __reml.S CLEANFILES+= __div...
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/alpha/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/alpha/Makefile.inc
1
54
NetBSD/src:sys/lib/libkern/arch/arm/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.21 2014/01/29 23:37:18 joerg Exp $ SRCS+= byte_swap_2.S byte_swap_4.S SRCS+= ffs.S SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S .if !empty(MACHINE_ARCH:Mearm*) SRCS+= unwind_stub.c .endif .if empty(MACHINE_ARCH:Mearmv7*) CPUFLAGS.ffs.S+= -marm .endif CPUFLAGS.divide.S+= -...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/arm/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/arm/Makefile.inc
1
22
NetBSD/src:sys/lib/libkern/arch/hppa/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.13 2022/06/13 16:03:07 skrll Exp $ SRCS+= milli.S SRCS+= bcopy.S memcpy.S memmove.S SRCS+= milli_extra.S # XXX: spcopy does not really belong in libkern in the first place .ifndef RUMPKERNEL SRCS+= spcopy.S .endif SRCS+= ffs.c bswap16.c bswap32.c
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/Makefile.inc
1
12
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:2
#include "opt_multiprocessor.h" #include <machine/cpu.h> #endif #include <machine/asm.h> #include <machine/frame.h> #include <machine/reg.h> #if defined(LIBC_SCCS) && !defined(lint) RCSID("$NetBSD: bcopy.S,v 1.17 2021/08/09 19:57:58 andvar Exp $") #endif /* LIBC_SCCS and not lint */ /* * The stbys instruction is ...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
41
100
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:3
! \ /* ! \ * Loop storing 16 bytes at a time. Since count ! \ * may be > INT_MAX, we have to be careful and ! \ * avoid comparisons that treat it as a signed ! \ * quantity, until after this loop, when count ! \ * is guaranteed to be less than 16. ! \ */ ! \ comib,>>=,n 15, count, _LAB...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
81
140
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:5
* 0 for a forward copy, and -1 for a backwards copy. * These terms are used to discriminate the register computations * below. * * When copying forward, then, the first register used with * the first vshd will be 19 + (3 - ((0 - 1) & 3)), or %t4, * which matches _COPYS' requirement that the word last loaded * be...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
161
220
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:6
*/ ! \ comib,>>=,n 15, count, _LABEL(S_skip16) ! \ .label _LABEL(S_loop16) ! \ addi -16, count, count ! \ ldws,cmplt m*4(src_spc, src_off), %t1 ! \ ldws,cmplt m*4(src_spc, src_off), %t2 ! \ ldws,cmplt m*4(src_spc, src_off), %t3 ! \ _VSHD(0, m, 1) /* vshd %t4, %t1, %r1 */ ! \ ldws,cmplt m*4(src...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
201
260
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:7
*/ ! \ mfctl %cr11, %t1 ! \ addi 4, count, count ! \ shd %r0, %t1, 3, %t1 ! \ ! \ /* ! \ * If we're copying forward, the shift count ! \ * is the number of bytes remaining in the ! \ * FIFO, and we want to subtract it from src_off. ! \ * If we're copying backwards, (4 - shif...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
241
300
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:8
* will be in the first 4-byte word we read. ! \ * Ditto for writing the destination offset. ! \ */ ! \ extru src_off, 31, 2, %t1 ! \ extru dst_off, 31, 2, %t2 ! \ subi 4, %t1, %t1 ! \ subi 4, %t2, %t2 ! \ ! \ /* ! \ * Calculate the byte shift required. A ! \ * positiv...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
281
340
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:9
stbys,b,m %t4, 4(dst_spc, dst_off) ! \ ! \ /* Do the rest of the copy. */ ! \ _COPY(src_spc,src_off,dst_spc,dst_off,count,ma,1) ! \ ! \ .label _LABEL(_shifting) ! \ ! \ /* ! \ * If shift < 0, we need to shift words to the ! \ * left. Since we can't do this directly, we ! ...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
321
380
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:10
add dst_off, count, dst_off ! \ ! \ /* ! \ * Since in the shifting-right case we ! \ * will load 8 bytes before checking ! \ * count, to keep things simple, branch ! \ * to the byte copier unless we're ! \ * copying at least 8 bytes. ! \ */ ! \ comib,>>,n 8, count, _LA...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
361
420
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:11
* apparent at the end of the shifting code, where ! \ * we "back up" src_off to correspond to count, ! \ * as opposed to flushing the FIFO. ! \ * ! \ * We calculated above how many bytes our first ! \ * store will store, so update count now. ! \ * ! \ * If the shift is zero, we use a copy...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
401
460
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:12
* right. If the addi is not nullified, we are ! \ * shifting to the left, so we nullify the load. ! \ * we branch if we're shifting to the ! \ */ ! \ copy %r0, %t3 ! \ comb,<=,n %r0, %t1, 0 ! \ addi,tr 4, %t1, %t1 ! \ ldws,mb -4(src_spc, src_off), %t3 ! \ ! \ /* ! \ *...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
441
500
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:13
ldbs,mb -1(src_spc, src_off), %r1 ! \ addib,<> -1, count, -12 ! \ stbs,mb %r1, -1(dst_spc, dst_off) ! \ b,n _LABEL(_done) #endif /* * If none of the following are defined, define BCOPY. */ #if !(defined(SPCOPY) || defined(MEMCPY) || defined(MEMMOVE)) #define BCOPY #endif #if defined(SPCOPY) && !defined(_...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
481
540
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:14
.asciz "spcopy: curlwp == NULL\n" .align 8 Lspcopy_curlwp_ok: #endif /* DIAGNOSTIC */ ldil L%spcopy_fault, %r1 ldw L_PCB(%r31), %r31 ldo R%spcopy_fault(%r1), %r1 stw %r1, PCB_ONFAULT(%r31) /* Setup the space registers. */ mfsp %sr2, %ret1 mtsp %arg0, %sr1 mtsp %arg2, %sr2 /* Get the len argum...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
521
580
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:15
_LABEL(_done): bv,n %r0(%rp) nop EXIT(memcpy) #endif /* MEMCPY */ #ifdef BCOPY /* * void bcopy(const void *src, void *dst, size_t len); */ LEAF_ENTRY(bcopy) copy %arg0, %r1 copy %arg1, %arg0 copy %r1, %arg1 /* FALLTHROUGH */ #define _LABEL_F(l) __CONCAT(bcopy_F,l) #define _LABEL_R(l) __CONCAT(bcopy_R,l) #endif...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
561
618
NetBSD/src:sys/lib/libkern/arch/hppa/bcopy.S:16
_COPY_FORWARD(%sr0,%arg1,%sr0,%arg0,%arg2) #undef _LABEL _LABEL_R(_go): #define _LABEL _LABEL_R _COPY_REVERSE(%sr0,%arg1,%sr0,%arg0,%arg2) #undef _LABEL _LABEL_F(_done): _LABEL_R(_done): bv,n %r0(%rp) nop #ifdef BCOPY EXIT(bcopy) #else EXIT(memmove) #endif #endif /* BCOPY || MEMMOVE */
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/bcopy.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/bcopy.S
601
618
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:1
; $NetBSD: milli.S,v 1.3 2022/06/13 16:00:05 skrll Exp $ ; ; $OpenBSD: milli.S,v 1.5 2001/03/29 04:08:20 mickey Exp $ ; ; (c) Copyright 1986 HEWLETT-PACKARD COMPANY ; ; To anyone who acknowledges that this file is provided "AS IS" ; without any express or implied warranty: ; permission to use, copy, modify, and...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1
60
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:2
r9: .equ 9 r10: .equ 10 r11: .equ 11 r12: .equ 12 r13: .equ 13 r14: .equ 14 r15: .equ 15 r16: .equ 16 r17: .equ 17 r18: .equ 18 r19: .equ 19 r20: .equ 20 r21: .equ 21 r22: .equ 22 r23: .equ 23 r24: .equ 24 r25: .equ 25 r26: .equ 26 r27: .equ 27 r28: .equ 28 r29: .equ 29 r30: .equ 30 r31: .equ 31 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
41
100
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:3
r29: .equ 29 r30: .equ 30 r31: .equ 31 ; Hardware Space Registers sr0: .equ 0 sr1: .equ 1 sr2: .equ 2 sr3: .equ 3 sr4: .equ 4 sr5: .equ 5 sr6: .equ 6 sr7: .equ 7 ; Hardware Floating Point Registers fr0: .equ 0 fr1: .equ 1 fr2: .equ 2 fr3: .equ 3 fr4: .equ 4 fr5: .equ 5 fr6: .equ 6 fr7: .equ 7 fr8: .e...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
81
140
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:4
fr8: .equ 8 fr9: .equ 9 fr10: .equ 10 fr11: .equ 11 fr12: .equ 12 fr13: .equ 13 fr14: .equ 14 fr15: .equ 15 fr16: .equ 16 fr17: .equ 17 fr18: .equ 18 fr19: .equ 19 fr20: .equ 20 fr21: .equ 21 fr22: .equ 22 fr23: .equ 23 fr24: .equ 24 fr25: .equ 25 fr26: .equ 26 fr27: .equ 27 fr28: .equ 28 fr29: .eq...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
121
180
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:5
fr28: .equ 28 fr29: .equ 29 fr30: .equ 30 fr31: .equ 31 ; Hardware Control Registers cr0: .equ 0 rctr: .equ 0 ; Recovery Counter Register cr8: .equ 8 ; Protection ID 1 pidr1: .equ 8 cr9: .equ 9 ; Protection ID 2 pidr2: .equ 9 cr10: .equ 10 ccr: .equ 10 ; Coprocessor Configuration Register cr11: .equ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
161
220
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:6
iva: .equ 14 ; Interrupt Vector Address cr15: .equ 15 eiem: .equ 15 ; External Interrupt Enable Mask cr16: .equ 16 itmr: .equ 16 ; Interval Timer cr17: .equ 17 pcsq: .equ 17 ; Program Counter Space queue cr18: .equ 18 pcoq: .equ 18 ; Program Counter Offset queue cr19: .equ 19 iir: .equ 19 ; Interr...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
201
260
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:7
ppda: .equ 24 ; Physical Page Directory Address tr0: .equ 24 ; Temporary register 0 cr25: .equ 25 hta: .equ 25 ; Hash Table Address tr1: .equ 25 ; Temporary register 1 cr26: .equ 26 tr2: .equ 26 ; Temporary register 2 cr27: .equ 27 tr3: .equ 27 ; Temporary register 3 cr28: .equ 28 tr4: .equ 28 ;...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
241
300
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:8
rp: .equ r2 ; return pointer mrp: .equ r31 ; millicode return pointer ret0: .equ r28 ; return value ret1: .equ r29 ; return value (high part of double) sl: .equ r29 ; static link sp: .equ r30 ; stack pointer dp: .equ r27 ; data pointer arg0: .equ r26 ; argument arg1: .equ r25 ; argument or high part of double a...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
281
340
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:9
;;;;;;;;;;;;;;;; ; Additional code subspaces should have ALIGN=8 for an interspace BV ; and should have SORT=24. ; ; For an incomplete executable (program bound to shared libraries), ; sort keys $GLOBAL$ -1 and $GLOBAL$ -2 are reserved for the $DLT$ ; and $PLT$ subspaces respectively. ;;;;;;;;;;;;;;; .text .EXPORT $...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
321
380
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:10
addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
361
420
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:11
addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 ds r1,arg1,r1 addc ret1,ret1,ret1 movb,>=,n r1,ret1,remI300 add,< arg1,r0,r0 add,tr r1,arg1,ret1 sub r1,arg1,ret1 remI300: add,>= arg0,r0,r0 sub r0,ret1,ret1 bv r0(r31) nop .EXIT .PROCEND bit1: .equ 1 bit30: .equ ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
401
460
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:12
ldsid (22),r1 mtsp r1,sr0 be 0(sr0,r22) stw rp,-24(sp) .procend $$sh_func_adrs: .proc .callinfo NO_CALLS .export $$sh_func_adrs, millicode ldo 0(r26),ret1 dep r0,30,1,r26 probew (r26),r31,r22 extru,= r22,31,1,r22 bv r0(r31) ldws 0(r26),ret1 .procend #endif temp: .EQU r1 retreg: .EQU ret1 ; r29 .expor...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
441
500
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:13
ds r0,temp,r0 ; set V-bit to 1 normal: add arg0,arg0,retreg ; shift msb bit into carry ds r0,arg1,temp ; 1st divide step, if no carry addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 2nd divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 3rd di...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
481
540
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:14
addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 20th divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 21st divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 22nd divide step addc retreg,retreg,retreg ; s...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
521
580
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:15
extru arg0,30,31,retreg b,n $$divU_3 ; divisor == 3 nop bv 0(r31) ; divisor == 4 extru arg0,29,30,retreg b,n $$divU_5 ; divisor == 5 nop b,n $$divU_6 ; divisor == 6 nop b,n $$divU_7 ; divisor == 7 nop bv 0(r31) ; divisor == 8 extru arg0,28,29,retreg b,n $$divU_9 ; divisor == 9 nop b,n $$di...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
561
620
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:16
; x2 .EQU arg0 ; r26 t1: .EQU arg1 ; r25 ; x1 .EQU ret1 ; r29 ;_____________________________________________________________________________ $$divide_by_constant: .PROC .CALLINFO NO_CALLS .export $$divide_by_constant,millicode ; Provides a "nice" label for the code covered by the unwind descriptor ; for things lik...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
601
660
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:17
EXTRS arg0,27,28,ret1 $$divI_3: .EXPORT $$divI_3,MILLICODE COMB,<,N arg0,0,$neg3 ADDI 1,arg0,arg0 EXTRU arg0,1,2,ret1 SH2ADD arg0,arg0,arg0 B $pos ADDC ret1,0,ret1 $neg3: SUBI 1,arg0,arg0 EXTRU arg0,1,2,ret1 SH2ADD arg0,arg0,arg0 B $neg ADDC ret1,0,ret1 $$divU_3: .EXPORT $$divU_3,MILLICODE...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
641
700
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:18
SH1ADD arg0,arg0,arg0 B $neg ADDC ret1,0,ret1 $$divU_5: .EXPORT $$divU_5,MILLICODE ADDI 1,arg0,arg0 ADDC 0,0,ret1 SHD ret1,arg0,31,t1 SH1ADD arg0,arg0,arg0 B $pos ADDC t1,ret1,ret1 $$divI_6: .EXPORT $$divI_6,MILLICODE COMB,<,N arg0,0,$neg6 EXTRU arg0,30,31,arg0 ADDI 5,arg0,t1 SH2ADD arg0,t...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
681
740
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:19
.EXPORT $$divU_10,MILLICODE EXTRU arg0,30,31,arg0 ADDI 3,arg0,t1 SH1ADD arg0,t1,arg0 ADDC 0,0,ret1 $pos: SHD ret1,arg0,28,t1 SHD arg0,0,28,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 $pos_for_17: SHD ret1,arg0,24,t1 SHD arg0,0,24,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 SHD ret1,arg0,16,t1 SHD arg0...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
721
780
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:20
SHD ret1,arg0,24,t1 SHD arg0,0,24,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 SHD ret1,arg0,16,t1 SHD arg0,0,16,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 bv 0(r31) SUB 0,ret1,ret1 $$divI_12: .EXPORT $$divI_12,MILLICODE COMB,< arg0,0,$neg12 COPY 0,ret1 EXTRU arg0,29,30,arg0 ADDIB,TR 1,arg0,$pos SH2A...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
761
820
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:21
$neg15: B $neg SUBI 1,arg0,arg0 $$divU_15: .EXPORT $$divU_15,MILLICODE ADDI 1,arg0,arg0 B $pos ADDC 0,0,ret1 $$divI_17: .EXPORT $$divI_17,MILLICODE COMB,<,N arg0,0,$neg17 ADDI 1,arg0,arg0 SHD 0,arg0,28,t1 SHD arg0,0,28,t2 SUB t2,arg0,arg0 B $pos_for_17 SUBB t1,0,ret1 $neg17: SUBI 1,arg0,...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
801
860
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:22
$$divI_7: .EXPORT $$divI_7,MILLICODE COMB,<,N arg0,0,$neg7 $7: ADDI 1,arg0,arg0 SHD 0,arg0,29,ret1 SH3ADD arg0,arg0,arg0 ADDC ret1,0,ret1 $pos7: SHD ret1,arg0,26,t1 SHD arg0,0,26,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 SHD ret1,arg0,20,t1 SHD arg0,0,20,t2 ADD arg0,t2,arg0 ADDC ret1,t1,t1 COP...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
841
900
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:23
SHD arg0,0,26,t2 ADD arg0,t2,arg0 ADDC ret1,t1,ret1 SHD ret1,arg0,20,t1 SHD arg0,0,20,t2 ADD arg0,t2,arg0 ADDC ret1,t1,t1 COPY 0,ret1 SHD,= t1,arg0,24,t1 $3: ADDB,TR t1,ret1,$4 EXTRU arg0,31,24,arg0 bv 0(r31) SUB 0,ret1,ret1 $4: ADDB,TR t1,arg0,$3 EXTRU,= arg0,7,8,t1 $$divU_7: .EXPORT...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
881
940
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:24
$neg9: SUBI 1,arg0,arg0 SHD 0,arg0,29,t1 SHD arg0,0,29,t2 SUB t2,arg0,arg0 B $neg7_shift SUBB t1,0,ret1 $$divU_9: .EXPORT $$divU_9,MILLICODE ADDI 1,arg0,arg0 ADDC 0,0,ret1 SHD ret1,arg0,29,t1 SHD arg0,0,29,t2 SUB t2,arg0,arg0 B $pos7 SUBB t1,ret1,ret1 $$divI_14: .EXPORT $$divI_14,MILLICO...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
921
980
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:25
.callinfo NO_CALLS .entry comib,>=,n 0,arg1,special_case sub r0,arg1,rmndr ; clear carry, negate the divisor ds r0,rmndr,r0 ; set V-bit to 1 add arg0,arg0,temp ; shift msb bit into carry ds r0,arg1,rmndr ; 1st divide step, if no carry addc temp,temp,temp ; shift temp with/into carry ds rmndr,arg1,rmndr ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
961
1,020
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:26
addc temp,temp,temp ; shift temp with/into carry ds rmndr,arg1,rmndr ; 18th divide step addc temp,temp,temp ; shift temp with/into carry ds rmndr,arg1,rmndr ; 19th divide step addc temp,temp,temp ; shift temp with/into carry ds rmndr,arg1,rmndr ; 20th divide step addc temp,temp,temp ; shift temp with/into ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,001
1,060
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:27
copy arg0,rmndr .exit bv,n 0(r31) nop .procend .end ; Use bv 0(r31) and bv,n 0(r31) instead. ; #define return bv 0(%mrp) ; #define return_n bv,n 0(%mrp) .align 16 $$mulI: .proc .callinfo NO_CALLS .export $$mulI, millicode combt,<<= %r25,%r26,l4 ; swap args if unsigned %r25>%r26 copy 0,%r29 ; zero ou...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,041
1,100
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:28
;16 insts before this. ; %r26 <<= 8 ************************** x0: comb,<> %r25,0,l2 ! zdep %r26,23,24,%r26 ! bv,n 0(r31) ! nop x1: comb,<> %r25,0,l1 ! add %r29,%r26,%r29 ! bv,n 0(r31) ! nop x2: comb,<> %r25,0,l1 ! sh1add %r26,%r29,%r29 ! bv,n 0(r31) ! nop x3: comb,<> %r25,0,l0 ! sh1add %r26,%r26,%r1 ! bv 0(r...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,081
1,140
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:29
x19: sh3add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh1add %r1,%r26,%r1 ! b,n ret_t0 x20: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh2add %r1,%r29,%r29 ! bv,n 0(r31) x21: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh2add %r1,%r26,%r1 ! b,n ret_t0 x22: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_shift ! sh1ad...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,121
1,180