repo_id string | size int64 | file_path string | content string |
|---|---|---|---|
GeminiCarrie/rust-sgx-sdk | 1,868 | sgx_trts/src/asm/thunk.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 may... |
GeminiCarrie/rust-sgx-sdk | 880 | sgx_trts/src/inst/hyper/td.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 may... |
GeminiCarrie/rust-sgx-sdk | 1,375 | sgx_trts/src/inst/hyper/enclu.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 may... |
GeminiCarrie/rust-sgx-sdk | 959 | sgx_trts/src/inst/hyper/xsave_mask.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 may... |
GeminiCarrie/rust-sgx-sdk | 880 | sgx_trts/src/inst/hw/td.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 may... |
GeminiCarrie/rust-sgx-sdk | 1,165 | sgx_trts/src/inst/hw/everifyreport.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 may... |
GeminiCarrie/rust-sgx-sdk | 873 | sgx_trts/src/inst/hw/enclu.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 may... |
GeminiCarrie/rust-sgx-sdk | 959 | sgx_trts/src/inst/hw/xsave_mask.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 may... |
GeminiCarrie/rust-sgx-sdk | 1,515 | sgx_trts/src/inst/sim/lowlib.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 may... |
GeminiCarrie/rust-sgx-sdk | 965 | sgx_trts/src/inst/sim/td.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 may... |
GeminiCarrie/rust-sgx-sdk | 1,259 | sgx_trts/src/inst/sim/enclu.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 may... |
GeminiCarrie/rust-sgx-sdk | 1,312 | sgx_trts/src/inst/sim/xsave_mask.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 may... |
GeminiCarrie/rust-sgx-sdk | 2,664 | sgx_libc/sgx_tlibc_sys/tlibc/gen/alloca.S | /* $OpenBSD: alloca.S,v 1.6 2005/08/07 11:30:38 espie Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz.
*
* Redistribution and use in source and binary forms, with or without
*... |
GeminiCarrie/rust-sgx-sdk | 8,355 | sgx_libc/sgx_tlibc_sys/tlibc/setjmp/_setjmp.S | /* $NetBSD: _setjmp.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz.
*
* Redistribution and use in source and binary forms, with or witho... |
GeminiCarrie/rust-sgx-sdk | 22,551 | sgx_libc/sgx_tlibc_sys/tlibc/math/libm_logl_k80.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 4,736 | sgx_libc/sgx_tlibc_sys/tlibc/math/libm_normalizel_k80.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 3,808 | sgx_libc/sgx_tlibc_sys/tlibc/math/expf_table.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 15,471 | sgx_libc/sgx_tlibc_sys/tlibc/math/exp_table.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 16,776 | sgx_libc/sgx_tlibc_sys/tlibc/math/logl_table.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 19,268 | sgx_libc/sgx_tlibc_sys/tlibc/math/cacos.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 7,241 | sgx_libc/sgx_tlibc_sys/tlibc/math/exp10f_gen.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 11,859 | sgx_libc/sgx_tlibc_sys/tlibc/math/exp10_gen.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 19,212 | sgx_libc/sgx_tlibc_sys/tlibc/math/cacosh.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 187,598 | sgx_libc/sgx_tlibc_sys/tlibc/math/lgammal.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 16,834 | sgx_libc/sgx_tlibc_sys/tlibc/math/expl_table.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 26,344 | sgx_libc/sgx_tlibc_sys/tlibc/math/exp10l.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 13,604 | sgx_libc/sgx_tlibc_sys/tlibc/math/rcp_table.S | /*
* Math library
*
* Copyright (C) 2016 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
GeminiCarrie/rust-sgx-sdk | 817 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/bzero.S | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for NetBSD/x86_64 by Frank van der Linden <fvdl@wasabisystems.com>
*/
#include "DEFS.h"
ENTRY(_bzero)
RETGUARD_SETUP(_bzero, r11)
movq %rsi,%rdx
cld /* set fill direction forward */
xorq %rax,%rax /* set fill data to 0 */
/*
* ... |
GeminiCarrie/rust-sgx-sdk | 2,710 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/memmove.S | /*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from locore.s.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of sou... |
GeminiCarrie/rust-sgx-sdk | 595 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/memchr.S | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for NetBSD/x86_64 by Frank van der Linden <fvdl@wasabisystems.com>
*/
#include "DEFS.h"
ENTRY(_memchr)
RETGUARD_SETUP(_memchr, r11)
movb %sil,%al /* set character to search for */
movq %rdx,%rcx /* set length of search */
testq %rcx,%... |
GeminiCarrie/rust-sgx-sdk | 5,734 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/strlen.S | /* $OpenBSD: _strlen.S,v 1.8 2018/07/03 23:14:05 mortimer Exp $ */
/* $NetBSD: _strlen.S,v 1.6 2014/03/22 19:16:34 jakllsch Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by David Laight.
*
* Redi... |
GeminiCarrie/rust-sgx-sdk | 2,174 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/memcpy_verw.S | /*
* Copyright (C) 2011-2021 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
GeminiCarrie/rust-sgx-sdk | 2,308 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/strrchr.S | /* $OpenBSD: _strrchr.S,v 1.9 2018/07/03 23:14:05 mortimer Exp $ */
/* $NetBSD: _strrchr.S,v 1.3 2014/03/22 19:16:34 jakllsch Exp $ */
/*
* Written by J.T. Conklin <jtc@acorntoolworks.com>
* Public domain.
*/
#include "DEFS.h"
ENTRY(_strrchr)
RETGUARD_SETUP(_strrchr, r11)
movzbq %sil,%rcx
/* zero return value... |
GeminiCarrie/rust-sgx-sdk | 1,244 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/strcmp.S | /* $OpenBSD: _strcmp.S,v 1.8 2018/07/03 23:14:05 mortimer Exp $ */
/* $NetBSD: _strcmp.S,v 1.2 2014/03/22 19:16:34 jakllsch Exp $ */
/*
* Written by J.T. Conklin <jtc@acorntoolworks.com>
* Public domain.
*/
#include "DEFS.h"
ENTRY(_strcmp)
RETGUARD_SETUP(_strcmp, r11)
/*
* Align s1 to word boundary.
* Consi... |
GeminiCarrie/rust-sgx-sdk | 4,652 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/strchr.S | /* $OpenBSD: strchr.S,v 1.9 2018/07/03 23:14:05 mortimer Exp $ */
/* $NetBSD: strchr.S,v 1.7 2014/03/22 19:16:34 jakllsch Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by David Laight.
*
* Redist... |
GeminiCarrie/rust-sgx-sdk | 1,024 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/memset.S | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for NetBSD/x86_64 by Frank van der Linden <fvdl@wasabisystems.com>
*/
#include "DEFS.h"
ENTRY(__memset)
RETGUARD_SETUP(__memset, r10)
movq %rsi,%rax
andq $0xff,%rax
movq %rdx,%rcx
movq %rdi,%r11
cld /* set fill direction forward *... |
GeminiCarrie/rust-sgx-sdk | 374 | sgx_libc/sgx_tlibc_sys/tlibc/string/asm/bcmp.S | #include "DEFS.h"
ENTRY(_bcmp)
RETGUARD_SETUP(_bcmp, r11)
xorl %eax,%eax /* clear return value */
cld /* set compare direction forward */
movq %rdx,%rcx /* compare by words */
shrq $3,%rcx
repe
cmpsq
jne L1
movq %rdx,%rcx /* compare remainder by bytes */
andq $7,%rcx
repe
cmpsb
je L2
L1: incl %ea... |
GeminiCarrie/rust-sgx-sdk | 2,830 | sgx_unwind/libunwind/src/x86_64/setcontext.S | /* libunwind - a platform-independent unwind library
Copyright (C) 2007 Google, Inc
Contributed by Arun Sharma <arun.sharma@google.com>
Copyright (C) 2010 Konstantin Belousov <kib@freebsd.org>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this s... |
GeminiCarrie/rust-sgx-sdk | 1,438 | sgx_unwind/libunwind/src/x86_64/siglongjmp.S | /* libunwind - a platform-independent unwind library
Copyright (C) 2004 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"... |
GeminiCarrie/rust-sgx-sdk | 4,427 | sgx_unwind/libunwind/src/x86_64/getcontext.S | /* libunwind - a platform-independent unwind library
Copyright (C) 2008 Google, Inc
Contributed by Paul Pluzhnikov <ppluzhnikov@google.com>
Copyright (C) 2010 Konstantin Belousov <kib@freebsd.org>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of th... |
GeminiCarrie/rust-sgx-sdk | 1,520 | sgx_unwind/libunwind/src/x86_64/longjmp.S | /* libunwind - a platform-independent unwind library
Copyright (C) 2004-2005 Hewlett-Packard Co
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of libunwind.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (... |
GeminiCarrie/crate-sgx-ex | 15,839 | libz-sys-sgx/src/zlib/contrib/gcc_gvmat64/gvmat64.S | /*
;uInt longest_match_x64(
; deflate_state *s,
; IPos cur_match); // current match
; gvmat64.S -- Asm portion of the optimized longest_match for 32 bits x86_64
; (AMD64 on Athlon 64, Opteron, Phenom
; and Intel EM64T on Pentium 4 with EM64T, Pentium D, Core 2 Duo, Core I5/I7)
;... |
GeminiCarrie/crate-sgx-ex | 12,418 | libz-sys-sgx/src/zlib/contrib/amd64/amd64-match.S | /*
* match.S -- optimized version of longest_match()
* based on the similar work by Gilles Vollant, and Brian Raiter, written 1998
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the BSD License. Use by owners of Che Guevarra
* parafernalia is prohibited, where possible, a... |
GeminiCarrie/crate-sgx-ex | 10,365 | libz-sys-sgx/src/zlib/contrib/asm686/match.S | /* match.S -- x86 assembly version of the zlib longest_match() function.
* Optimized for the Intel 686 chips (PPro and later).
*
* Copyright (C) 1998, 2007 Brian Raiter <breadbox@muppetlabs.com>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author be held ... |
GeminiCarrie/crate-sgx-ex | 42,842 | libz-sys-sgx/src/zlib/contrib/inflate86/inffast.S | /*
* inffast.S is a hand tuned assembler version of:
*
* inffast.c -- fast decoding
* Copyright (C) 1995-2003 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*
* Copyright (C) 2003 Chris Anderson <christop@charm.net>
* Please use the copyright conditions above.
*
* This ver... |
GeminiCarrie/crate-sgx-ex | 1,472 | lexical-sgx/lexical-codegen/lexical/asm.s | / (fcn) sym.parse_u8 75
| sym.parse_u8 (unsigned int arg1);
| ; arg unsigned int arg1 @ rdi
| 0x000032f0 test rsi, rsi
| ,=< 0x000032f3 je 0x3335
| | 0x000032f5 cmp byte [rdi], 0x2b ; [0x2b:1]=0 ; '+' ; arg1
| ,==< 0x000032f8 jne 0x3304
| || 0x0000... |
GeminiCarrie/crate-sgx-ex | 21,637 | lexical-sgx/lexical-codegen/core/asm.s | / (fcn) sym.core::num::__impl_core::str::FromStr_for_u8_::from_str::hce24b711719134f3 102
| sym.core::num::__impl_core::str::FromStr_for_u8_::from_str::hce24b711719134f3 (int arg5, unsigned int arg1, unsigned int arg2);
| ; arg int arg5 @ r8
| ; arg unsigned int arg1 @ rdi
| ; arg unsign... |
G-haoyu/terminal-bench | 1,923 | tasks/reverse-engineering/tests/validate.s | .file "validate.s"
.text
.globl validate
.type validate, @function
validate:
.LFB0:
.cfi_startproc
pushq %rbx # Save callee-saved register
# Initialize hash register to 0
xorq %rbx, %rbx # Use xor to zero out rbx (our hash accumulator)
.L_LOOP_STAR... |
ghosthunter15/termux-assembly-builder | 416 | hello.s | .section .data
msg: .asciz "Hello from AArch64 Termux!\n"
.section .text
.global _start
_start:
ldr x0, =msg // x0 = pointer to message
mov x1, #26 // x1 = length of message
mov x2, #1 // x2 = file descriptor (stdout)
mov x8, #64 // syscall number for write
svc 0
... |
git-ravenbin/phala-blockchain | 561 | crates/sgx-api-lite/src/enclave_api.S | .global sgx_report
.type sgx_report, @function
sgx_report:
.cfi_startproc
push rbx
push rcx
mov rbx,rdi
mov rcx,rsi
mov rax,0x0
clc
enclu
setc al
pop rcx
pop rbx
ret
.cfi_endproc
.global sgx_getkey
.type sgx_getkey, @function
sg... |
gitwillsky/lite_os | 675 | kernel/src/task/switch.S | .altmacro
.macro SAVE_SN n
sd s\n, (\n+2)*8(a0)
.endm
.macro LOAD_SN n
ld s\n, (\n+2)*8(a1)
.endm
.section .text
.globl __switch
__switch:
# __switch(
# current_task_cx_ptr: *mut TaskContext,
# next_task_cx_ptr: *const TaskContext
# )
# save kernel stack of current task
... |
gitwillsky/lite_os | 2,515 | 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
.section .text.trampoline
.globl __alltraps
.globl __restore
.globl __kernel_trap
.align 2
__alltraps:
csrrw sp, sscratch, sp
# now sp->*TrapContext in user space, sscratch->user stack
# sav... |
Glenda-dev/Glenda | 731 | kernel/src/boot.S | .section .text.start
.globl _start
.globl secondary_start
.equ BOOT_STACK_SIZE, 4096 // 4KB 启动栈
.equ MAX_BOOT_HARTS, 8 // 最多 8 个 hart 并发启动
.macro HART_ENTRY
csrw sie, zero
la t0, trap
csrw stvec, t0
la t1, boot_stack_top
li t2, BOOT_STACK_SIZE
... |
glomdom/reginald-rs | 66 | test.S | .global _start
_start:
loop:
mov $0x69420, %eax
jmp loop |
glyh/minimoonbit | 176 | riscv_rt/test/malloc.s | .global mincaml_main
mincaml_main:
li a0, 1024
call mincaml_malloc
li t0, 777
sw t0, 0(a0)
lw a0, 0(a0)
call mincaml_print_int
li a7, 93
ecall
|
glyh/minimoonbit | 173 | riscv_rt/test/float_int.s | .global mincaml_main
mincaml_main:
li a0, 1
call mincaml_float_of_int
call mincaml_int_of_float
call mincaml_print_int
li a0, 0
li a7, 93
ecall
|
glyh/minimoonbit | 115 | riscv_rt/test/print_int.s | .global mincaml_main
mincaml_main:
li a0, 666
call mincaml_print_int
li a0, 0
li a7, 93
ecall
|
gmmorgan96/rust_os_v1 | 3,883 | src/arch/x86_64/boot.s | global start
extern long_mode_start
section .text
bits 32
start:
mov esp, stack_top
call check_multiboot
call check_cpuid
call check_long_mode
call set_up_page_tables
call enable_paging
; load the 64-bit GDT
lgdt [gdt64.pointer]
jmp gdt64.code:long_mode_start
; print `OK` t... |
gmmorgan96/rust_os_v1 | 442 | src/arch/x86_64/multiboot_header.s | section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number (multiboot 2)
dd 0 ; architecture 0 (protected mode i386)
dd header_end - header_start ; header length
; checksum
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))
; insert ... |
gmmorgan96/rust_os_v1 | 378 | src/arch/x86_64/long_mode_init.s | global long_mode_start
extern rust_main
section .text
bits 64
long_mode_start:
; load 0 into all data segment registers
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; call the rust main
extern rust_main
call rust_main
; print `OKAY` to screen
mov ra... |
gofreelee/torch_with_smask | 11,694 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8c2-xzp-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
.syntax unified
# void pytorch_q8gemm_xzp_ukernel_4x8c2__neon(
# ... |
gofreelee/torch_with_smask | 26,778 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-dq-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# params
# c_stride
# A... |
gofreelee/torch_with_smask | 17,365 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8-dq-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# r0 mr
# r1 nr
# r2 k
# ... |
gofreelee/torch_with_smask | 18,740 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x8-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
.syntax unified
# Args ... |
gofreelee/torch_with_smask | 27,813 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/8x8-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# Args passed via 8 regi... |
gofreelee/torch_with_smask | 7,829 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
.syntax unified
# void p... |
gofreelee/torch_with_smask | 9,433 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-aarch32-neon-per-channel.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
.syntax unified
# void p... |
gofreelee/torch_with_smask | 18,255 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/4x8-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
.syntax unified
# Args ... |
gofreelee/torch_with_smask | 27,616 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/8x8-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# Args passed via 8 reg... |
gofreelee/torch_with_smask | 12,985 | aten/src/ATen/native/quantized/cpu/qnnpack/src/hgemm/8x8-aarch32-neonfp16arith.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
.syntax unified
# void pytorch_hgemm_ukernel_8x8__aarch32_neonfp16ari... |
gofreelee/torch_with_smask | 26,974 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x8c8x1-dq-packedA-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
#ifndef __APPLE__
#define... |
gofreelee/torch_with_smask | 34,401 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x8c1x4-dq-packedA-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
#ifndef __APPLE__
#define... |
gofreelee/torch_with_smask | 39,799 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x8c1x4-dq-packedA-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#ifndef IGNORE_CODE_ALIGN_DIRECTIVES
#define NDEF_IGNORE_CODE_ALIGN_DI... |
gofreelee/torch_with_smask | 33,514 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x8c8x1-dq-packedA-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#ifndef IGNORE_CODE_ALIGN_DIRECTIVES
#define NDEF_IGNORE_CODE_ALIGN_DI... |
gofreelee/torch_with_smask | 7,211 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-aarch64-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
# Packed A format.
# 8kx4m blocks for alls blocks given 4 rows (4m) ar... |
gofreelee/torch_with_smask | 7,334 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# r0 mr
# r1 k
# r2 a
# r... |
gofreelee/torch_with_smask | 6,228 | aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/4x4-packA-aarch32-neon.S | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <qnnpack/assembly.h>
#include <requantization/runtime-assembly.h>
# r0 mr
# r1 k
# r2 a
# r... |
gofreelee/torch_with_smask | 162 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm/4x8c2-xzp-aarch32-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8gemm/4x8c2-xzp-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 167 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm/8x8-dq-aarch64-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__aarch64__)
#include <q8gemm/8x8-dq-aarch64-neon.S>
#endif /* defined(__aarch64__) */
|
gofreelee/torch_with_smask | 159 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm/4x8-dq-aarch32-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8gemm/4x8-dq-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 156 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm/4x8-aarch32-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8gemm/4x8-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 164 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm/8x8-aarch64-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__aarch64__)
#include <q8gemm/8x8-aarch64-neon.S>
#endif /* defined(__aarch64__) */
|
gofreelee/torch_with_smask | 160 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8dwconv/up8x9-aarch32-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8dwconv/up8x9-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 172 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8dwconv/up8x9-aarch32-neon-per-channel.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8dwconv/up8x9-aarch32-neon-per-channel.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 156 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8conv/4x8-aarch32-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <q8conv/4x8-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 164 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8conv/8x8-aarch64-neon.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__aarch64__)
#include <q8conv/8x8-aarch64-neon.S>
#endif /* defined(__aarch64__) */
|
gofreelee/torch_with_smask | 164 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/hgemm/8x8-aarch32-neonfp16arith.S | /* Auto-generated by generate-wrappers.py script. Do not modify */
#if defined(__arm__)
#include <hgemm/8x8-aarch32-neonfp16arith.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 110 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/4x8c8x1-dq-packedA-aarch32-neon.S | #if defined(__arm__)
#include <q8gemm_sparse/4x8c8x1-dq-packedA-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 110 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/4x8c1x4-dq-packedA-aarch32-neon.S | #if defined(__arm__)
#include <q8gemm_sparse/4x8c1x4-dq-packedA-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 114 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/8x8c1x4-dq-packedA-aarch64-neon.S | #if defined(__aarch64__)
#include <q8gemm_sparse/8x8c1x4-dq-packedA-aarch64-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 114 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/8x8c8x1-dq-packedA-aarch64-neon.S | #if defined(__aarch64__)
#include <q8gemm_sparse/8x8c8x1-dq-packedA-aarch64-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 105 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/8x4-packA-aarch64-neon.S | #if defined(__aarch64__)
#include <q8gemm_sparse/8x4-packA-aarch64-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 101 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/8x4-packA-aarch32-neon.S | #if defined(__arm__)
#include <q8gemm_sparse/8x4-packA-aarch32-neon.S>
#endif /* defined(__arm__) */
|
gofreelee/torch_with_smask | 101 | aten/src/ATen/native/quantized/cpu/qnnpack/wrappers/q8gemm_sparse/4x4-packA-aarch32-neon.S | #if defined(__arm__)
#include <q8gemm_sparse/4x4-packA-aarch32-neon.S>
#endif /* defined(__arm__) */
|
GroxyAI/groxy | 1,538 | 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:
#
# For a 64-bit kernel:
# x86_64-linux-gnu-as test_elf.S -o test_elf64.o
# x86_64-linux-gnu-ld test_elf64.o -o test_elf64.bin -T test_elf.ld
#
# For a 3... |
gsspdev/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 ... |
gsspdev/rust | 29 | tests/codegen/foo.s | .global foo
foo:
jmp baz
|
gsspdev/rust | 79 | tests/ui/asm/named-asm-labels.s | lab1: nop
// do more things
lab2: nop // does bar
// a: b
lab3: nop; lab4: nop
|
gsspdev/rust | 136 | tests/run-make/x86_64-fortanix-unknown-sgx-lvi/enclave/foo_asm.s | .text
.global cc_plus_one_asm
.type cc_plus_one_asm, @function
cc_plus_one_asm:
movl (%rdi), %eax
inc %eax
retq
|
gsspdev/rust | 145 | tests/run-make/x86_64-fortanix-unknown-sgx-lvi/enclave/libcmake_foo/src/foo_asm.s | .text
.global cmake_plus_one_asm
.type cmake_plus_one_asm, @function
cmake_plus_one_asm:
movl (%rdi), %eax
inc %eax
retq
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.