repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
baiyongkun/rustdesk-org
43,532
wezterm-main/deps/cairo/pixman/pixman/pixman-arma64-neon-asm-bilinear.S
/* * Copyright © 2011 SCore Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
baiyongkun/rustdesk-org
120,733
wezterm-main/deps/cairo/pixman/pixman/pixman-mips-dspr2-asm.S
/* * Copyright (c) 2012 * MIPS Technologies, Inc., California. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of...
Bartyq7/Projekt_konar_1
13,353
Core/Startup/startup_stm32l476rgtx.s
/** ****************************************************************************** * @file startup_stm32l476xx.s * @author MCD Application Team * @brief STM32L476xx devices vector table GCC toolchain. * This module performs: * - Set the initial SP * - S...
BillGoldenWater/playground
11,497
assembly/quicksort/main.s
.global _main .align 4 ; allocate stack memory, size must be multiple of 16 .macro stack_alloc size sub sp, sp, \size .endm ; de-allocate stack memory, size must be multiple of 16 .macro stack_dealloc size add sp, sp, \size .endm ; allocate 16 bytes on the stack and store a register at SP .macro push reg ...
bismuthsalamander/gadb
1,245
src/targets/reg_write.s
.global main .section .data hex_format: .asciz "%#Lx" float_format: .asciz "%.2f" long_float_format: .asciz "%.2Lf" .section .text .macro trap # %rax <- kill(my_pid, SIGTRAP /* 62 */) movq $62, %rax movq %r12, %rdi movq $5, %rsi syscall .endm main: push %rbp m...
blahblahbloopster/riscv-avr
11,000
src/memory.S
#pragma once //#include <avr/io.h> #include "common.S" #define ENABLE_RAM_MEM #define RAM_ADDR_BYTE 0x80 //#define ENABLE_PSRAM_MEM //#define PSRAM_ADDR_BYTE 0x88 #define FLASH_ADDR_BYTE 0x84 /** * Sets up the memory */ MEMORY_INIT: push ret0 #ifdef ENABLE_PSRAM_MEM // set pin directions // PB5 i...
blahblahbloopster/riscv-avr
20,520
src/main.S
/* * A RISC-V32I compliant CPU written in AVR assembly * * Written by Max Leibowitz on 2024-11-22 */ #include <avr/io.h> #include "common.S" #include "memory.S" #include "../out/guest_program.h" .global main main: // stack pointer ldi ret0, lo8(RAMEND) sts SPL, ret0 ldi ret0, hi8(RAMEND) sts ...
blahblahbloopster/riscv-avr
1,576
src/common.S
//#include <avr/io.h> #define LOADX(v) ldi XL, lo8(v) $ ldi XH, hi8(v) #define LOADY(v) ldi YL, lo8(v) $ ldi YH, hi8(v) #define LOADZ(v) ldi ZL, lo8(v) $ ldi ZH, hi8(v) // Copies n bytes from the given program memory address to the given data memory address, overwriting the X and Z pointers in the process #define COPY...
b-paul/timesink-os
2,733
bootloader/src/mbr.S
# Mark the mbr section as allocatable, writable and executable. .section .mbr, "awx" .global _start .code16 _start: # initialise registers xor ax, ax mov ds, ax mov ss, ax mov sp, 0x7c00 cld cli # dl is initialised to store the drive number of the drive we are booting # from. We st...
b-Rocks2718/Dioptase-Emulator-Full
1,774
tests/asm/sprite.s
.kernel # a colorful square that the user can move around using the keyboard # uses a sprite instead of the framebuffer # uses interrupts to accomplish this .define SPRITEMAP_0_ADDR 0x26000 .define SPRITE_0_X_ADDR 0x2FFD0 .define SPRITE_0_Y_ADDR 0x2FFD2 .define PS2_ADDR 0x20000 .define KEY_W 119...
b-Rocks2718/Dioptase-Emulator-Full
1,781
tests/asm/cdiv.s
.kernel # a colorful square that the user can move around using the keyboard # uses interrupts to accomplish this .define TILEMAP_ADDR 0x2A000 .define FRAMEBUFFER_ADDR 0x2E000 .define SCALE_REG_ADDR 0x2FFFB .define HSCROLL_ADDR 0x2FFFC .define VSCROLL_ADDR 0x2FFFE .define PIT_ADDR 0x20004 .define...
b-Rocks2718/Dioptase-Emulator-Full
3,243
tests/asm/colors.s
.kernel # a colorful square that the user can move around using the keyboard # uses interrupts to accomplish this .define TILEMAP_ADDR 0x2A000 .define FRAMEBUFFER_ADDR 0x2E000 .define SCALE_REG_ADDR 0x2FFFB .define HSCROLL_ADDR 0x2FFFC .define VSCROLL_ADDR 0x2FFFE .define PIT_ADDR 0x20004 .define...
b-Rocks2718/Dioptase-Emulator-Full
1,322
tests/asm/green.s
.kernel # have the kernel initialize the tlb # then enter user mode and draw a green square .define PHY_TILEMAP_ADDR 0x2A000 .define PHY_FRAMEBUFFER_ADDR 0x2E000 .define VRT_TILEMAP_ADDR 0x10000000 .define VRT_FRAMEBUFFER_ADDR 0x20000000 .define PS2_ADDR 0x20000 .define USER_PID 1 EXIT: mode h...
buhenxihuan/starry_ext4
1,598
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...
buhenxihuan/starry_ext4
4,307
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...
buhenxihuan/starry_ext4
1,965
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...
buhenxihuan/starry_ext4
2,034
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...
buhenxihuan/starry_ext4
1,505
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 ...
buhenxihuan/starry_ext4
2,415
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...
bullhh/arceos_igb
1,741
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...
bullhh/arceos_hv
2,001
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 = .; } _srodata = .; .rodata : ALIGN(4K) { *(.rodata...
bullhh/arceos_igb
4,325
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...
bullhh/arceos_igb
1,965
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...
bullhh/arceos_igb
2,362
modules/axhal/src/arch/riscv/trap.S
.macro PUSH_POP_GENERAL_REGS, op \op ra, sp, 0 \op t0, sp, 4 \op t1, sp, 5 \op t2, sp, 6 \op s0, sp, 7 \op s1, sp, 8 \op a0, sp, 9 \op a1, sp, 10 \op a2, sp, 11 \op a3, sp, 12 \op a4, sp, 13 \op a5, sp, 14 \op a6, sp, 15 \op a7, sp, 16 \op s2, sp, 17 \op s...
bullhh/arceos_igb
1,505
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 ...
bullhh/arceos_igb
2,415
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...
bullhh/arceos_hv
4,325
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...
bullhh/arceos_hv
1,965
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...
bullhh/arceos_hv
1,705
modules/axhal/src/arch/loongarch64/trap.S
.macro SAVE_REGS, from_user move $t0, $sp .if \from_user == 1 csrrd $sp, KSAVE_KSP // restore kernel sp addi.d $sp, $sp, -{trapframe_size} STD $tp, $sp, 2 STD $r21, $sp, 21 csrrd $tp, KSAVE_TP csrrd $r21, KSAVE_R21 .else addi.d $sp, $sp, -{trap...
bullhh/arceos_hv
1,839
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...
bullhh/arceos_hv
1,339
modules/axhal/src/arch/x86_64/syscall.S
.section .text .code64 syscall_entry: swapgs // switch to kernel gs mov gs:[offset __PERCPU_USER_RSP_OFFSET], rsp // save user rsp mov rsp, gs:[offset __PERCPU_TSS + {tss_rsp0_offset}] // switch to kernel stack sub rsp, 8 ...
bullhh/arceos_hv
1,505
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 ...
bullhh/arceos_hv
2,616
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...
bullhh/arceos_igb
2,544
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 //-----------------------------------------------------------------------------------...
bullhh/arceos_hv
2,544
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 //-----------------------------------------------------------------------------------...
cadaritre/Lapis-monetae
5,802
crypto/hashes/src/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...
cadaritre/Lapis-monetae
6,073
crypto/hashes/src/keccakf1600_x86-64.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...
carloskiki/rpi-devenv
3,431
src/boot.s
.section ".text.boot" .globl _start _start: // Trick from dwelch67: https://github.com/dwelch67/raspberrypi-zero/tree/master/blinker05 ldr pc, reset_handler ldr pc, undefined_handler ldr pc, swi_handler ldr pc, prefetch_handler ldr pc, data_handler ldr pc, unused_handler ldr pc, irq_ha...
carloskiki/rpi-devenv
2,299
bootloader/src/boot.s
.section ".text.boot" .globl _start // Let's not use r0, r1, r2, for now, I think they hold useful values such as atags, and other stuff. _start: // Set the stack pointer. mov sp, #0x8000 // Relocate ourselves to __relocate_address // The size of the bootloader is __end_data - __start_text. relocate: ...
CarolNinge/OS_Experiment
3,510
OS_Experiment_7/os/src/link_app.S
.align 3 .section .data .global _num_app _num_app: .quad 15 .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 ...
CarolNinge/OS_Experiment
1,640
OS_Experiment_7/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...
CarolNinge/OS_Experiment
1,640
OS_Experiment_6/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...
CarolNinge/OS_Experiment
1,592
OS_Experiment_3/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 s...
CarolNinge/OS_Experiment
1,595
OS_Experiment_4/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 s...
CarolNinge/OS_Experiment
1,595
OS_Experiment_5/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 s...
carrierone/redfire-switch
4,149
src/g729_asm/levinson_durbin.s
# G.729 Levinson-Durbin Algorithm - x86-64 Assembly # Optimized computation of LP coefficients from autocorrelation .intel_syntax noprefix .text .equ M, 10 # LP order # float levinson_durbin_asm(const float* r, float* lp_coeffs) .globl levinson_durbin_asm .type levinson_durbin_asm, @function lev...
carrierone/redfire-switch
4,252
src/g729_asm/autocorrelation.s
# G.729 Autocorrelation - x86-64 Assembly # High-performance autocorrelation computation using AVX/SSE .intel_syntax noprefix .text # Constants .equ L_WINDOW, 240 .equ AUTOCORR_ORDER, 11 # void autocorrelation_avx(const float* windowed_speech, float* r) .globl autocorrelation_avx .type autocorrelation_avx, @function...
carrierone/redfire-switch
6,513
src/g729_asm/lsp_quantization.s
# G.729 LSP Quantization - x86-64 Assembly # High-performance LSP vector quantization using SIMD .intel_syntax noprefix .text # Quantize LSP vector using SIMD distance computation # void lsp_quantization_avx(const float* lsp, const float* codebook, # int codebook_size, int* best_index, float...
ccccourse/algml
1,678
A1-其他/05-程式語言/code/07-馮紐曼的報告/01-asm/fib.s
.global main .text main: push %rbx # we have to save this since we use it mov $90, %ecx # ecx will countdown to 0 xor %rax, %rax # rax will hold the current number xor %rbx, %rbx # rbx will hold t...
ccccourse/algml
1,544
A1-其他/06-軟體工程/code/03-品質/c/05-jumpTableSwitch/noJumpSwitch.s
.file "noJumpTable.c" .globl _R .bss .align 4 _R: .space 4 .text .globl _f0 .def _f0; .scl 2; .type 32; .endef _f0: pushl %ebp movl %esp, %ebp movl $0, _R nop popl %ebp ret .globl _f1 .def _f1; .scl 2; .type 32; .endef _f1: pushl %ebp movl %esp, %ebp movl $1, _R nop popl %ebp ret .globl _f2 .def...
ccccourse/algml
1,279
A1-其他/06-軟體工程/code/03-品質/c/05-jumpTableSwitch/jumpTable.s
.file "jumpTable.c" .globl _R .bss .align 4 _R: .space 4 .text .globl _f0 .def _f0; .scl 2; .type 32; .endef _f0: pushl %ebp movl %esp, %ebp movl $0, _R nop popl %ebp ret .globl _f1 .def _f1; .scl 2; .type 32; .endef _f1: pushl %ebp movl %esp, %ebp movl $1, _R nop popl %ebp ret .globl _f2 .def _...
ccccourse/algml
2,514
A1-其他/06-軟體工程/code/03-品質/c/02-constantFolding/constant_folding1.s
.file "constant_folding1.c" # GNU C11 (tdm-1) version 5.1.0 (mingw32) # compiled by GNU C version 5.1.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 # GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 # options passed: # -iprefix C:/Program Files (x86)/CodeBlocks/MinGW/bin/....
ccccourse/algml
4,094
A1-其他/06-軟體工程/code/03-品質/c/02-constantFolding/constant_folding1_O4.s
.file "constant_folding1.c" # GNU C11 (tdm-1) version 5.1.0 (mingw32) # compiled by GNU C version 5.1.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 # GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 # options passed: # -iprefix C:/Program Files (x86)/CodeBlocks/MinGW/bin/....
ccccourse/algml
3,065
A1-其他/06-軟體工程/code/03-品質/c/02-constantFolding/constant_folding1_O.s
.file "constant_folding1.c" # GNU C11 (tdm-1) version 5.1.0 (mingw32) # compiled by GNU C version 5.1.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 # GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 # options passed: # -iprefix C:/Program Files (x86)/CodeBlocks/MinGW/bin/....
ccccourse/algml
1,039
A1-其他/06-軟體工程/code/03-品質/c/03-loopInvariant/mystrcpy1_O0.s
.file "mystrcpy1.c" .text .globl _mystrcpy1 .def _mystrcpy1; .scl 2; .type 32; .endef _mystrcpy1: pushl %ebp movl %esp, %ebp subl $40, %esp movl 8(%ebp), %eax movl %eax, (%esp) call _strlen movl %eax, -16(%ebp) movl $0, -12(%ebp) jmp L2 L3: movl -12(%ebp), %edx movl 12(%ebp), %eax addl %eax, %edx movl ...
ccccourse/algml
1,957
A1-其他/06-軟體工程/code/03-品質/c/03-loopInvariant/mystrcpy1_O3.s
.file "mystrcpy1.c" .section .text.unlikely,"x" LCOLDB0: .text LHOTB0: .p2align 4,,15 .globl _mystrcpy1 .def _mystrcpy1; .scl 2; .type 32; .endef _mystrcpy1: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 48(%esp), %ebx movl 52(%esp), %esi movl %ebx, (%esp) call _strlen testl %eax, %eax...
ccccourse/algml
3,143
A1-其他/06-軟體工程/code/03-品質/c/06-struBits/struBits.s
.file "struBits.c" # GNU C11 (tdm-1) version 5.1.0 (mingw32) # compiled by GNU C version 5.1.0, GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2 # GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 # options passed: # -iprefix D:/install/CodeBlocksPortable/App/CodeBlocks/MinGW/bin...
CEJMU/PIMSys
2,478
pim-os/src/m5op.s
/* * Copyright (c) 2010-2013, 2016-2017 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementat...
CEJMU/PIMSys
1,744
pim-os/src/start.s
.extern LD_STACK_PTR // Put a 64-bit value with little endianness. .macro PUT_64B high, low .word \low .word \high .endm // Create an entry pointing to a next-level table. .macro TABLE_ENTRY PA, ATTR PUT_64B \ATTR, (\PA) + 0x3 .endm // Create an entry for a 1GB block. .macro BLOCK_1GB PA, ATTR_HI, ATTR_...
CelestialAmber/tokimemo
1,286
tools/splat/test/basic_app/expected/asm/nonmatchings/main/func_800004A0.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel func_800004A0 /* 10A0 800004A0 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 10A4 800004A4 AFBF0014 */ sw $ra, 0x14($sp) /* 10A8 800004A8 AFBE0010 */ sw $fp, 0x10($sp) /* 10AC 800004AC 0C000100 */ ...
CelestialAmber/tokimemo
3,048
tools/splat/test/basic_app/expected/asm/nonmatchings/main/func_80000400.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ .section .rodata .align 3 glabel jtbl_80000518 /* 1118 80000518 80000448 */ .word .L80000448 /* 111C 8000051C 80000450 */ .word .L80000450 /* 1120 80000520 80000458 */ .word .L80000458 /* 1124 80000524 80000460 */ .word ...
chairq/First-choice
40,470
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-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> .private_extern _OPENSSL_armcap_P .section __TEXT,__const...
chairq/First-choice
18,316
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesni-gcm-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 .p2align 5 _aesni_ctr32_ghash_6x: vmovdqu 32(%r11),%xmm2 subq $6,%rdx vpxor %xmm...
chairq/First-choice
10,896
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-neon-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> .text .globl gcm_init_neon .def gcm_init_neon .type 32 .e...
chairq/First-choice
190,086
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha20_poly1305_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 chacha20_poly1305_constants: .section __DATA,__const .p2align 6 L$chacha20_consts: ...
chairq/First-choice
10,908
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-neon-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> .text .globl _gcm_init_neon .private_extern _gcm_init_neon...
chairq/First-choice
17,788
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/bsaes-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__) @ Copyright 2012-2016 The OpenSSL Project Authors. All Rights Reserved. @ @ Licensed under the Ope...
chairq/First-choice
70,804
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-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 sha256_block_data_order .hid...
chairq/First-choice
14,765
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghashv8-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 .globl gcm...
chairq/First-choice
4,321
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/x86-mont-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 bn_mul_mont .hidden bn_mul_mont .type bn_mul_mont,@function .align 16 bn_mul_mont: .L...
chairq/First-choice
9,380
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-armx-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> #if __ARM_MAX_ARCH__>=7 .text .arch armv7-a @ don't confuse not-s...
chairq/First-choice
43,302
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-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__) @ Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. @ @ Licensed under the Ope...
chairq/First-choice
6,872
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghashv8-armx-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> #if __ARM_MAX_ARCH__>=7 .text .fpu neon .code 32 #undef __thumb2_...
chairq/First-choice
23,591
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesni-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 aes_hw_encrypt .hidden aes_hw...
chairq/First-choice
11,317
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/vpaes-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 .p2align 4 _vpaes_encrypt_core: movq %rdx,%r9 movq $16,%r11 movl ...
chairq/First-choice
77,139
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/p256-x86_64-asm-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 .section .rodata .align 64 .Lpoly:...
chairq/First-choice
31,033
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/armv8-mont-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> .text .globl bn_mul_mont .def bn_mul_mont .type 32 .endef...
chairq/First-choice
74,019
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha20_poly1305_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 Lchacha20_consts: .byte 'e','x','p',...
chairq/First-choice
82,208
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-gcm-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> #if __ARM_MAX_ARCH__ >= 8 .arch armv8-a+crypto .text .globl ae...
chairq/First-choice
64,192
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha256-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__) @ Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved. @ @ Licensed under the Ope...
chairq/First-choice
6,612
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-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 gcm_init_clmul .hidden gcm_init_clmul .type gcm_init_clmul,@function .align 16 gcm_in...
chairq/First-choice
14,550
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghashv8-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 .globl gcm_...
chairq/First-choice
31,212
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/armv8-mont-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 bn_mul_mont .hidden bn_mul_mont .type bn_mul_mo...
chairq/First-choice
74,349
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha20_poly1305_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 .align 7 .Lchacha20_consts: .byte 'e','x','p...
chairq/First-choice
15,245
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesni-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 .globl aes_hw_encrypt .hidden aes_hw_encrypt .type aes...
chairq/First-choice
47,815
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/sha512-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 _sha512_block_data_order .private_extern _sha512_block_data_order .p2align 4...
chairq/First-choice
20,719
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/x86_64-mont-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 bn_mul_mont .hidden bn_mul_...
chairq/First-choice
22,177
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/armv4-mont-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
22,525
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesni-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 _aes_hw_encrypt .private_extern _aes_hw_encrypt .p2align 4 _aes_hw_encrypt: ...
chairq/First-choice
58,542
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/x86_64-mont5-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 bn_mul_mont_gather5 .hidden...
chairq/First-choice
22,670
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-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 _gcm_init_clmul .private_extern _gcm_init_clmul .p2align 4 _gcm_init_clmul: ...
chairq/First-choice
6,302
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/ghash-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
35,434
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/p256-armv8-asm-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 5 Lpoly: .quad 0xfffffffffff...
chairq/First-choice
74,004
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha20_poly1305_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 Lchacha20_consts: .byte 'e...
chairq/First-choice
40,476
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-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 5 Lsigma: .quad 0x3320646e61707865...
chairq/First-choice
33,624
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-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 .section .rodata .align 64 .Lzero:...
chairq/First-choice
19,660
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesni-gcm-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 _aesni_ctr32_ghash_6x,@function .align 32 _aesni_ctr32_ghash_6x: .cfi_startproc ...
chairq/First-choice
82,384
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/aesv8-gcm-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> #if __ARM_MAX_ARCH__ >= 8 .arch armv8-a+crypto .text .globl a...
chairq/First-choice
30,956
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/armv8-mont-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> .text .globl _bn_mul_mont .private_extern _bn_mul_mont .a...
chairq/First-choice
32,699
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/pregenerated/chacha-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 .section __DATA,__const .p2align 6 L$zero: .long 0,0,0,0 L$one: .long 1,0,0,0 L$inc...