repo_id
string
size
int64
file_path
string
content
string
sigongzi/riscv-isa-vector
1,183
tests/corpus/rv32zbkb.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 ror x0, x0, x0 # 60005033 ror x4, x13, x27 # 61b6d233 ror x31, x31, x31 # 61ffdfb3 rol x0, x0, x0 # 60001033 rol x4, x13, x27 # 61b69233 rol x31, x31, x31 # 61ff9fb3 rori x0, x0, 0 # 60005013 rori x4, x13, 27 # 61b6d213 rori ...
sigongzi/riscv-isa-vector
5,155
tests/corpus/rv32i.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lui x0, 0 # 00000037 lui x1, 123 # 0007b0b7 lui x31, 1048575 # ffffffb7 auipc x0, 0 # 00000017 auipc x1, 123 # 0007b097 auipc x31, 1048575 # ffffff97 jal x0, 0 # 0000006f jal x1, -2 # fffff0...
sigongzi/riscv-isa-vector
3,343
tests/corpus/rv32d.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 fld f0, 0(x0) # 00003007 fld f13, -45(x7) # fd33b687 fld f4, 612(x23) # 264bb207 fld f15, 2047(x12) # 7ff63787 fld f25, -2048(x16) # 80083c87 fld f31, -1(x31) # ffffbf87 fsd f0, 0(x0) ...
sigongzi/riscv-isa-vector
1,882
tests/corpus/rv64i.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lwu x0, 0(x0) # 00006003 lwu x1, -2(x31) # ffefe083 lwu x31, -203(x5) # f352ef83 lwu x31, 2047(x31) # 7fffef83 lwu x31, -2048(x31) # 800fef83 ld x0, 0(x0) # 00003003 ld x1, -2(x31) # ffefb083 ld x31, -203(x5) ...
sigongzi/riscv-isa-vector
3,343
tests/corpus/rv32f.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flw f0, 0(x0) # 00002007 flw f13, -45(x7) # fd33a687 flw f4, 612(x23) # 264ba207 flw f15, 2047(x12) # 7ff62787 flw f25, -2048(x16) # 80082c87 flw f31, -1(x31) # ffffaf87 fsw f0, 0(x0) ...
sigongzi/riscv-isa-vector
4,045
tests/corpus/rv32zfh.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flh f0, 0(x0) # 00001007 flh f13, -45(x7) # fd339687 flh f4, 612(x23) # 264b9207 flh f15, 2047(x12) # 7ff61787 flh f25, -2048(x16) # 80081c87 flh f31, -1(x31) # ffff9f87 fsh f0, 0(x0) ...
sigongzi/riscv-isa-vector
3,577
tests/corpus/rv32q.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flq f0, 0(x0) # 00004007 flq f13, -45(x7) # fd33c687 flq f4, 612(x23) # 264bc207 flq f15, 2047(x12) # 7ff64787 flq f25, -2048(x16) # 80084c87 flq f31, -1(x31) # ffffcf87 fsq f0, 0(x0) ...
sigongzi/riscv-isa-vector
1,687
tests/corpus/rv32zbb.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 andn x0, x0, x0 # 40007033 andn x3, x14, x27 # 41b771b3 andn x31, x31, x31 # 41ffffb3 orn x0, x0, x0 # 40006033 orn x3, x14, x27 # 41b761b3 orn x31, x31, x31 # 41ffefb3 xnor x0, x0, x0 # 40004033 xnor x3, x14, x27 # 41b741b3 xnor x31, x31...
sigongzi/riscv-isa-vector
1,288
tests/corpus/rv64a.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lr.d x0, (x0) # 1000302f lr.d x4, (x17) # 1008b22f lr.d x31, (x31) # 100fbfaf sc.d x0, x0, (x0) # 1800302f sc.d x4, x13, (x27) # 18ddb22f sc.d x31, x31, (x31) # 19ffbfaf amoswap.d x0, x0, (x0) # 080...
Simon4290/gardenner
1,600
os/src/trap/trap.S
.altmacro .macro SAVE_GP n sd 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, sp, -34*8 # save general-purpose ...
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...
sigongzi/riscv-isa-vector
1,183
tests/corpus/rv32zbkb.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 ror x0, x0, x0 # 60005033 ror x4, x13, x27 # 61b6d233 ror x31, x31, x31 # 61ffdfb3 rol x0, x0, x0 # 60001033 rol x4, x13, x27 # 61b69233 rol x31, x31, x31 # 61ff9fb3 rori x0, x0, 0 # 60005013 rori x4, x13, 27 # 61b6d213 rori ...
sigongzi/riscv-isa-vector
5,155
tests/corpus/rv32i.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lui x0, 0 # 00000037 lui x1, 123 # 0007b0b7 lui x31, 1048575 # ffffffb7 auipc x0, 0 # 00000017 auipc x1, 123 # 0007b097 auipc x31, 1048575 # ffffff97 jal x0, 0 # 0000006f jal x1, -2 # fffff0...
sigongzi/riscv-isa-vector
3,343
tests/corpus/rv32d.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 fld f0, 0(x0) # 00003007 fld f13, -45(x7) # fd33b687 fld f4, 612(x23) # 264bb207 fld f15, 2047(x12) # 7ff63787 fld f25, -2048(x16) # 80083c87 fld f31, -1(x31) # ffffbf87 fsd f0, 0(x0) ...
sigongzi/riscv-isa-vector
1,882
tests/corpus/rv64i.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lwu x0, 0(x0) # 00006003 lwu x1, -2(x31) # ffefe083 lwu x31, -203(x5) # f352ef83 lwu x31, 2047(x31) # 7fffef83 lwu x31, -2048(x31) # 800fef83 ld x0, 0(x0) # 00003003 ld x1, -2(x31) # ffefb083 ld x31, -203(x5) ...
sigongzi/riscv-isa-vector
3,343
tests/corpus/rv32f.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flw f0, 0(x0) # 00002007 flw f13, -45(x7) # fd33a687 flw f4, 612(x23) # 264ba207 flw f15, 2047(x12) # 7ff62787 flw f25, -2048(x16) # 80082c87 flw f31, -1(x31) # ffffaf87 fsw f0, 0(x0) ...
sigongzi/riscv-isa-vector
4,045
tests/corpus/rv32zfh.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flh f0, 0(x0) # 00001007 flh f13, -45(x7) # fd339687 flh f4, 612(x23) # 264b9207 flh f15, 2047(x12) # 7ff61787 flh f25, -2048(x16) # 80081c87 flh f31, -1(x31) # ffff9f87 fsh f0, 0(x0) ...
sigongzi/riscv-isa-vector
3,577
tests/corpus/rv32q.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 flq f0, 0(x0) # 00004007 flq f13, -45(x7) # fd33c687 flq f4, 612(x23) # 264bc207 flq f15, 2047(x12) # 7ff64787 flq f25, -2048(x16) # 80084c87 flq f31, -1(x31) # ffffcf87 fsq f0, 0(x0) ...
sigongzi/riscv-isa-vector
1,687
tests/corpus/rv32zbb.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 andn x0, x0, x0 # 40007033 andn x3, x14, x27 # 41b771b3 andn x31, x31, x31 # 41ffffb3 orn x0, x0, x0 # 40006033 orn x3, x14, x27 # 41b761b3 orn x31, x31, x31 # 41ffefb3 xnor x0, x0, x0 # 40004033 xnor x3, x14, x27 # 41b741b3 xnor x31, x31...
sigongzi/riscv-isa-vector
1,288
tests/corpus/rv64a.s
# Copyright James Wainwright # # SPDX-License-Identifier: MPL-2.0 lr.d x0, (x0) # 1000302f lr.d x4, (x17) # 1008b22f lr.d x31, (x31) # 100fbfaf sc.d x0, x0, (x0) # 1800302f sc.d x4, x13, (x27) # 18ddb22f sc.d x31, x31, (x31) # 19ffbfaf amoswap.d x0, x0, (x0) # 080...
Simon4290/gardenner
1,600
os/src/trap/trap.S
.altmacro .macro SAVE_GP n sd 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, sp, -34*8 # save general-purpose ...
skanehira/rust-greenthread
4,445
src/arch/aarch64/switch.s
// ============================================================================ // AArch64 (ARM64) コンテキストスイッチ実装 // ============================================================================ // // このファイルは、コルーチン間でCPUの実行状態を切り替えるための // 低レベルなアセンブリコードを実装しています。 // // # コンテキストスイッチとは // // プログラムの実行状態(レジスタ、スタックポインタなど)を保存し、 /...
skydder/mnasm
3,924
test/t18.s
@( fn parse(tokenizer) { let code = ""; let lhs = read_macro(tokenizer); asm_skip_space(tokenizer); let mid = asm_next_token(tokenizer); match mid { case "?" { asm_skip_space(tokenizer); let rhs = read_macro(tokenizer); ...
skydder/mnasm
2,947
test/t17.s
@( fn parse(tokenizer) { let code = ""; if asm_peek_token(tokenizer) == "@" { code += "@"; } let lhs = asm_parse(Operand, tokenizer); print("lhs", lhs); asm_skip_space(tokenizer); let mid = asm_next_token(tokenizer); print(mid); if ...
skydder/mnasm
1,075
test/t15.s
let(a, rax) let(b, helloworld) macro if(cond, then, else,) { `cond jne(else) `then jmp(end) <else> `else <end> } <helloworld:.data> { db("Hello world!", 10) } <_start:global:.text> { @(fn test(x) { print("testT", x , 100); } fn test_while(in) { let i = 0; ...
skydder/mnasm
1,134
test/t16.s
let(a, rax) let(b, helloworld) macro if(cond, then, else,) { `cond jne(else) `then jmp(end) <else> `else <end> } <helloworld:.data> { db("Hello world!", 10) } <_start:global:.text> { @( fn tokenize(in) { let i = 0; let lis = []; while i <...
skydder/mnasm
1,213
test/t12.s
macro if(cond, then, else,) { `cond jne!(.else) `then jmp!(.end) <else> `else <end> } <fizz:global:.data> { db("fizz") db(10)#5 } <buzz:global:.data> { db("buzz") db(10)#5 } macro print(len, str,) { @[rax = 1] @[rdi = 1] @[rsi = `str] @[rdx = `len] sysc...
skydder/mnasm
1,092
test/t14.s
# from https://en.wikibooks.org/wiki/X86_Assembly/SSE#Arithmetic_example_using_packed_singles # this is a test for using not supported instructions by raw nasm pseudo-ins <v1:global:.data> { !dd("1.1", "2.2", "3.3", "4.4") } <v2:global:.data> { !dd("5.5", "6.6", "7.7", "8.8") } <v3:global:.bss> { !resd(4) ...
skydder/mnasm
4,741
test/t13.s
@( fn parse(tokenizer) { let code = ""; let m = ""; if asm_peek_token(tokenizer) == "@" { m += "@"; asm_next_token(tokenizer); } let lhs = m + asm_parse(Operand, tokenizer); print(lhs); asm_skip_space(tokenizer); let mid = asm_n...
skydder/mnasm
1,072
test/t11.s
macro if(cond, then, else,) { `cond jne!(.else) `then jmp!(.end) <else> `else <end> } <fizz:global:.data> { db("fizz") db(10)#5 } <buzz:global:.data> { db("buzz") db(10)#5 } macro print(len, str,) { @[rax = 1] @[rdi = 1] @[rsi = `str] @[rdx = `len] sysc...
skydder/mnasm
1,302
idea/ex4_abs.s
<abs:global:text> { # ------------------- # if (rdi < 0) { # rdi = -rdi; # } # return rdi # ------------------- cmp(rdi, 0) jl(minus) jmp(end) <minus:_:_> { neg(rdi) } <end:_:_> mov(rax, rdi) ret() } <abs2:global:text> { # ------------------- ...
skydder/mnasm
2,672
test/fizzbuzz/fizzbuzz.s
extern printf, assert_ section .data global GL_L_L_3 GL_L_L_3: db 110, 117, 109, 10, 0 section .data global GL_L_L_2 GL_L_L_2: db 102, 105, 122, 122, 10, 0 section .data global GL_L_L_1 GL_L_L_1: db 98, 117, 122, 122, 10, 0 section .data global GL_L_L_0 GL_L_L_0: db 102, 105, 122, 122, 98, 117, 122, 122, 10, 0 ...
skywong14/ACore2025
1,894
os/src/trap/trap.s
# this file is from rCore-ch4 .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 # 0xfffffffffffff000 __alltraps: csrrw sp, sscratch, sp # now sp->*TrapContext in user space, sscr...
Sober7135/rost
4,227
os/src/trap/trap.S
.altmacro .macro SAVE n sd x\n, \n * 8(sp) .endm .macro LOAD n ld x\n, \n * 8(sp) .endm .section .text.trampoline .global __alltraps .global __restore .align 2 __alltraps: #! Attention! The trap context is always stored in the kernel stack. # sp point to the ...
Sober7135/rvos
4,227
os/src/trap/trap.S
.altmacro .macro SAVE n sd x\n, \n * 8(sp) .endm .macro LOAD n ld x\n, \n * 8(sp) .endm .section .text.trampoline .global __alltraps .global __restore .align 2 __alltraps: #! Attention! The trap context is always stored in the kernel stack. # sp point to the ...
soc-hub-fi/headsail-tvm
5,304
src/runtime/hexagon/profiler/lwp_handler.S
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
sonhs99/RedOS
1,620
ap_bootstrap/entry.s
[ORG 0x8000] [BITS 16] jmp START16 align 4, db 0 PAGE_TABLE_PTR: dd 0x00 AP_ENTRY_POINT: dq 0x00 STACK_ADDR: dd 0x00 STACK_SIZE: dd 0x00 START16: cli lgdt [GDTR] mov eax, 0x4000003B mov cr0, eax jmp dword 0x18:START32 [BITS 32] START32: mov ax, 0x20 mov ds, ax mov es, ax mo...
sonith17/CO_PROJECT
1,139
Program2.s
.data .word 0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1 base: .word 0x00000400 .text addi x1 x0 1024 addi x2 x0 0 addi x2 x2 16 selection_sort: addi x3 x0 0 addi x4 x0 0 addi x5 x0 0 for_loop_1: addi x6 x2 -1 bge x3 x6 end_loop_1 add x5 x0 x3 ...
sozud/psy-q-splitter
3,131
splitter/test_data/SpuVmVSetUp.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SpuVmVSetUp /* 12338 80021B38 21308000 */ addu $a2, $a0, $zero /* 1233C 80021B3C FFFFC230 */ andi $v0, $a2, 0xFFFF /* 12340 80021B40 1000422C */ sltiu $v0, $v0, 0x10 /* 12344 80021B44 10004010 ...
sozud/psy-q-splitter
5,371
splitter/test_data/SsVabTransBodyPartly.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SsVabTransBodyPartly /* 12080 80021880 D8FFBD27 */ addiu $sp, $sp, -0x28 /* 12084 80021884 2000B4AF */ sw $s4, 0x20($sp) /* 12088 80021888 21A08000 */ addu $s4, $a0, $zero /* 1208C 8002188C 1...
sozud/psy-q-splitter
13,330
splitter/test_data/_SsInitSoundSep.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsInitSoundSep /* 344C 80012C4C E0FFBD27 */ addiu $sp, $sp, -0x20 /* 3450 80012C50 21608000 */ addu $t4, $a0, $zero /* 3454 80012C54 2158A000 */ addu $t3, $a1, $zero /* 3458 80012C58 1400B1AF ...
sozud/psy-q-splitter
4,580
splitter/test_data/_SsInit.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsInit /* 00000000 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 00000004 AFB00010 */ sw $s0, 0x10($sp) /* 00000008 AFBF0014 */ sw $ra, 0x14($sp) /* 0000000C 0C000000 */ jal func_80000000 /...
sozud/psy-q-splitter
9,294
splitter/test_data/SpuVmAlloc.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SpuVmAlloc /* 12A0C 8002220C D8FFBD27 */ addiu $sp, $sp, -0x28 /* 12A10 80022210 2000B0AF */ sw $s0, 0x20($sp) /* 12A14 80022214 63001034 */ ori $s0, $zero, 0x63 /* 12A18 80022218 FFFF0B34 *...
sozud/psy-q-splitter
1,435
splitter/test_data/_SsUtResolveADSR.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsUtResolveADSR /* FDBC 8001F5BC 00808230 */ andi $v0, $a0, 0x8000 /* FDC0 8001F5C0 0A00C2A4 */ sh $v0, 0xA($a2) /* FDC4 8001F5C4 0080A230 */ andi $v0, $a1, 0x8000 /* FDC8 8001F5C8 0C00C2A4...
sozud/psy-q-splitter
10,308
splitter/test_data/_SsSndCrescendo.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsSndCrescendo /* 102A8 8001FAA8 C0FFBD27 */ addiu $sp, $sp, -0x40 /* 102AC 8001FAAC 21388000 */ addu $a3, $a0, $zero /* 102B0 8001FAB0 00140700 */ sll $v0, $a3, 16 /* 102B4 8001FAB4 0980033C...
sozud/psy-q-splitter
3,068
splitter/test_data/_SpuInit.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SpuInit /* 00000000 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 00000004 AFB00010 */ sw $s0, 0x10($sp) /* 00000008 AFBF0014 */ sw $ra, 0x14($sp) /* 0000000C 0C000000 */ jal ResetCallback ...
sozud/psy-q-splitter
3,890
splitter/test_data/_SsSeqPlay.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsSeqPlay /* E064 8001D864 C8FFBD27 */ addiu $sp, $sp, -0x38 /* E068 8001D868 003C0400 */ sll $a3, $a0, 16 /* E06C 8001D86C 83230700 */ sra $a0, $a3, 14 /* E070 8001D870 002C0500 */ sll ...
spotty118/Rustos
1,033
src/boot.s
# Multiboot header .set ALIGN, 1<<0 # align loaded modules on page boundaries .set MEMINFO, 1<<1 # provide memory map .set VIDEO, 1<<2 # request video mode .set FLAGS, ALIGN | MEMINFO | VIDEO # multiboot 'flag' field .set MAGIC, 0x1BADB002 # magic number lets boot...
sozud/psy-q-splitter
3,131
splitter/test_data/SpuVmVSetUp.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SpuVmVSetUp /* 12338 80021B38 21308000 */ addu $a2, $a0, $zero /* 1233C 80021B3C FFFFC230 */ andi $v0, $a2, 0xFFFF /* 12340 80021B40 1000422C */ sltiu $v0, $v0, 0x10 /* 12344 80021B44 10004010 ...
sozud/psy-q-splitter
5,371
splitter/test_data/SsVabTransBodyPartly.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SsVabTransBodyPartly /* 12080 80021880 D8FFBD27 */ addiu $sp, $sp, -0x28 /* 12084 80021884 2000B4AF */ sw $s4, 0x20($sp) /* 12088 80021888 21A08000 */ addu $s4, $a0, $zero /* 1208C 8002188C 1...
sozud/psy-q-splitter
13,330
splitter/test_data/_SsInitSoundSep.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsInitSoundSep /* 344C 80012C4C E0FFBD27 */ addiu $sp, $sp, -0x20 /* 3450 80012C50 21608000 */ addu $t4, $a0, $zero /* 3454 80012C54 2158A000 */ addu $t3, $a1, $zero /* 3458 80012C58 1400B1AF ...
sozud/psy-q-splitter
4,580
splitter/test_data/_SsInit.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsInit /* 00000000 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 00000004 AFB00010 */ sw $s0, 0x10($sp) /* 00000008 AFBF0014 */ sw $ra, 0x14($sp) /* 0000000C 0C000000 */ jal func_80000000 /...
sozud/psy-q-splitter
9,294
splitter/test_data/SpuVmAlloc.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel SpuVmAlloc /* 12A0C 8002220C D8FFBD27 */ addiu $sp, $sp, -0x28 /* 12A10 80022210 2000B0AF */ sw $s0, 0x20($sp) /* 12A14 80022214 63001034 */ ori $s0, $zero, 0x63 /* 12A18 80022218 FFFF0B34 *...
sozud/psy-q-splitter
1,435
splitter/test_data/_SsUtResolveADSR.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsUtResolveADSR /* FDBC 8001F5BC 00808230 */ andi $v0, $a0, 0x8000 /* FDC0 8001F5C0 0A00C2A4 */ sh $v0, 0xA($a2) /* FDC4 8001F5C4 0080A230 */ andi $v0, $a1, 0x8000 /* FDC8 8001F5C8 0C00C2A4...
sozud/psy-q-splitter
10,308
splitter/test_data/_SsSndCrescendo.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsSndCrescendo /* 102A8 8001FAA8 C0FFBD27 */ addiu $sp, $sp, -0x40 /* 102AC 8001FAAC 21388000 */ addu $a3, $a0, $zero /* 102B0 8001FAB0 00140700 */ sll $v0, $a3, 16 /* 102B4 8001FAB4 0980033C...
sozud/psy-q-splitter
3,068
splitter/test_data/_SpuInit.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SpuInit /* 00000000 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 00000004 AFB00010 */ sw $s0, 0x10($sp) /* 00000008 AFBF0014 */ sw $ra, 0x14($sp) /* 0000000C 0C000000 */ jal ResetCallback ...
sozud/psy-q-splitter
3,890
splitter/test_data/_SsSeqPlay.s
.set noat /* allow manual use of $at */ .set noreorder /* don't insert nops after branches */ glabel _SsSeqPlay /* E064 8001D864 C8FFBD27 */ addiu $sp, $sp, -0x38 /* E068 8001D868 003C0400 */ sll $a3, $a0, 16 /* E06C 8001D86C 83230700 */ sra $a0, $a3, 14 /* E070 8001D870 002C0500 */ sll ...
spotty118/Rustos
1,033
src/boot.s
# Multiboot header .set ALIGN, 1<<0 # align loaded modules on page boundaries .set MEMINFO, 1<<1 # provide memory map .set VIDEO, 1<<2 # request video mode .set FLAGS, ALIGN | MEMINFO | VIDEO # multiboot 'flag' field .set MAGIC, 0x1BADB002 # magic number lets boot...
ssamSohn/crosvm
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 ...
sspphh/Dragon-Mini
5,730
kernel/src/arch/riscv64/asm/head.S
#include "common/asm.h" #include "asm/csr.h" .section .bootstrap // 内核入口(从DragonStub跳转到这里) // 参数: // a0: hartid (核心ID) // a1: fdt (平坦设备树) .global _start .type _start, @function ENTRY(_start) /* Mask all interrupts */ csrw CSR_IE, zero csrw CSR_IP, zero // 暂存hartid la t0, __initial_hartid_ptr sd a0, 0(t0)...
sspphh/Dragon-Mini
2,029
kernel/src/arch/x86_64/asm/apu_boot.S
#include "../common/asm.h" .align 0x1000 // 按照4k对齐 .section .text .code16 ENTRY(_apu_boot_start) _apu_boot_base = . cli wbinvd // 将处理器缓存同步到内存中 mov %cs, %ax mov %ax, %ds mov %ax, %es mov %ax, %ss mov %ax, %fs mov %ax, %gs // 设置栈指针 movl $(_apu_boot_tmp_stack_end - _apu_boot...
sspphh/Dragon-Mini
7,708
kernel/src/arch/x86_64/asm/entry.S
#include <common/asm.h> .code64 //.section .text R15 = 0x00 R14 = 0x08 R13 = 0x10 R12 = 0x18 R11 = 0x20 R10 = 0x28 R9 = 0x30 R8 = 0x38 RBX = 0x40 RCX = 0x48 RDX = 0x50 RSI = 0x58 RDI = 0x60 RBP = 0x68 DS = 0x70 ES = 0x78 RAX = 0x80 FUNC = 0x88 ERRCODE = 0x90 // 以下几个字段,在中断产生时,由处理器压入栈内 RIP ...
sspphh/Dragon-Mini
12,460
kernel/src/arch/x86_64/asm/head.S
// 这是内核执行头程序 // Created by longjin. // 2022/01/20 #include "common/asm.h" // 以下是来自 multiboot2 规范的定义 // How many bytes from the start of the file we search for the header. #define MULTIBOOT_SEARCH 32768 #define MULTIBOOT_HEADER_ALIGN 8 // The magic field should contain this. #define MULTIBOOT2_HEADER_MAGIC 0xe85250...
sssxks/cpurs
2,342
program/test.S
.global _start _start: # Initial setup addi x1, x0, 10 # x1 = 10 addi x2, x0, 20 # x2 = 20 add x3, x1, x2 # x3 = x1 + x2 = 30 sw x3, 0(x0) # Store x3 (30) to memory address 0 addi x4, x0, 0 # Clear x4 lw x4, 0(x0) # Load value from memory address 0 into x4 (x4=30) a...
SubSir/rCore
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...
Sudderen/educom-rust-1754291198
4,337
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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...
Sudderen/educom-rust-1754291198
3,885
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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...
Sudderen/educom-rust-1754291198
4,378
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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: ...
Sudderen/educom-rust-1754291198
7,236
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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...
Sudderen/educom-rust-1754291198
4,801
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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...
Sudderen/educom-rust-1754291198
1,295
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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(...
Sudderen/educom-rust-1754291198
5,659
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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...
Sudderen/educom-rust-1754291198
5,120
opdrachten/registry/src/index.crates.io-1949cf8c6b5b557f/compiler_builtins-0.1.158/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); ...
SuperiorOS/android_packages_modules_Virtualization
4,679
libs/libvmbase/exceptions.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
1,788
libs/libvmbase/exceptions_panic.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
5,154
libs/libvmbase/entry.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
2,102
guest/vmbase_example/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
2,161
guest/rialto/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
1,745
guest/pvmfw/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
4,679
libs/libvmbase/exceptions.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
1,788
libs/libvmbase/exceptions_panic.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
5,154
libs/libvmbase/entry.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
2,102
guest/vmbase_example/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
2,161
guest/rialto/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SuperiorOS/android_packages_modules_Virtualization
1,745
guest/pvmfw/idmap.S
/* * Copyright 2022 The Android Open Source Project * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
SWE-bench-repos/sharkdp__bat
7,962
tests/syntax-tests/highlighted/ARM Assembly/test.S
.data .balign 4 red: .word 0 green: .word 0 [...
t3hw00t/ARW
40,185
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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__) .section __TEXT,__const .align 5 Lsigma: .quad 0x3320646e61707865,0x6b20657479622d32 // en...
t3hw00t/ARW
18,316
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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...
t3hw00t/ARW
10,863
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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) .text .globl gcm_init_neon .def gcm_init_neon .type 32 .endef .align 4 gcm_init_neon: AAR...
t3hw00t/ARW
190,544
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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__) .section __DATA,__const .p2align 6 chacha20_poly1305_constants: L$chacha20_consts: .byte 'e',...
t3hw00t/ARW
10,875
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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__) .text .globl _gcm_init_neon .private_extern _gcm_init_neon .align 4 _gcm_init_neon: AARCH...
t3hw00t/ARW
17,785
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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 Apa...
t3hw00t/ARW
70,675
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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 .globl sha256_block_data_order_nohw .hidden sha256_block_data_order_nohw .type sha256_b...
t3hw00t/ARW
4,266
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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__) #if __ARM_MAX_ARCH__>=7 .text .arch armv8-a+crypto .globl gcm_init_clmul .hidden gcm_init_clmu...
t3hw00t/ARW
4,229
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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...
t3hw00t/ARW
42,856
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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 Apa...
t3hw00t/ARW
24,471
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/pregenerated/aes-gcm-avx2-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__) .section __DATA,__const .p2align 4 L$bswap_mask: .quad 0x08090a0b0c0d0e0f, 0x00010203040506...
t3hw00t/ARW
20,965
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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 .type _aesni_encrypt2,@function .align 16 _aesni_encrypt2: .cfi_startproc movups (%rcx...
t3hw00t/ARW
11,047
.cargo-codex/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/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 ...