repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
chairq/First-choice
25,836
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-armv8-win64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32) #include <ring-core/arm_arch.h> .section .rodata .align 7 // totally strategic alignment _vp...
chairq/First-choice
69,197
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-x86_64-macosx.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__APPLE__) .text .globl _sha256_block_data_order .private_extern _sha256_block_data_order .p2align 4...
chairq/First-choice
48,800
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-x86_64-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__ELF__) .text .extern OPENSSL_ia32cap_P .hidden OPENSSL_ia32cap_P .globl sha512_block_data_order .hid...
chairq/First-choice
55,554
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/x86_64-mont5-macosx.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__APPLE__) .text .globl _bn_mul_mont_gather5 .private_extern _bn_mul_mont_gather5 .p2align 6 _bn_mu...
chairq/First-choice
25,499
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-armv8-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) #include <ring-core/arm_arch.h> .section __TEXT,__const .align 7 // totally strategic ali...
chairq/First-choice
40,669
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-armv8-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) #include <ring-core/arm_arch.h> .hidden OPENSSL_armcap_P .section .rodata .align 5 .Lsigma...
chairq/First-choice
18,837
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/x86_64-mont-macosx.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__APPLE__) .text .globl _bn_mul_mont .private_extern _bn_mul_mont .p2align 4 _bn_mul_mont: _CET_EN...
chairq/First-choice
34,151
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-armv8-win64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed under t...
chairq/First-choice
35,688
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/p256-armv8-asm-win64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32) #include "ring-core/arm_arch.h" .section .rodata .align 5 Lpoly: .quad 0xffffffffffffffff,0x00...
chairq/First-choice
23,114
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-x86_64-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__ELF__) .text .extern OPENSSL_ia32cap_P .hidden OPENSSL_ia32cap_P .globl gcm_init_clmul .hidden gcm_in...
chairq/First-choice
12,580
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-x86_64-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__ELF__) .text .type _vpaes_encrypt_core,@function .align 16 _vpaes_encrypt_core: .cfi_...
chairq/First-choice
49,073
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-armv8-win64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed under t...
chairq/First-choice
14,482
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghashv8-armx-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) #include <ring-core/arm_arch.h> #if __ARM_MAX_ARCH__>=7 .text .globl _gcm_init_clmul .priv...
chairq/First-choice
19,365
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-x86-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86) && defined(__ELF__) .text .globl ChaCha20_ctr32 .hidden ChaCha20_ctr32 .type ChaCha20_ctr32,@function .align 16 ChaCha...
chairq/First-choice
11,057
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-neon-armv8-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) #include <ring-core/arm_arch.h> .text .globl gcm_init_neon .hidden gcm_init_neon .type gcm_i...
chairq/First-choice
8,527
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-armx-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) #include <ring-core/arm_arch.h> #if __ARM_MAX_ARCH__>=7 .text .arch armv8-a+crypto .section ....
chairq/First-choice
49,269
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-armv8-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed under ...
chairq/First-choice
192,866
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha20_poly1305_x86_64-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__ELF__) .text .extern OPENSSL_ia32cap_P .hidden OPENSSL_ia32cap_P chacha20_poly1305_constants: .sect...
chairq/First-choice
34,174
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-armv8-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed unde...
chairq/First-choice
34,346
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-armv8-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed under ...
chairq/First-choice
26,592
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-armv8-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) #include <ring-core/arm_arch.h> .section .rodata .type _vpaes_consts,%object .align 7 // tot...
chairq/First-choice
29,307
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-armv4-linux32.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_ARM) && defined(__ELF__) #include <ring-core/arm_arch.h> @ Silence ARMv8 deprecated IT instruction warnings. This file is ...
chairq/First-choice
68,332
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/p256-x86_64-asm-macosx.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && defined(__APPLE__) .text .section __DATA,__const .p2align 6 L$poly: .quad 0xffffffffffffffff, 0x00000000ffff...
chairq/First-choice
23,634
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-armv7-linux32.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_ARM) && defined(__ELF__) .syntax unified .arch armv7-a .fpu neon #if defined(__thumb2__) .thumb #else .code 32 #endif .t...
chairq/First-choice
8,262
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-armx-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) #include <ring-core/arm_arch.h> #if __ARM_MAX_ARCH__>=7 .text .section __TEXT,__const .ali...
chairq/First-choice
36,779
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/p256-armv8-asm-linux64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__) #include "ring-core/arm_arch.h" .section .rodata .align 5 .Lpoly: .quad 0xffffffffffffffff,0x...
chairq/First-choice
9,856
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-x86-elf.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86) && defined(__ELF__) .text #ifdef BORINGSSL_DISPATCH_TEST #endif .align 64 .L_vpaes_consts: .long 218628480,235210255,1...
chairq/First-choice
82,184
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-gcm-armv8-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) #include <ring-core/arm_arch.h> #if __ARM_MAX_ARCH__ >= 8 .text .globl _aes_gcm_enc_kernel...
chairq/First-choice
49,096
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-armv8-ios64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__) // Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved. // // Licensed unde...
chairq/First-choice
8,277
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-armx-win64.S
// This file is generated from a similarly-named Perl script in the BoringSSL // source tree. Do not edit by hand. #include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32) #include <ring-core/arm_arch.h> #if __ARM_MAX_ARCH__>=7 .text .arch armv8-a+crypto .section .r...
chairq/First-choice
2,659
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/third_party/fiat/asm/fiat_curve25519_adx_square.S
#include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && \ (defined(__APPLE__) || defined(__ELF__)) .intel_syntax noprefix .text #if defined(__APPLE__) .private_extern _fiat_curve25519_adx_square .global _fiat_curve25519_adx_square _fiat_curve25519_adx_square: #else .type fiat_cu...
chairq/First-choice
3,464
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/third_party/fiat/asm/fiat_curve25519_adx_mul.S
#include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_X86_64) && \ (defined(__APPLE__) || defined(__ELF__)) .intel_syntax noprefix .text #if defined(__APPLE__) .private_extern _fiat_curve25519_adx_mul .global _fiat_curve25519_adx_mul _fiat_curve25519_adx_mul: #else .type fiat_curve25519_...
chairq/First-choice
62,534
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/crypto/poly1305/poly1305_arm_asm.S
#include <ring-core/asm_base.h> #if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_ARM) && defined(__ELF__) #pragma GCC diagnostic ignored "-Wlanguage-extension-token" # This implementation was taken from the public domain, neon2 version in # SUPERCOP by D. J. Bernstein and Peter Schwabe. # qhasm: int32 input_0 # qha...
chairq/First-choice
41,612
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/crypto/curve25519/asm/x25519-asm-arm.S
/* Copyright (c) 2015, Google Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
Chaos2025/openChaos
1,598
kernel/modules/axhal/linker.lds.S
OUTPUT_ARCH(%ARCH%) BASE_ADDRESS = %KERNEL_BASE%; ENTRY(_start) SECTIONS { . = BASE_ADDRESS; _skernel = .; .text : ALIGN(4K) { _stext = .; *(.text.boot) *(.text .text.*) . = ALIGN(4K); _etext = .; } .rodata : ALIGN(4K) { _srodata = .; *(.ro...
Chaos2025/openChaos
4,307
kernel/modules/axhal/src/platform/x86_pc/multiboot.S
# Bootstrapping from 32-bit with the Multiboot specification. # See https://www.gnu.org/software/grub/manual/multiboot/multiboot.html .section .text.boot .code32 .global _start _start: mov edi, eax # arg1: magic: 0x2BADB002 mov esi, ebx # arg2: multiboot info jmp bsp_entry32 .bal...
Chaos2025/openChaos
1,965
kernel/modules/axhal/src/platform/x86_pc/ap_start.S
# Boot application processors into the protected mode. # Each non-boot CPU ("AP") is started up in response to a STARTUP # IPI from the boot CPU. Section B.4.2 of the Multi-Processor # Specification says that the AP will start in real mode with CS:IP # set to XY00:0000, where XY is an 8-bit value sent with the # STAR...
Chaos2025/openChaos
1,672
kernel/modules/axhal/src/arch/riscv/trap.S
.macro SAVE_REGS, from_user addi sp, sp, -{trapframe_size} PUSH_GENERAL_REGS csrr t0, sepc csrr t1, sstatus csrrw t2, sscratch, zero // save sscratch (sp) and zero it STR t0, sp, 31 // tf.sepc STR t1, sp, 32 // tf.sstatus STR...
Chaos2025/openChaos
1,505
kernel/modules/axhal/src/arch/x86_64/trap.S
.equ NUM_INT, 256 .altmacro .macro DEF_HANDLER, i .Ltrap_handler_\i: .if \i == 8 || (\i >= 10 && \i <= 14) || \i == 17 # error code pushed by CPU push \i # interrupt vector jmp .Ltrap_common .else push 0 # fill in error code in TrapFrame push \i # interrupt ...
Chaos2025/openChaos
2,415
kernel/modules/axhal/src/arch/aarch64/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...
Chaos2025/openChaos
2,544
kernel/tools/raspi4/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 //-----------------------------------------------------------------------------------...
cheng-zhangpei/orangeOS
2,014
os/src/trap/trap.S
# os/src/trap/trap.S .altmacro .macro SAVE_GP n sd x\n, \n*8(sp) .endm .align 2 # 总结一下,这段内容是用户主动trap的前置准备,也就是保存用户的上下文。一共保存下面三个内容 # 1. x1~x31 的通用寄存器 # 2. t1、t2寄存器用于保存CSR中的sstatus、sepc # 3. 用户栈的指针 __alltraps: csrrw sp, sscratch, sp # now sp->kernel stack, sscratch->user stack,在这一行之前 sp 指向用户栈, sscratch 指向内核栈...
CHERIoT-Platform/cheri-rust
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...
CHERIoT-Platform/cheri-rust
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...
CHERIoT-Platform/cheri-rust
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: ...
CHERIoT-Platform/cheri-rust
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...
CHERIoT-Platform/cheri-rust
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...
CHERIoT-Platform/cheri-rust
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(...
CHERIoT-Platform/cheri-rust
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...
CHERIoT-Platform/cheri-rust
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); ...
CHERIoT-Platform/cheri-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 ...
chisatowo/bochs_os-exp
3,250
boot/mbr.S
; 主引导记录MBR ; %include "boot.inc" ;LOADER_BASE_ADDR equ 0xA000 ;LOADER_START_SECTOR equ 0x2 ; --------------------------------------------- SECTION MBR vstart=0x7c00 ; 指定mbr在链接后的重定位地址为0x7c00(只负责为程序编址即当前程序中所有代码的基地址都从0x7c00开始,不负责加载) mov ax,cs mov ds,ax mov es,ax mov ss,ax mov fs,ax mov sp,0x7c00 mov ax,0xb800 ; VGA...
chitwang/sssnakelyzer
1,859
src/helper_func.s
allocmem: pushq %rbp mov %rsp, %rbp pushq %rbx pushq %rdi pushq %rsi pushq %r12 pushq %r13 pushq %r14 pushq %r15 testq $15, %rsp jz is_mem_aligned pushq $0 # align to 16 bytes movq 16(%rbp), %rdi call malloc add $8, %rsp # r...
chitwang/sssnakelyzer
1,375
test/tests/strcmp.s
.file "strcmp.c" .text .section .rodata .LC0: .string "First string is greater" .LC1: .string "Second string is greater" .LC2: .string "strings are same" .text .globl main .type main, @function main: endbr64 pushq %rbp movq %rsp, %rbp subq $64, %rsp movq %fs:40, %rax movq %rax, -8(%rbp) xorl %eax, %eax ...
chungmcl/jerryOS
2,482
src/entry.S
.text .global _start _start: // Grab some system registers for funsies 🤪 mrs x16, CurrentEL lsr x16, x16, #2 // Extract EL number according to formula (right shift 2) mrs x17, ID_AA64PFR0_EL1 mrs x18, ID_AA64MMFR1_EL1 mrs x19, ID_AA64PFR1_EL1 mrs x20, ID_AA64MMFR3_EL1 mrs x21, ID_AA64MMFR4_EL1 // ...
ciron-nine/CS61C-2020-FALL
2,459
lab07/cache.s
# Rewriten by Stephan Kaminsky in RISC-V on 7/30/2018 # This program accesses an array in ways that provide data about the cache parameters. # Coupled with the Data Cache Simulator and Memory Reference Visualization to help students # understand how the cache parameters affect cache performance. # # PSEUDOCODE: # ...
ciron-nine/CS61C-2020-FALL
4,624
lab04/megalistmanips.s
.globl map .data arrays: .word 5, 6, 7, 8, 9 .word 1, 2, 3, 4, 7 .word 5, 2, 7, 4, 3 .word 1, 6, 3, 8, 4 .word 5, 2, 7, 8, 1 start_msg: .asciiz "Lists before: \n" end_msg: .asciiz "Lists after: \n" .text main: jal create_default_list mv s0, a0 # v0 = s0 is head of node l...
ciron-nine/CS61C-2020-FALL
2,118
lab04/discrete_fn.s
.globl f .data neg3: .asciiz "f(-3) should be 6, and it is: " neg2: .asciiz "f(-2) should be 61, and it is: " neg1: .asciiz "f(-1) should be 17, and it is: " zero: .asciiz "f(0) should be -38, and it is: " pos1: .asciiz "f(1) should be 19, and it is: " pos2: .asciiz "f(2) should be 42, and it is: " pos3: ...
ciron-nine/CS61C-2020-FALL
3,704
lab03/list_map.s
.globl map .text main: jal ra, create_default_list add s0, a0, x0 # a0 = s0 is head of node list #print the list add a0, s0, x0 jal ra, print_list # print a newline jal ra, print_newline # load your args add a0, s0, x0 # load the address of the first node into a0 # load th...
ciron-nine/CS61C-2020-FALL
1,089
lab03/ex2.s
.globl main .data source: .word 3 .word 1 .word 4 .word 1 .word 5 .word 9 .word 0 dest: .word 0 .word 0 .word 0 .word 0 .word 0 .word 0 .word 0 .word 0 .word 0 .word 0 .text fun: addi t0, a0, 1 sub t1, x0, a0...
ciron-nine/CS61C-2020-FALL
5,080
lab03/cc_test.s
.globl simple_fn naive_pow inc_arr .data failure_message: .asciiz "Test failed for some reason.\n" success_message: .asciiz "Sanity checks passed! Make sure there are no CC violations.\n" array: .word 1 2 3 4 5 exp_inc_array_result: .word 2 3 4 5 6 .text main: # We test our program by loading a bunch of r...
ciron-nine/CS61C-2020-FALL
2,265
proj2/src/write_matrix.s
.globl write_matrix .text # ============================================================================== # FUNCTION: Writes a matrix of integers into a binary file # FILE FORMAT: # The first 8 bytes of the file will be two 4 byte ints representing the # numbers of rows and columns respectively. Every 4 bytes the...
ciron-nine/CS61C-2020-FALL
10,441
proj2/src/utils.s
############################################################## # Do not modify! (But feel free to use the functions provided) ############################################################## #define c_print_int 1 #define c_print_str 4 #define c_atoi 5 #define c_sbrk 9 #define c_exit 10 #define c_print_char 11 #define c_...
ciron-nine/CS61C-2020-FALL
1,040
proj2/src/relu.s
.globl relu .text # ============================================================================== # FUNCTION: Performs an inplace element-wise ReLU on an array of ints # Arguments: # a0 (int*) is the pointer to the array # a1 (int) is the # of elements in the array # Returns: # None # Exceptions: # - If the length ...
ciron-nine/CS61C-2020-FALL
1,385
proj2/src/dot.s
.globl dot .text # ======================================================= # FUNCTION: Dot product of 2 int vectors # Arguments: # a0 (int*) is the pointer to the start of v0 # a1 (int*) is the pointer to the start of v1 # a2 (int) is the length of the vectors # a3 (int) is the stride of v0 # a4 (int) is ...
ciron-nine/CS61C-2020-FALL
1,231
proj2/src/argmax.s
.globl argmax .text # ================================================================= # FUNCTION: Given a int vector, return the index of the largest # element. If there are multiple, return the one # with the smallest index. # Arguments: # a0 (int*) is the pointer to the start of the vector # a1 (int) is the # of...
ciron-nine/CS61C-2020-FALL
2,283
proj2/src/matmul.s
.globl matmul .text # ======================================================= # FUNCTION: Matrix Multiplication of 2 integer matrices # d = matmul(m0, m1) # Arguments: # a0 (int*) is the pointer to the start of m0 # a1 (int) is the # of rows (height) of m0 # a2 (int) is the # of columns (width) of m0 # a3 (int...
ciron-nine/CS61C-2020-FALL
2,605
proj2/src/read_matrix.s
.globl read_matrix .text # ============================================================================== # FUNCTION: Allocates memory and reads in a binary file as a matrix of integers # # FILE FORMAT: # The first 8 bytes are two 4 byte ints representing the # of rows and columns # in the matrix. Every 4 bytes af...
ciron-nine/CS61C-2020-FALL
3,808
proj2/src/classify.s
.globl classify .text classify: # ===================================== # COMMAND LINE ARGUMENTS # ===================================== # Args: # a0 (int) argc # a1 (char**) argv # a2 (int) print_classification, if this is zero, # you should print the classif...
cjsjz/rcore-os
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...
cliffeh/rvem
1,744
tests/data/fib.s
.data n: .word 42 .text .globl _start _start: li x2, 0 # Used to determine if n (x7) equals 0 li x3, 1 # Used to determine if n (x7) equals 1 li x5, 0 # First number li x6, 1 # Second number lw ...
cliffeh/rvem
2,664
tests/data/complexMul.s
# This example demonstrates an implementation of the multiplication of two # complex numbers z = 1 + 3i, w = 5 + 4i. .data aa: .word 1 # Real part of z bb: .word 3 # Imag. part of z cc: .word 5 # Real part of w dd: .word 4 # Imag part of w str: .string " + i* " .text .globl _start _start: lw a0, aa lw a1, bb ...
clorf6/ACore
4,438
kernel/src/link_app.S
.align 3 .section .data .global _num_app _num_app: .quad 19 .quad app_0_start .quad app_1_start .quad app_2_start .quad app_3_start .quad app_4_start .quad app_5_start .quad app_6_start .quad app_7_start .quad app_8_start .quad app_9_start .quad app_10_start ...
cloudfstrife/rCore
1,589
01-BatchOS/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 stack addi sp, s...
clexp/Primary_Care_Load_Management_Tool
15,124
streamlit_env_py312/lib/python3.12/site-packages/prophet/stan_model/cmdstan-2.33.1/stan/lib/stan_math/lib/tbb_2020.3/src/tbb/ia64-gas/atomic_support.s
// Copyright (c) 2005-2020 Intel Corporation // // 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...
clexp/Primary_Care_Load_Management_Tool
1,304
streamlit_env_py312/lib/python3.12/site-packages/prophet/stan_model/cmdstan-2.33.1/stan/lib/stan_math/lib/tbb_2020.3/src/tbb/ia64-gas/log2.s
// Copyright (c) 2005-2020 Intel Corporation // // 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...
clexp/Primary_Care_Load_Management_Tool
1,270
streamlit_env_py312/lib/python3.12/site-packages/prophet/stan_model/cmdstan-2.33.1/stan/lib/stan_math/lib/tbb_2020.3/src/tbb/ia64-gas/lock_byte.s
// Copyright (c) 2005-2020 Intel Corporation // // 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...
clexp/Primary_Care_Load_Management_Tool
2,687
streamlit_env_py312/lib/python3.12/site-packages/prophet/stan_model/cmdstan-2.33.1/stan/lib/stan_math/lib/tbb_2020.3/src/tbb/ia64-gas/ia64_misc.s
// Copyright (c) 2005-2020 Intel Corporation // // 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...
Code-Allergy/rust-kern
1,831
bootloader/src/boot.S
.arm /* these are not real */ #define MODE_Usr 0x10 /* thread-mode, unprivileged */ #define MODE_FIQ 0x11 /* FIQ-mode (always privileged) */ #define MODE_IRQ 0x12 /* IRQ-mode (always privileged) */ #define MODE_Supervisor 0x13 /* SVC-mode (always privileged) */ #define MODE_Abort 0x17 /* Abort-mode (always pri...
codegasms/ctf
9,632
ShunyaCTF-2024/Returning to Winning/c.s
c: file format elf64-x86-64 Disassembly of section .init: 0000000000401000 <.init>: 401000: 48 83 ec 08 sub $0x8,%rsp 401004: 48 8b 05 d5 2f 00 00 mov 0x2fd5(%rip),%rax # 403fe0 <fopen@plt+0x2f40> 40100b: 48 85 c0 test %rax,%rax 40100e: 74 02 je ...
code-help-tutor/CT-Coursework-3-Code-Generation
2,834
tests/riscv/parser/pseudoops.s
WeChat: cstutorcs QQ: 749389476 Email: tutorcs@163.com # RUN: ../../../riscv/parser.py %s | filecheck %s nop: nop # CHECK: nop: # CHECK-NEXT: nop li: li t0, 0 li t0, 12345 li t0, -67890 # CHECK: li: # CHECK-NEXT: li t0, 0 # CHECK-NEXT: li t0, 12345 # CHECK-NEXT: li t0, -67890 mv: mv t0, t0 # ...
code-help-tutor/CT-Coursework-3-Code-Generation
2,482
tests/riscv/parser/registers.s
WeChat: cstutorcs QQ: 749389476 Email: tutorcs@163.com # RUN: ../../../riscv/parser.py %s | filecheck %s registers: # CHECK: registers: jal x0, 0 # CHECK-NEXT: jal zero, 0 jal x1, 0 # CHECK-NEXT: jal ra, 0 jal x2, 0 # CHECK-NEXT: jal sp, 0 jal x3, 0 # CHECK-NEXT: jal gp, 0 jal x4, 0 # CHECK-NEXT: jal tp, 0 jal x...
code-help-tutor/CT-Coursework-3-Code-Generation
7,079
tests/riscv/parser/ops.s
WeChat: cstutorcs QQ: 749389476 Email: tutorcs@163.com # RUN: ../../../riscv/parser.py %s | filecheck %s loadbyte: lb t0, t2 lb t0, t2, 0 lb t0, t2, 12 lb t0, t2, -34 lb t0, 0(t2) lb t0, 56(t2) lb t0, -78(t2) # CHECK: loadbyte: # CHECK-NEXT: lb t0, 0(t2) # CHECK-NEXT: lb t0, 0(t2) # CHECK-NEXT: lb t0, 12(t2...
code-help-tutor/CT-Coursework-3-Code-Generation
1,126
tests/riscv/lexer/ops.s
WeChat: cstutorcs QQ: 749389476 Email: tutorcs@163.com # RUN: riscv-lexer %s | filecheck %s add a0, a0, a0 # CHECK: SYMBOL:add # CHECK-NEXT: SYMBOL:a0 # CHECK-NEXT: COMMA # CHECK-NEXT: SYMBOL:a0 # CHECK-NEXT: COMMA # CHECK-NEXT: SYMBOL:a0 # CHECK-NEXT: NEWLINE add a0, a0, 1 # CHECK: SYMBOL:add # CHECK-NEXT: SYMBOL...
CoderEx24/gyro
2,137
firmware/main.S
#define __SFR_OFFSET 0 #include <avr/io.h> .equ GYRO_ADDR, 0b11010001 .equ GYRO_XL, 0x27 .equ GYRO_XH, 0x29 .equ GYRO_YL, 0x2A .equ GYRO_YH, 0x2B .equ GYRO_ZL, 0x2C .equ GYRO_ZH, 0x2D .global main main: sbi DDRB, 0 ldi r16, 1<<TXEN out UCSRB, r16 ldi r16, 1<<UCSZ1 | 1<<UCSZ0 | 1<<URSEL out UCSRC...
Cogware/CogwareCopilot
2,148
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 //-----------------------------------------------------------------------------------...
Cogware/CogwareCopilot
2,148
X1_JTAG_boot/src/_arch/aarch64/cpu/boot.s
// SPDX-License-Identifier: MIT OR Apache-2.0 // // Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com> //-------------------------------------------------------------------------------------------------- // Definitions //-----------------------------------------------------------------------------------...
coltonisgod234/PixelPulse-6502
1,106
asm/source.s
.segment "CODE" ; Subroutine to refresh display refresh_display: lda #%00000001 ; Load immediate value %00000001 into accumulator sta $3024 ; Store accumulator value into memory address $3024 rts ; Return from subroutine ; Reset subroutine rst: lda ...
Conless/remire
5,079
crates/kernel/src/link_app.S
.align 3 .section .data .global _num_app _num_app: .quad 17 .quad app_0_start .quad app_1_start .quad app_2_start .quad app_3_start .quad app_4_start .quad app_5_start .quad app_6_start .quad app_7_start .quad app_8_start .quad app_9_start .quad app_10_start ...
Conless/remire
1,495
crates/kernel/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 # Global trap handler # # fn __alltraps(ctx: &mut TrapContext) -> ! .section .text.trampoline .globl __alltraps .globl __restore .align 2 __alltraps: # change sp to kernel stack csrrw sp, sscratch,...
Conless/remire
1,368
bios/src/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 # Global trap handler # # fn __alltraps(ctx: &mut TrapContext) -> ! .section .text .globl __alltraps .globl __restore .align 2 __alltraps: # change sp to machine stack csrrw sp, mscratch, sp #...
cppbear/RuMono
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 ...
CrazyDave999/Compiler-2024
4,391
builtin1.s
.text .globl print .p2align 1 print: mv a1, a0 lui a0, %hi(.L.str) addi a0, a0, %lo(.L.str) tail printf .Lfunc_end0: .globl println .p2align 1 println: mv a1, a0 lui a0, %hi(.L.str.1) addi a0, a0, %lo(.L.str.1) tail printf .Lfunc_end1: .globl printInt .p2align 1 printInt: mv a1, a0 lui a0, %hi(.L.str.2...
Crispigt/arm-SME-QKV
24,159
QKV-code/sve_asm.s
.arch armv9.2-a+crc+sme2 .file "naive_mm_realdata.c" .text .align 2 .p2align 5,,15 .global softmax_naive .type softmax_naive, %function softmax_naive: .LFB22: .cfi_startproc cmp w1, 0 ble .L18 stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp stp x21...
crpboy/NoAxiom-HAL
4,296
arch/src/rv64/trap.S
# TrapContext structure: # 0 - user_reg # 256 - sstatus # 264 - sepc # 272 - kernel_satp # 280 - kernel_ra # 288 - kernel_reg (callee_saved) # 384 - kernel_tp .altmacro .macro STORE_X n # store user regs sd x\n, \n*8(sp) .endm .macro LOAD_X n # load u...
crpboy/NoAxiom-HAL
6,868
arch/src/la64/trap.S
.equ CSR_PRMD, 0x1 .equ CSR_ESTAT, 0x5 .equ CSR_ERA, 0x6 .equ CSR_PGDL, 0x19 .equ CSR_PGD, 0x1b .equ CSR_SAVE, 0x30 .equ CSR_SAVE1, 0x31 .altmacro .macro STORE_X n # store user regs st.d $r\n, $sp, \n*8 .endm .ma...
crpboy/NoAxiom-HAL
4,334
arch/src/la64/tlb.S
# fixme: `addi.d $t0, $t0, -1` asserts there's only valid bit in flags # PGD: 0x1b CRMD:0x0 PWCL:0x1c TLBRBADV:0x89 TLBERA:0x8a TLBRSAVE:0x8b SAVE:0x30 # TLBREHi: 0x8e STLBPS: 0x1e MERRsave:0x95 # reference: https://gitlab.eduxiji.net/educg-group-22027-2376549/T202410699992496-1562/-/blob/NPUcore-FF/os/src/arch/la64/tr...
cryptix-network/cryptix-miner-cpu
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...
cryptix-network/cryptix-miner-cpu
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...
cryptix-network/cryptix-miner-cpu
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...