repo_id
string
size
int64
file_path
string
content
string
rlyzurjf57/sp1
11,854
zkvm/entrypoint/src/memcpy.s
// This is musl-libc commit 37e18b7bf307fa4a8c745feebfcba54a0ba74f30: // // src/string/memcpy.c // // This was compiled into assembly with: // // clang-14 -target riscv32 -march=rv32im -O3 -S memcpy.c -nostdlib -fno-builtin -funroll-loops // // and labels manually updated to not conflict. // // musl as a whole is ...
rlyzurjf57/sp1
8,449
zkvm/entrypoint/src/memset.s
// This is musl-libc memset commit 37e18b7bf307fa4a8c745feebfcba54a0ba74f30: // // src/string/memset.c // // This was compiled into assembly with: // // clang-14 -target riscv32 -march=rv32im -O3 -S memset.c -nostdlib -fno-builtin -funroll-loops // // and labels manually updated to not conflict. // // musl as a wh...
robalar/os
4,530
src/boot.s
/* Declare constants for the multiboot header. */ .set ALIGN, 1<<0 /* align loaded modules on page boundaries */ .set MEMINFO, 1<<1 /* provide memory map */ .set FLAGS, ALIGN | MEMINFO /* this is the Multiboot 'flag' field */ .set MAGIC, 0x1BADB002 /* 'magic number' lets bootloa...
rslabbox/arm_rstiny
2,415
src/arch/trap.S
.macro SAVE_REGS sub sp, sp, 34 * 8 stp x0, x1, [sp] stp x2, x3, [sp, 2 * 8] stp x4, x5, [sp, 4 * 8] stp x6, x7, [sp, 6 * 8] stp x8, x9, [sp, 8 * 8] stp x10, x11, [sp, 10 * 8] stp x12, x13, [sp, 12 * 8] stp x14, x15, [sp, 14 * 8] stp x16, x...
rslabbox/arm_rstiny
2,544
tools/chainloader/src/_arch/aarch64/cpu/boot.s
// SPDX-License-Identifier: MIT OR Apache-2.0 // // Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com> //-------------------------------------------------------------------------------------------------- // Definitions //-----------------------------------------------------------------------------------...
Ruanyx1823/sve
11,809
library/std/src/sys/pal/sgx/abi/entry.S
/* This symbol is used at runtime to figure out the virtual address that the */ /* enclave is loaded at. */ .section absolute .global IMAGE_BASE IMAGE_BASE: .section ".note.x86_64-fortanix-unknown-sgx", "", @note .align 4 .long 1f - 0f /* name length (not including padding) */ .long 3f - 2f ...
Ruanyx1823/rust-merge-sve
4,337
library/compiler-builtins/compiler-builtins/src/hexagon/dfsqrt.s
.text .global __hexagon_sqrtdf2 .type __hexagon_sqrtdf2,@function .global __hexagon_sqrt .type __hexagon_sqrt,@function .global __qdsp_sqrtdf2 ; .set __qdsp_sqrtdf2, __hexagon_sqrtdf2; .type __qdsp_sqrtdf2,@function .global __qdsp_sqrt ; .set __qdsp_sqrt, __hexagon_sqrt; .type __qdsp_sqrt,@function .global __he...
Ruanyx1823/rust-merge-sve
3,885
library/compiler-builtins/compiler-builtins/src/hexagon/fastmath2_ldlib_asm.s
.text .global __hexagon_fast2ldadd_asm .type __hexagon_fast2ldadd_asm, @function __hexagon_fast2ldadd_asm: .falign { R4 = memw(r29+#8) R5 = memw(r29+#24) r7 = r0 } { R6 = sub(R4, R5):sat P0 = CMP.GT(R4, R5); if ( P0.new) R...
Ruanyx1823/rust-merge-sve
4,378
library/compiler-builtins/compiler-builtins/src/hexagon/dfmul.s
.text .global __hexagon_muldf3 .type __hexagon_muldf3,@function .global __qdsp_muldf3 ; .set __qdsp_muldf3, __hexagon_muldf3 .global __hexagon_fast_muldf3 ; .set __hexagon_fast_muldf3, __hexagon_muldf3 .global __hexagon_fast2_muldf3 ; .set __hexagon_fast2_muldf3, __hexagon_muldf3 .p2align 5 __hexagon_muldf3: ...
Ruanyx1823/rust-merge-sve
7,236
library/compiler-builtins/compiler-builtins/src/hexagon/dffma.s
.text .global __hexagon_fmadf4 .type __hexagon_fmadf4,@function .global __hexagon_fmadf5 .type __hexagon_fmadf5,@function .global __qdsp_fmadf5 ; .set __qdsp_fmadf5, __hexagon_fmadf5 .p2align 5 __hexagon_fmadf4: __hexagon_fmadf5: fma: { p0 = dfclass(r1:0,#2) p0 = dfclass(r3:2,#2) r13:12 = #0...
Ruanyx1823/rust-merge-sve
4,801
library/compiler-builtins/compiler-builtins/src/hexagon/dfaddsub.s
.text .global __hexagon_adddf3 .global __hexagon_subdf3 .type __hexagon_adddf3, @function .type __hexagon_subdf3, @function .global __qdsp_adddf3 ; .set __qdsp_adddf3, __hexagon_adddf3 .global __hexagon_fast_adddf3 ; .set __hexagon_fast_adddf3, __hexagon_adddf3 .global __hexagon_fast2_adddf3 ; .set __hexagon_fast...
Ruanyx1823/rust-merge-sve
1,295
library/compiler-builtins/compiler-builtins/src/hexagon/memcpy_forward_vp4cp4n2.s
.text .globl hexagon_memcpy_forward_vp4cp4n2 .balign 32 .type hexagon_memcpy_forward_vp4cp4n2,@function hexagon_memcpy_forward_vp4cp4n2: { r3 = sub(##4096, r1) r5 = lsr(r2, #3) } { r3 = extractu(r3, #10, #2) r4 = extractu(r3, #7, #5) } { r3 = minu(r2, r3) r4 = minu(...
Ruanyx1823/rust-merge-sve
5,659
library/compiler-builtins/compiler-builtins/src/hexagon/dfdiv.s
.text .global __hexagon_divdf3 .type __hexagon_divdf3,@function .global __qdsp_divdf3 ; .set __qdsp_divdf3, __hexagon_divdf3 .global __hexagon_fast_divdf3 ; .set __hexagon_fast_divdf3, __hexagon_divdf3 .global __hexagon_fast2_divdf3 ; .set __hexagon_fast2_divdf3, __hexagon_divdf3 .p2align 5 __hexag...
Ruanyx1823/rust-merge-sve
5,120
library/compiler-builtins/compiler-builtins/src/hexagon/fastmath2_dlib_asm.s
.text .global __hexagon_fast2_dadd_asm .type __hexagon_fast2_dadd_asm, @function __hexagon_fast2_dadd_asm: .falign { R7:6 = VABSDIFFH(R1:0, R3:2) R9 = #62 R4 = SXTH(R0) R5 = SXTH(R2) } { R6 = SXTH(R6) P0 = CMP.GT(R4, R5); ...
Ruanyx1823/rust-merge-sve
11,809
library/std/src/sys/pal/sgx/abi/entry.S
/* This symbol is used at runtime to figure out the virtual address that the */ /* enclave is loaded at. */ .section absolute .global IMAGE_BASE IMAGE_BASE: .section ".note.x86_64-fortanix-unknown-sgx", "", @note .align 4 .long 1f - 0f /* name length (not including padding) */ .long 3f - 2f ...
rugo/OpenSK
3,594
third_party/libtock-rs/runtime/asm/asm_arm.S
/* rt_header is defined by the general linker script (libtock_layout.ld). It has * the following layout: * * Field | Offset * ------------------------------------ * Address of the start symbol | 0 * Initial process break | 4 * Top of the stack ...
rugo/OpenSK
3,548
third_party/libtock-rs/runtime/asm/asm_riscv32.S
/* rt_header is defined by the general linker script (libtock_layout.ld). It has * the following layout: * * Field | Offset * ------------------------------------ * Address of the start symbol | 0 * Initial process break | 4 * Top of the stack ...
Rudy-Orozco/RudyProjects
2,963
Past_Projects/Operating_Sys/xv6-encrypted-filesystem-emus-main/kernel/kernelvec.S
# # interrupts and exceptions while in supervisor # mode come here. # # the current stack is a kernel stack. # push all registers, call kerneltrap(). # when kerneltrap() returns, restore registers, return. # .globl kerneltrap .globl kernelvec .align 4 kern...
Rudy-Orozco/RudyProjects
3,839
Past_Projects/Operating_Sys/xv6-encrypted-filesystem-emus-main/kernel/trampoline.S
# # low-level code to handle traps from user space into # the kernel, and returns from kernel to user. # # the kernel maps the page holding this code # at the same virtual address (TRAMPOLINE) # in user and kernel space so that it continues # to work when ...
Rudy-Orozco/RudyProjects
2,963
Past_Projects/Operating_Sys/scheduler-Rudy-Orozco-main/kernel/kernelvec.S
# # interrupts and exceptions while in supervisor # mode come here. # # the current stack is a kernel stack. # push all registers, call kerneltrap(). # when kerneltrap() returns, restore registers, return. # .globl kerneltrap .globl kernelvec .align 4 kern...
Rudy-Orozco/RudyProjects
3,839
Past_Projects/Operating_Sys/scheduler-Rudy-Orozco-main/kernel/trampoline.S
# # low-level code to handle traps from user space into # the kernel, and returns from kernel to user. # # the kernel maps the page holding this code # at the same virtual address (TRAMPOLINE) # in user and kernel space so that it continues # to work when ...
rust-bots/rust-dummp
11,809
library/std/src/sys/pal/sgx/abi/entry.S
/* This symbol is used at runtime to figure out the virtual address that the */ /* enclave is loaded at. */ .section absolute .global IMAGE_BASE IMAGE_BASE: .section ".note.x86_64-fortanix-unknown-sgx", "", @note .align 4 .long 1f - 0f /* name length (not including padding) */ .long 3f - 2f ...
rust-lagit1/rust
11,809
library/std/src/sys/pal/sgx/abi/entry.S
/* This symbol is used at runtime to figure out the virtual address that the */ /* enclave is loaded at. */ .section absolute .global IMAGE_BASE IMAGE_BASE: .section ".note.x86_64-fortanix-unknown-sgx", "", @note .align 4 .long 1f - 0f /* name length (not including padding) */ .long 3f - 2f ...
RyoJerryYu/rCore-tutorial-learn
1,640
os/src/trap/trap.S
.altmacro .macro SAVE_GP n sd x\n, \n*8(sp) .endm .macro LOAD_GP n ld x\n, \n*8(sp) .endm .section .text.trampoline .globl __alltraps .globl __restore .align 2 __alltraps: csrrw sp, sscratch, sp # now sp->*TrapContext in user space, sscratch->user stack # save other general purpose r...
Sakura176/mini-rCore
1,613
os/src/trap/trap.S
# os/src/trap/trap.S .altmacro .macro SAVE_GP n sd x\n, \n*8(sp) .endm .macro LOAD_GP n ld x\n, \n*8(sp) .endm .section .text .globl __alltraps .globl __restore .align 2 __alltraps: csrrw sp, sscratch, sp #now sp->kernel stack, sscratch->user stack # allocate a TrapContext on kernel ...
salfel/fenix
1,535
kernel/src/asm/setup.S
.global setup_modes .global setup_caches setup_modes: @ IRQ mode mov r0, #0xD2 msr cpsr_c, r0 ldr sp, =irq_stack_end @ Supervisor mode mov r0, #0xD3 msr cpsr_c, r0 ldr sp, =stack_end @ Enable IRQ mov r0, #0x53 msr cpsr_c, r0 bx lr setup_caches: push {lr} ...
salfel/fenix
1,060
kernel/src/asm/interrupts.S
.global irq_handler .global yield_task .global restore_context irq_handler: sub lr, lr, #4 stmfd sp!, {r0-r12, lr} mrs r11, spsr push {r11} bl handle_interrupt mov r0, #0 mcr p15, #0, r0, c7, c10, #4 pop {r11} msr spsr, r11 and r11, r11, #0b11111 cmp r11, #0b10011 b...
samaniheo/galonga
10,572
src/asm/keccakf1600_x86-64-win64.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .def __KeccakF1600; .scl 3; .type 32; .endef .p2align 5 __KeccakF1600: .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .p2align 5 .L...
samaniheo/galonga
8,238
src/asm/keccakf1600_x86-64-osx.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .p2align 5 __KeccakF1600: .cfi_startproc .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp L$oop .p2align 5 L$oop: movq -100(%rdi),%r8 mo...
samaniheo/galonga
8,619
src/asm/keccakf1600_x86-64-elf.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .type __KeccakF1600,@function .align 32 __KeccakF1600: .cfi_startproc .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .align 32 .Loo...
samaniheo/galonga
10,572
src/asm/keccakf1600_x86-64-mingw64.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .def __KeccakF1600; .scl 3; .type 32; .endef .p2align 5 __KeccakF1600: .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .p2align 5 .L...
samaniheo/santika
10,572
src/asm/keccakf1600_x86-64-win64.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .def __KeccakF1600; .scl 3; .type 32; .endef .p2align 5 __KeccakF1600: .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .p2align 5 .L...
samaniheo/santika
8,238
src/asm/keccakf1600_x86-64-osx.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .p2align 5 __KeccakF1600: .cfi_startproc .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp L$oop .p2align 5 L$oop: movq -100(%rdi),%r8 mo...
samaniheo/santika
8,619
src/asm/keccakf1600_x86-64-elf.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .type __KeccakF1600,@function .align 32 __KeccakF1600: .cfi_startproc .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .align 32 .Loo...
samaniheo/santika
10,572
src/asm/keccakf1600_x86-64-mingw64.s
# Source: https://github.com/dot-asm/cryptogams/blob/master/x86_64/keccak1600-x86_64.pl .text .def __KeccakF1600; .scl 3; .type 32; .endef .p2align 5 __KeccakF1600: .byte 0xf3,0x0f,0x1e,0xfa movq 60(%rdi),%rax movq 68(%rdi),%rbx movq 76(%rdi),%rcx movq 84(%rdi),%rdx movq 92(%rdi),%rbp jmp .Loop .p2align 5 .L...
samchen61661/sp1-cpu
11,855
crates/zkvm/entrypoint/src/memcpy.s
// This is musl-libc commit 37e18b7bf307fa4a8c745feebfcba54a0ba74f30: // // src/string/memcpy.c // // This was compiled into assembly with: // // clang-14 -target riscv32 -march=rv32im -O3 -S memcpy.c -nostdlib -fno-builtin -funroll-loops // // and labels manually updated to not conflict. // // musl as a whole is ...
samchen61661/sp1-cpu
8,450
crates/zkvm/entrypoint/src/memset.s
// This is musl-libc memset commit 37e18b7bf307fa4a8c745feebfcba54a0ba74f30: // // src/string/memset.c // // This was compiled into assembly with: // // clang-14 -target riscv32 -march=rv32im -O3 -S memset.c -nostdlib -fno-builtin -funroll-loops // // and labels manually updated to not conflict. // // musl as a wh...
SamrutGadde/CANBusBootloader
22,854
Bootloader/Core/Startup/startup_stm32f407vetx.s
/** ****************************************************************************** * @file startup_stm32f407xx.s * @author MCD Application Team * @brief STM32F407xx Devices vector table for GCC based toolchains. * This module performs: * - Set the initial SP * ...
SamrutGadde/CANBusBootloader
22,854
BootloaderApp/Core/Startup/startup_stm32f407vetx.s
/** ****************************************************************************** * @file startup_stm32f407xx.s * @author MCD Application Team * @brief STM32F407xx Devices vector table for GCC based toolchains. * This module performs: * - Set the initial SP * ...
Sappy12dream/eventify
15,018
.cargo/registry/src/index.crates.io-6f17d22bba15001f/zstd-sys-2.0.10+zstd.1.5.6/zstd/lib/decompress/huf_decompress_amd64.S
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may...
Sappy12dream/eventify
15,018
.cargo/registry/src/index.crates.io-6f17d22bba15001f/zstd-sys-2.0.10+zstd.1.5.6/zstd/lib/decompress/huf_decompress_amd64.S
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may...
SavingHeaume/rust_oskernel
3,385
kernel/src/trap/trap.S
.altmacro .macro SAVE_GP n # 宏定义:将寄存器 x\n 存储到栈偏移 \n*8 的位置 sd x\n, \n*8(sp) .endm .macro LOAD_GP n # 宏定义:从栈偏移 \n*8 的位置加载数据到 x\n ld x\n, \n*8(sp) .endm .section .text.trampoline # 定义代码段 .text.trampoline .globl __alltraps # 导出用户态 Trap 入口符号 .globl __restore # 导出用户态 T...
SavingHeaume/rust_oskernel
757
kernel/src/task/switch.S
.altmacro .macro SAVE_SN n sd s\n, (\n+2)*8(a0) .endm .macro LOAD_SN n ld s\n, (\n+2)*8(a1) .endm .section .text .globl __switch __switch: # 保存当前任务上下文 sd sp, 8(a0) # 保存当前内核栈指针 sp 到 TaskContext.sp 字段(偏移 8) sd ra, 0(a0) # 保存返回地址 ra 到 TaskContext.ra 字段(偏移 0) .set n, 0 # 初始化计数器 n=0(对应 s...
Sc1pex/rustos
2,548
kernel/src/exception/exception.S
.macro CALL_WITH_CONTEXT handler __vector_\handler: // Make room for registers sub sp, sp, #16 * 17 stp x0, x1, [sp, #16 * 0] stp x2, x3, [sp, #16 * 1] stp x4, x5, [sp, #16 * 2] stp x6, x7, [sp, #16 * 3] stp x8, x9, [sp, #16 * 4] stp x10, x11, [sp, #16 * 5] stp x12, x13, [sp, #16 * 6] stp ...
Sc1pex/rustos
1,025
chainloader/src/boot/boot.S
.section ".text.boot" .global _start // Load the address of a symbol into a register, absolute. // // # Resources // // - https://sourceware.org/binutils/docs-2.36/as/AArch64_002dRelocations.html .macro ADR_ABS register, symbol movz \register, #:abs_g2:\symbol movk \register, #:abs_g1_nc:\symbol movk \register, #:...
schechenkin/rust-raspberrypi-4-os
4,259
kernel/src/_arch/aarch64/exception.s
// SPDX-License-Identifier: MIT OR Apache-2.0 // // Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com> //-------------------------------------------------------------------------------------------------- // Definitions //-----------------------------------------------------------------------------------...
schechenkin/rust-raspberrypi-4-os
3,575
kernel/src/_arch/aarch64/cpu/boot.s
// SPDX-License-Identifier: MIT OR Apache-2.0 // // Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com> //-------------------------------------------------------------------------------------------------- // Definitions //-----------------------------------------------------------------------------------...
Scvpn/vvip
2,249
websocket-python/websocket.s
#!/bin/bash clear echo Installing Websocket-SSH Python sleep 1 echo Sila Tunggu Sebentar... sleep 0.5 cd # // SYSTEM WEBSOCKET HTTPS cat <<EOF> /etc/systemd/system/ws-https.service [Unit] Description=Python Proxy Documentation=https://t.me/Hendra2012 After=network.target nss-lookup.target [Service] Type=simple User=r...
semyeong-yu/RadFoam
66,735
external/submodules/mesa/src/util/blake3/blake3_avx2_x86-64_windows_gnu.S
.intel_syntax noprefix .global _blake3_hash_many_avx2 .global blake3_hash_many_avx2 .section .text .p2align 6 _blake3_hash_many_avx2: blake3_hash_many_avx2: push r15 push r14 push r13 push r12 push rsi push rdi push rbx push ...
semyeong-yu/RadFoam
89,612
external/submodules/mesa/src/util/blake3/blake3_avx512_x86-64_unix.S
#include "mesa_blake3_visibility.h" #if defined(__ELF__) && defined(__linux__) .section .note.GNU-stack,"",%progbits #endif #if defined(__ELF__) && defined(__CET__) && defined(__has_include) #if __has_include(<cet.h>) #include <cet.h> #endif #endif #if !defined(_CET_ENDBR) #define _CET_ENDBR #endif .intel_syntax no...
semyeong-yu/RadFoam
66,147
external/submodules/mesa/src/util/blake3/blake3_avx2_x86-64_unix.S
#include "mesa_blake3_visibility.h" #if defined(__ELF__) && defined(__linux__) .section .note.GNU-stack,"",%progbits #endif #if defined(__ELF__) && defined(__CET__) && defined(__has_include) #if __has_include(<cet.h>) #include <cet.h> #endif #endif #if !defined(_CET_ENDBR) #define _CET_ENDBR #endif .intel_syntax no...
semyeong-yu/RadFoam
71,202
external/submodules/mesa/src/util/blake3/blake3_sse2_x86-64_windows_gnu.S
.intel_syntax noprefix .global blake3_hash_many_sse2 .global _blake3_hash_many_sse2 .global blake3_compress_in_place_sse2 .global _blake3_compress_in_place_sse2 .global blake3_compress_xof_sse2 .global _blake3_compress_xof_sse2 .section .text .p2align 6 _blake3_hash_many_sse2: blake3_hash_many_sse2: pu...
semyeong-yu/RadFoam
91,003
external/submodules/mesa/src/util/blake3/blake3_avx512_x86-64_windows_gnu.S
.intel_syntax noprefix .global _blake3_hash_many_avx512 .global blake3_hash_many_avx512 .global blake3_compress_in_place_avx512 .global _blake3_compress_in_place_avx512 .global blake3_compress_xof_avx512 .global _blake3_compress_xof_avx512 .section .text .p2align 6 _blake3_hash_many_avx512: blake3_hash_many_avx512: ...
semyeong-yu/RadFoam
61,385
external/submodules/mesa/src/util/blake3/blake3_sse41_x86-64_unix.S
#include "mesa_blake3_visibility.h" #if defined(__ELF__) && defined(__linux__) .section .note.GNU-stack,"",%progbits #endif #if defined(__ELF__) && defined(__CET__) && defined(__has_include) #if __has_include(<cet.h>) #include <cet.h> #endif #endif #if !defined(_CET_ENDBR) #define _CET_ENDBR #endif .intel_syntax no...
semyeong-yu/RadFoam
63,459
external/submodules/mesa/src/util/blake3/blake3_sse41_x86-64_windows_gnu.S
.intel_syntax noprefix .global blake3_hash_many_sse41 .global _blake3_hash_many_sse41 .global blake3_compress_in_place_sse41 .global _blake3_compress_in_place_sse41 .global blake3_compress_xof_sse41 .global _blake3_compress_xof_sse41 .section .text .p2align 6 _blake3_hash_many_sse41: blake3_hash_many_sse41: ...
semyeong-yu/RadFoam
69,094
external/submodules/mesa/src/util/blake3/blake3_sse2_x86-64_unix.S
#include "mesa_blake3_visibility.h" #if defined(__ELF__) && defined(__linux__) .section .note.GNU-stack,"",%progbits #endif #if defined(__ELF__) && defined(__CET__) && defined(__has_include) #if __has_include(<cet.h>) #include <cet.h> #endif #endif #if !defined(_CET_ENDBR) #define _CET_ENDBR #endif .intel_syntax no...
SergeiPatiakin/rsas
7,449
as-examples/cat.s
.text .global _start _start: movq %rsp, %rdx movq (%rdx), %rdi // main(argc, argv); movq %rdx, %rsi addq $0x8, %rsi callq main movq $0x3c, %rax // exit( movq $0x0, %rdi ...
SergeiPatiakin/rsas
2,021
as-examples/hello-main.s
.text .global _start _start: main_loop: movq $0x1, %rax // write( movq $0x1, %rdi // 1, movq $local_hello_msg, %rsi // local_hello_msg, movq $0x13, %rdx ...
Sergio7DAW/Entorno_Escenarios_UD3
7,962
escenario2/tests/syntax-tests/highlighted/ARM Assembly/test.S
.data .balign 4 red: .word 0 green: .word 0 [...
sevki/codex
1,406
kernel_loader/src/test_elf.S
# Copyright 2022 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Build instructions: # x86_64-linux-gnu-as test_elf.S -o test_elf.o # x86_64-linux-gnu-ld test_elf.o -o test_elf.bin -T test_elf.ld .intel_syntax noprefix .section ...
sevki/libcrosvm
1,406
kernel_loader/src/test_elf.S
# Copyright 2022 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Build instructions: # x86_64-linux-gnu-as test_elf.S -o test_elf.o # x86_64-linux-gnu-ld test_elf.o -o test_elf.bin -T test_elf.ld .intel_syntax noprefix .section ...
Sergio7DAW/Entorno_Escenarios_UD3
7,962
escenario2/tests/syntax-tests/highlighted/ARM Assembly/test.S
.data .balign 4 red: .word 0 green: .word 0 [...
sevki/libcrosvm
1,406
kernel_loader/src/test_elf.S
# Copyright 2022 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Build instructions: # x86_64-linux-gnu-as test_elf.S -o test_elf.o # x86_64-linux-gnu-ld test_elf.o -o test_elf.bin -T test_elf.ld .intel_syntax noprefix .section ...
sevki/codex
1,406
kernel_loader/src/test_elf.S
# Copyright 2022 The ChromiumOS Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # Build instructions: # x86_64-linux-gnu-as test_elf.S -o test_elf.o # x86_64-linux-gnu-ld test_elf.o -o test_elf.bin -T test_elf.ld .intel_syntax noprefix .section ...
ShaoxunZeng/PyTorch-Medusa
27,813
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # Args passed via 8 regi...
ShaoxunZeng/PyTorch-Medusa
18,740
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> .syntax unified # Args ...
ShaoxunZeng/PyTorch-Medusa
11,694
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8c2-xzp-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> .syntax unified # void pytorch_q8gemm_xzp_ukernel_4x8c2__neon( # ...
ShaoxunZeng/PyTorch-Medusa
17,365
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8-dq-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # r0 mr # r1 nr # r2 k # ...
ShaoxunZeng/PyTorch-Medusa
26,778
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # params # c_stride # A...
ShaoxunZeng/PyTorch-Medusa
12,985
aten/src/ATen/native/quantized/cpu/qnnpack/src/hgemm/8x8-aarch32-neonfp16arith.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> .syntax unified # void pytorch_hgemm_ukernel_8x8__aarch32_neonfp16ari...
ShaoxunZeng/PyTorch-Medusa
6,228
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x4-packA-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # r0 mr # r1 k # r2 a # r...
ShaoxunZeng/PyTorch-Medusa
7,334
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # r0 mr # r1 k # r2 a # r...
ShaoxunZeng/PyTorch-Medusa
34,401
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x8c1x4-dq-packedA-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> #ifndef __APPLE__ #define...
ShaoxunZeng/PyTorch-Medusa
7,211
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> # Packed A format. # 8kx4m blocks for alls blocks given 4 rows (4m) ar...
ShaoxunZeng/PyTorch-Medusa
33,514
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x8c8x1-dq-packedA-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #ifndef IGNORE_CODE_ALIGN_DIRECTIVES #define NDEF_IGNORE_CODE_ALIGN_DI...
ShaoxunZeng/PyTorch-Medusa
39,799
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x8c1x4-dq-packedA-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #ifndef IGNORE_CODE_ALIGN_DIRECTIVES #define NDEF_IGNORE_CODE_ALIGN_DI...
ShaoxunZeng/PyTorch-Medusa
26,974
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x8c8x1-dq-packedA-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> #ifndef __APPLE__ #define...
ShaoxunZeng/PyTorch-Medusa
27,616
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/8x8-aarch64-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> # Args passed via 8 reg...
ShaoxunZeng/PyTorch-Medusa
18,255
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/4x8-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> .syntax unified # Args ...
ShaoxunZeng/PyTorch-Medusa
7,829
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-aarch32-neon.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> .syntax unified # void p...
ShaoxunZeng/PyTorch-Medusa
9,433
aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-aarch32-neon-per-channel.S
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <qnnpack/assembly.h> #include <requantization/runtime-assembly.h> .syntax unified # void p...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
2,603
test/apps/fork/fork.S
# SPDX-License-Identifier: MPL-2.0 # FIXME: WNOHANG option currently does not work properly without preemption, so we have temporarily # removed it. Once preemption is supported, the following macro can be uncommented to add the WNOHANG # option back. # #define PREEMPTION_ENABLE .global _start .section .text _star...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
1,106
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/setup.S
/* SPDX-License-Identifier: MPL-2.0 */ .section ".setup", "ax" .code64 // start_of_setup32 should be loaded at CODE32_START, which is our base. .global start_of_setup32 start_of_setup32: // `efi_handover_setup_entry64` should be at efi_handover_setup_entry32 + 0x200, but // we could provide the 32 bit dummy entry poi...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
2,407
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/header.S
/* SPDX-License-Identifier: MPL-2.0 */ // The compatibility file for the Linux x86 Boot Protocol. // See https://www.kernel.org/doc/html/v5.6/x86/boot.html for // more information on the Linux x86 Boot Protocol. // Some of the fields filled with a 0xab* values should be filled // by the torjan builder. // Asterinas w...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
2,165
ostd/libs/linux-bzimage/setup/src/x86/legacy_i386/header.S
/* SPDX-License-Identifier: MPL-2.0 */ // The compatibility file for the Linux x86 Boot Protocol. // See https://www.kernel.org/doc/html/v5.6/x86/boot.html for // more information on the Linux x86 Boot Protocol. // Some of the fields filled with a 0xab* values should be filled // by the torjan builder. // Asterinas w...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
4,069
ostd/src/arch/riscv/trap/trap.S
/* SPDX-License-Identifier: MPL-2.0 OR MIT * * The original source code is from [trapframe-rs](https://github.com/rcore-os/trapframe-rs), * which is released under the following license: * * SPDX-License-Identifier: MIT * * Copyright (c) 2020 - 2024 Runji Wang * * We make the following new changes: * * Add th...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
1,292
ostd/src/arch/riscv/boot/boot.S
/* SPDX-License-Identifier: MPL-2.0 */ .section .text.entry .globl _start _start: # Arguments passed from SBI: # a0 = hart id # a1 = device tree paddr (not touched) # 1. enable paging # setting up 1st pagetable # entry = (PPN(boot_pagetable_2nd) << 10) | 0x01 # V la t1, boot_page...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
2,967
ostd/src/arch/x86/trap/syscall.S
/* SPDX-License-Identifier: MPL-2.0 OR MIT * * The original source code is from [trapframe-rs](https://github.com/rcore-os/trapframe-rs), * which is released under the following license: * * SPDX-License-Identifier: MIT * * Copyright (c) 2020 - 2024 Runji Wang * * We make the following new changes: * * Skip s...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
3,012
ostd/src/arch/x86/trap/trap.S
/* SPDX-License-Identifier: MPL-2.0 OR MIT * * The original source code is from [trapframe-rs](https://github.com/rcore-os/trapframe-rs), * which is released under the following license: * * SPDX-License-Identifier: MIT * * Copyright (c) 2020 - 2024 Runji Wang * * We make the following new changes: * * Add th...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
8,513
ostd/src/arch/x86/boot/bsp_boot.S
/* SPDX-License-Identifier: MPL-2.0 */ // The boot routine executed by the bootstrap processor. // The boot header, initial boot setup code, temporary GDT and page tables are // in the boot section. The boot section is mapped writable since kernel may // modify the initial page table. .section ".bsp_boot", "awx" .cod...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
3,565
ostd/src/arch/x86/boot/ap_boot.S
/* SPDX-License-Identifier: MPL-2.0 */ // The boot routine executed by the application processor. .extern boot_gdtr .extern boot_page_table_start .extern ap_early_entry .section ".ap_boot", "awx" .align 4096 .code16 IA32_APIC_BASE = 0x1B IA32_X2APIC_APICID = 0x802 MMIO_XAPIC_APICID = 0xFEE00020 ap_real_mode_boot: ...
Shenwenkun/Trusted-AI-based-on-Rust-confidential-operating-system
1,253
ostd/src/arch/x86/boot/multiboot2/header.S
/* SPDX-License-Identifier: MPL-2.0 */ // This is the GNU Multiboot 2 header. // Reference: https://www.gnu.org/software/grub/manual/multiboot2/html_node/Index.html//Index .section ".multiboot2_header", "a" .code32 // Macros for cleaner code in the header fields. MB2_MAGIC = 0xE85250D6 MB2_ARCHITECTURE = 0 // 32-bit ...
ShuoAndy/rcore_lab3_addition
1,640
os/src/trap/trap.S
.altmacro .macro SAVE_GP n sd x\n, \n*8(sp) .endm .macro LOAD_GP n ld x\n, \n*8(sp) .endm .section .text.trampoline .globl __alltraps .globl __restore .align 2 __alltraps: csrrw sp, sscratch, sp # now sp->*TrapContext in user space, sscratch->user stack # save other general purpose r...
Shunxu-H/oak-experiment
1,167
oak_restricted_kernel_wrapper/src/asm/boot.s
/* * Copyright 2023 The Project Oak Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Shunxu-H/oak-experiment
4,172
stage0_bin_tdx/src/asm/tdx.s
.align 16 .section .tdx.bootstrap, "ax" .code32 .global ap_start ap_start: hlt .global _begin_of_tdx _begin_of_tdx: # VCPU_INDEX is in esi cli andl $0x3f, %ebx # [6:0] GPAW movl %ebx, %ebp movl $gdt_desc_offset, %ebx lgdtl (%ebx) movl $0x00000023, %eax # SEC_DEFAULT_CR0 movl %ea...
Shunxu-H/oak-experiment
3,195
oak_restricted_kernel/src/boot/boot.s
/* * Copyright 2022 The Project Oak Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Shunxu-H/oak-experiment
2,005
stage0_bin/src/asm/ap_boot.s
.code16 .section .ap_text, "ax" # Entry point for APs. This needs to be page-aligned. .align 4096 .global ap_start ap_start: # Let the BSP know we're alive. lock incl (LIVE_AP_COUNT) 1: hlt jmp 1b # Under SEV-ES, we need to use the AP Reset Hold and AP Jump Tables. We could munge all of it into # `ap_s...
Shunxu-H/oak-experiment
9,897
stage0_bin/src/asm/boot.s
.code16 .align 16 .section .text16, "ax" .global _start _start : # Enter long mode. This code is inspired by the approach shown at # https://wiki.osdev.org/Entering_Long_Mode_Directly cli xor %eax, %eax mov %eax, %cr3 # Set up descriptors mov $gdt_desc_offset, %si lgdtl %cs:(%si) m...
sigongzi/riscv-isa-vector
3,107
tests/corpus/rv32c.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 c.lwsp x1, 0(x2) # 4082 c.lwsp x9, 44(x2) # 54b2 c.lwsp x31, 128(x2) # 4f8a c.swsp x1, 0(x2) # c006 c.swsp x9, 44(x2) # d626 c.swsp x31, 128(x2) # c17e c.lw x8, 0(x8) # 4000 c.lw x10, 36(x13) # 52...
sigongzi/riscv-isa-vector
1,288
tests/corpus/rv32a.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lr.w x0, (x0) # 1000202f lr.w x4, (x17) # 1008a22f lr.w x31, (x31) # 100fafaf sc.w x0, x0, (x0) # 1800202f sc.w x4, x13, (x27) # 18dda22f sc.w x31, x31, (x31) # 19ffafaf amoswap.w x0, x0, (x0) # 080...