repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
32bitmicro/newlib-nano-1.0 | 2,043 | newlib/libc/machine/spu/scanf.S | /*
Copyright (c) 2007, Toshiba 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 list of conditions... |
32bitmicro/newlib-nano-1.0 | 2,061 | newlib/libc/machine/spu/snprintf.S | /*
Copyright (c) 2007, Toshiba 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 list of conditions... |
32bitmicro/newlib-nano-1.0 | 2,049 | newlib/libc/machine/spu/sscanf.S | /*
Copyright (c) 2007, Toshiba 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 list of conditions... |
32bitmicro/newlib-nano-1.0 | 3,694 | newlib/libc/machine/spu/spu-mcount.S | /*
(C) Copyright IBM Corp. 2008
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 list of conditions and the following discla... |
32bitmicro/newlib-nano-1.0 | 5,458 | newlib/libc/machine/sparc/setjmp.S | /*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Modified for incorporation into newlib by Joel Sherrill
* (joel@OARcorp.com), On-Line Applications Research, 1995.
* Did the following:
* + merged in DEFS.h
* + removed error check since it pre... |
32bitmicro/newlib-nano-1.0 | 1,462 | newlib/libc/machine/tic4x/setjmp.S | /* setjmp/longjmp routines.
*
* Written by Michael Hayes <m.hayes@elec.canterbury.ac.nz>.
*
* The author hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
... |
32bitmicro/newlib-nano-1.0 | 2,731 | newlib/libc/machine/necv70/fastmath.S | .globl _fast_sin
_fast_sin:
fsin.l [ap],[ap]
mov.d [ap],r0
ret #0
.globl _fast_sinf
_fast_sinf:
fsin.s [ap],[ap]
mov.w [ap],r0
ret #0
.globl _fast_cos
_fast_cos:
fcos.l [ap],[ap]
mov.d [ap],r0
ret #0
.globl _fast_cosf
_fast_cosf:
fcos.s [ap],[ap]
mov.w [ap],r0
ret #0
.globl _fast_tan
_fast_tan:... |
32bitmicro/newlib-nano-1.0 | 1,098 | newlib/libc/machine/m88k/setjmp.S | /* This is a simple version of setjmp and longjmp.
Ian Lance Taylor, Cygnus Support, 15 July 1993. */
/* We need to save the address of the return instruction, which is in
r1, as well as general register r14 through r25. If we are
compiling for the 88110 with the extended register file, we also
need to ... |
32bitmicro/newlib-nano-1.0 | 1,790 | newlib/libc/machine/mn10300/memcpy.S | .file "memcpy.S"
.section .text
.global _memcpy
.type _memcpy,@function
_memcpy:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,d2
mov d1,a0
mov d2,a1
mov (28,sp),d1
#ifndef __OPTIMIZE_SIZE__
mov a0,d0
or d2,d0
btst 3,d0
bne .L37
cmp 15,d1
bls .L34
setlb
mov (a0),d0
mov d0,(a1)
inc4 a0
inc4 a1
... |
32bitmicro/newlib-nano-1.0 | 1,328 | newlib/libc/machine/mn10300/setjmp.S | .file "setjmp.S"
.section .text
.align 1
.global _setjmp
#ifdef __AM33__
#ifdef __AM33_2__
.am33_2
#else
.am33
#endif
#endif
_setjmp:
mov d0,a0
mov d2,(0,a0)
mov d3,(4,a0)
mov mdr,d1
mov d1,(8,a0)
mov a2,(12,a0)
mov a3,(16,a0)
mov sp,a1
mov a1,(20,a0)
#ifdef __AM33__
... |
32bitmicro/newlib-nano-1.0 | 1,655 | newlib/libc/machine/mn10300/strcpy.S | .file "strcpy.S"
.section .text
.global _strcpy
.type _strcpy,@function
_strcpy:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,d3
mov d1,a0
mov d3,a1
mov a0,d0
#ifndef __OPTIMIZE_SIZE__
or d3,d0
btst 3,d0
bne .L2
mov (a0),d0
mov -16843009,a2
mov a2,d1
add d0,d1
not d0
and d0,d1
mov -2139062144,... |
32bitmicro/newlib-nano-1.0 | 1,826 | newlib/libc/machine/mn10300/memset.S | .file "memset.S"
.section .text
.global _memset
.type _memset,@function
_memset:
movm [d2,d3,a2,a3], (sp)
.Lend_of_prologue:
mov d0, d3
mov d1, d2
mov (28, sp),a1
mov d3, a0
#ifndef __OPTIMIZE_SIZE__
cmp 3, a1
bls .L41
btst 3, d3
bne .L41
extbu d2
mov d2, d1
asl 8, d1
or d2, d... |
32bitmicro/newlib-nano-1.0 | 1,863 | newlib/libc/machine/mn10300/memchr.S | .file "memchr.S"
.section .text
.global _memchr
.type _memchr,@function
_memchr:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,a0
mov d1,d2
mov (28,sp),a1
#ifndef __OPTIMIZE_SIZE__
cmp 3,a1
bls .L44
mov a0,d3
btst 3,d3
bne .L44
mov a0,a2
mov 0,a3
clr d1
setlb
mov a3,d0
asl 8,d0
mov d2,a3
add ... |
32bitmicro/newlib-nano-1.0 | 1,618 | newlib/libc/machine/mn10300/memcmp.S | .file "memcmp.S"
.section .text
.global _memcmp
.type _memcmp,@function
_memcmp:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,a0
mov d1,a1
mov (28,sp),a2
#ifndef __OPTIMIZE_SIZE__
cmp 3,a2
bls .L22
mov a1,d2
or d2,d0
btst 3,d0
bne .L22
setlb
mov (a0),d1
mov (a1),d0
cmp d0,d1
bne .L22
inc4 a0
... |
32bitmicro/newlib-nano-1.0 | 1,592 | newlib/libc/machine/mn10300/strlen.S | .file "strlen.S"
.section .text
.global _strlen
.type _strlen,@function
_strlen:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,a0
mov a0,a2
#ifndef __OPTIMIZE_SIZE__
btst 3,d0
bne .L21
mov (a0),d0
mov -16843009,a1
mov a1,d1
add d0,d1
not d0
and d0,d1
mov -2139062144,d2
btst -2139062144,d1
bne .L... |
32bitmicro/newlib-nano-1.0 | 2,065 | newlib/libc/machine/mn10300/strchr.S | .file "strchr.S"
.section .text
.global _strchr
.type _strchr,@function
_strchr:
movm [d2,d3,a2,a3],(sp)
add -12,sp
.Lend_of_prologue:
mov d0,a1
movbu d1,(7,sp)
#ifndef __OPTIMIZE_SIZE__
btst 3,d0
bne .L20
clr d0
setlb
mov sp,a2
mov d0,d3
add d3,a2
mov a2,a0
add 12,a0
movbu (7,sp),d3
movbu d3,(-4,a... |
32bitmicro/newlib-nano-1.0 | 1,669 | newlib/libc/machine/mn10300/strcmp.S | .file "strcmp.S"
.section .text
.global _strcmp
.type _strcmp,@function
_strcmp:
movm [d2,d3,a2,a3],(sp)
.Lend_of_prologue:
mov d0,a0
mov d1,a1
#ifndef __OPTIMIZE_SIZE__
or d1,d0
btst 3,d0
bne .L11
mov (a0),d1
mov (a1),d0
cmp d0,d1
bne .L11
mov -16843009,d3
setlb
mov (a0),d0
mov d3,d1
add d0,d1
no... |
32bitmicro/newlib-nano-1.0 | 3,291 | newlib/libc/machine/h8300/memcpy.S | #include "setarch.h"
#include "defines.h"
#ifdef __H8300SX__
.global _memcpy
_memcpy:
stm.l er4-er6,@-er7
; Set up source and destination pointers for movmd.
mov.l er0,er6
mov.l er1,er5
; See whether the copy is long enough to use the movmd.l code.
; Although the code can handle anything longer than 6 bytes... |
32bitmicro/newlib-nano-1.0 | 1,037 | newlib/libc/machine/h8300/setjmp.S | #include "setarch.h"
.file "setjmp.S"
.section .text
.align 2
.global _setjmp
_setjmp:
#if defined(__H8300SX__)
mov.l er7,@er0+
mov.l er6,@er0+
mov.l er5,@er0+
mov.l er4,@er0+
mov.l @sp,@er0
sub.l er0,er0
#elif defined(__H8300H__) || defined(__H8300S__)
mov.l er7,@er0
mov.l er6,@(4,er0)
mov.l er5,@(8,e... |
32bitmicro/newlib-nano-1.0 | 1,640 | newlib/libc/machine/h8300/memset.S | #include "setarch.h"
#include "defines.h"
#if defined (__H8300SX__)
.global _memset
_memset:
; Use er3 is a temporary since er0 must remain unchanged on exit.
mov.l er0,er3
; Fill er1 with the byte to copy.
mov.b r1l,r1h
mov.w r1,e1
; Account for any excess bytes and words that will be copied after
; the m... |
32bitmicro/newlib-nano-1.0 | 8,107 | newlib/libc/machine/i960/memccpy_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,853 | newlib/libc/machine/i960/memcpy.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 12,226 | newlib/libc/machine/i960/memcpy_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 3,435 | newlib/libc/machine/i960/strpbrk.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 6,881 | newlib/libc/machine/i960/memcmp_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,781 | newlib/libc/machine/i960/strncat.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 3,917 | newlib/libc/machine/i960/setjmp.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 6,476 | newlib/libc/machine/i960/strcpy.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 3,179 | newlib/libc/machine/i960/strcspn.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 9,947 | newlib/libc/machine/i960/strcpy_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,074 | newlib/libc/machine/i960/strlen_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 2,480 | newlib/libc/machine/i960/strdup.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,835 | newlib/libc/machine/i960/memccpy.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,373 | newlib/libc/machine/i960/memchr_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,578 | newlib/libc/machine/i960/strncmp.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 3,969 | newlib/libc/machine/i960/memset.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 10,423 | newlib/libc/machine/i960/strncat_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,234 | newlib/libc/machine/i960/strchr_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 8,008 | newlib/libc/machine/i960/strcmp_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 10,205 | newlib/libc/machine/i960/strncpy_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,015 | newlib/libc/machine/i960/strrchr.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 8,544 | newlib/libc/machine/i960/strncmp_ca.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,835 | newlib/libc/machine/i960/memchr.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,628 | newlib/libc/machine/i960/memcmp.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,046 | newlib/libc/machine/i960/strlen.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,364 | newlib/libc/machine/i960/strchr.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 4,396 | newlib/libc/machine/i960/strcmp.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 5,675 | newlib/libc/machine/i960/strncpy.S | /*******************************************************************************
*
* Copyright (c) 1993 Intel Corporation
*
* Intel hereby grants you permission to copy, modify, and distribute this
* software and its documentation. Intel grants this permission provided
* that the above copyright notice appears... |
32bitmicro/newlib-nano-1.0 | 3,945 | newlib/libc/machine/xscale/setjmp.S | /* This is a simple version of setjmp and longjmp.
Nick Clifton, Cygnus Solutions, 13 June 1997. */
/* ANSI concatenation macros. */
#define CONCAT(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a##b
#ifndef __USER_LABEL_PREFIX__
#error __USER_LABEL_PREFIX__ not defined
#endif
#define SYM(x) CONCAT (__USER_LABEL_... |
32bitmicro/newlib-nano-1.0 | 7,726 | newlib/libc/machine/sh/memcpy.S | !
! Fast SH memcpy
!
! by Toshiyasu Morita (tm@netcom.com)
! hacked by J"orn Rernnecke (joern.rennecke@superh.com) ("o for o-umlaut)
! SH5 code Copyright 2002 SuperH Ltd.
!
! Entry: ARG0: destination pointer
! ARG1: source pointer
! ARG3: byte count
!
! Exit: RESULT: destination pointer
! any othe... |
32bitmicro/newlib-nano-1.0 | 3,695 | newlib/libc/machine/sh/setjmp.S | /* We want to pretend we're in SHmedia mode, even when assembling for
SHcompact. */
#if __SH5__ == 32 && ! __SHMEDIA__
# undef __SHMEDIA__
# define __SHMEDIA__ 1
#endif
#if __SHMEDIA__
.mode SHmedia
#endif
#include "asm.h"
ENTRY(setjmp)
#if __SH5__
ptabs r18, tr0
gettr tr5, r5
gettr tr6, r6
gettr tr7, r7
s... |
32bitmicro/newlib-nano-1.0 | 2,524 | newlib/libc/machine/sh/strcpy.S | ! Entry: arg0: destination
! arg1: source
! Exit: result: destination
!
! SH5 code Copyright 2002 SuperH Ltd.
#include "asm.h"
ENTRY(strcpy)
#if __SHMEDIA__
pta/l shortstring,tr1
ldlo.q r3,0,r4
ptabs r18,tr4
shlli r3,3,r7
addi r2, 8, r0
mcmpeq.b r4,r63,r6
SHHI r6,r7,r6
bnei/u r6,0,tr1 // shortstring... |
32bitmicro/newlib-nano-1.0 | 3,191 | newlib/libc/machine/sh/memset.S | !
! Fast SH memset
!
! by Toshiyasu Morita (tm@netcom.com)
!
! SH5 code by J"orn Rennecke (joern.rennecke@superh.com)
! Copyright 2002 SuperH Ltd.
!
#include "asm.h"
ENTRY(memset)
#if __SHMEDIA__
pta/l multiquad, tr0
ptabs r18, tr2
andi r2, -8, r25
add r2, r4, r5
addi r5, -1, r20 // calculate end address.
a... |
32bitmicro/newlib-nano-1.0 | 1,370 | newlib/libc/machine/sh/strlen.S | ! Entry: arg0: string start address
! Exit: result: length
!
! Copyright 2002 SuperH Ltd.
#include "asm.h"
ENTRY(strlen)
#if __SHMEDIA__
ldlo.q r2,0,r3
ptabs/l r18,tr0
pta/l loop,tr1
andi r2,-8,r0
shlli r2,3,r1
mcmpeq.b r3,r63,r3
SHHI r3,r1,r4
beqi/u r4,0,tr1 // loop
#ifdef __LITTLE_ENDIAN__
movi -1,r2
a... |
32bitmicro/newlib-nano-1.0 | 4,092 | newlib/libc/machine/sh/strcmp.S | ! SH5 code Copyright 2002 SuperH Ltd.
#include "asm.h"
ENTRY(strcmp)
#if __SHMEDIA__
ld.ub r2,0,r4
pt/l quickret0,tr0
ld.ub r3,0,r5
ptabs r18,tr2
beqi/u r4,0,tr0
ld.ub r2,1,r6
bne/u r4,r5,tr0
pt/l quickret1,tr1
ld.ub r3,1,r7
beqi/u r6,0,tr1
ld.ub r2,2,r4
bne/u r6,r7,tr1
ld.ub r3,2,r5
beqi/u r4,0,tr0
l... |
32bitmicro/newlib-nano-1.0 | 4,945 | newlib/libc/machine/sh/strncpy.S | /* Copyright 2003 SuperH Ltd. */
#include "asm.h"
#ifdef __SH5__
#if __SHMEDIA__
#ifdef __LITTLE_ENDIAN__
#define ZPAD_MASK(src, dst) addi src, -1, dst
#else
#define ZPAD_MASK(src, dst) \
byterev src, dst; addi dst, -1, dst; byterev dst, dst
#endif
/* We assume that the destination is not in the first 16 bytes o... |
32bitmicro/newlib-nano-1.0 | 5,328 | newlib/libc/machine/arm/setjmp.S | /* This is a simple version of setjmp and longjmp.
Nick Clifton, Cygnus Solutions, 13 June 1997. */
/* ANSI concatenation macros. */
#define CONCAT(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a##b
#ifndef __USER_LABEL_PREFIX__
#error __USER_LABEL_PREFIX__ not defined
#endif
#define SYM(x) CONCAT (__USER_LABEL_... |
32bitmicro/newlib-nano-1.0 | 2,142 | newlib/libc/machine/m68hc11/setjmp.S | /* setjmp/longjmp routines for M68HC11 & M68HC12.
* Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr)
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are r... |
32bitmicro/newlib-nano-1.0 | 3,119 | newlib/libc/machine/cr16/setjmp.S | ##############################################################################
# setjmp.S -- CR16 setjmp routine #
# #
# Copyright (c) 2004 National Semiconductor Corporation #
... |
32bitmicro/newlib-nano-1.0 | 2,255 | newlib/libc/machine/x86_64/memcpy.S | /*
* ====================================================
* Copyright (C) 2007 by Ellips BV. All rights reserved.
*
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#include... |
32bitmicro/newlib-nano-1.0 | 1,083 | newlib/libc/machine/x86_64/setjmp.S | /*
* ====================================================
* Copyright (C) 2007 by Ellips BV. All rights reserved.
*
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/*
** j... |
32bitmicro/newlib-nano-1.0 | 1,774 | newlib/libc/machine/x86_64/memset.S | /*
* ====================================================
* Copyright (C) 2007 by Ellips BV. All rights reserved.
*
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#include... |
32bitmicro/newlib-nano-1.0 | 2,078 | newlib/libc/machine/mep/setjmp.S | #
# Setjmp/longjmp for MeP
#
# DJ Delorie, Red Hat Inc.
#
# 19 32-bit words in the jmpbuf:
# $0
# $1
# ...
# $15
# $pc
# $hi
# $lo
#
# Note that $0 is saved but not restored. It can't be restored
# as it's the return value of setjmp, but we save it in case
# some application wants to see it ... |
32bitmicro/newlib-nano-1.0 | 2,140 | newlib/libc/machine/bfin/setjmp.S | /*
* setjmp for the Blackfin processor
*
* Copyright (C) 2006 Analog Devices, Inc.
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* no... |
32bitmicro/newlib-nano-1.0 | 2,327 | newlib/libc/machine/bfin/longjmp.S | /*
* longjmp for the Blackfin processor
*
* Copyright (C) 2006 Analog Devices, Inc.
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* n... |
32bitmicro/newlib-nano-1.0 | 3,956 | newlib/libc/machine/tic6x/setjmp.S | ;******************************************************************************
;* SETJMP v7.2.0I10181 *
;* *
;* Copyright (c) 1996-2010 Texas Instruments Incorporated *
... |
32bitmicro/newlib-nano-1.0 | 1,917 | newlib/libc/machine/mips/setjmp.S | /* This is a simple version of setjmp and longjmp for MIPS 32 and 64.
Ian Lance Taylor, Cygnus Support, 13 May 1993. */
#ifdef __mips16
/* This file contains 32 bit assembly code. */
.set nomips16
#endif
#define GPR_LAYOUT \
GPR_OFFSET ($16, 0); \
GPR_OFFSET ($17, 1); \
GPR_OFFSET ($18, 2); \
GPR_OFFSET (... |
32bitmicro/newlib-nano-1.0 | 2,619 | newlib/libc/machine/h8500/psi.S | /* convert psi to si inplace
Note that `fp' below isn't a segment register.
It's r6, the frame pointer. */
#if __CODE__==32
#define RET prts
#else
#define RET rts
#endif
#define EXTPSISI_SN(r_msw,r_lsw,sp) ; \
.global __extpsisi##r_msw ; \
__extpsisi##r_msw: ; \
mov r_msw,r_lsw ; \
stc sp,r_msw ; \
RET... |
32bitmicro/newlib-nano-1.0 | 7,262 | newlib/libc/machine/powerpc/setjmp.S | /* This is a simple version of setjmp and longjmp for the PowerPC.
Ian Lance Taylor, Cygnus Support, 9 Feb 1994.
Modified by Jeff Johnston, Red Hat Inc. 2 Oct 2001. */
#include "ppc-asm.h"
FUNC_START(setjmp)
#ifdef __ALTIVEC__
addi 3,3,15 # align Altivec to 16 byte boundary
rlwinm 3,3,0,0,27
#else
addi 3,... |
32bitmicro/newlib-nano-1.0 | 6,544 | newlib/libc/sys/d10v/trap.S | #include "sys/syscall.h"
#define SYSCALL(name) \
.global name ; \
name: ; \
ldi r4, SYS ## name ; \
bra __trap0
.text
.stabs "trap.S",100,0,0,__trap0
.stabs "int:t(0,1)=r(0,1);-65536;65535;",128,0,0,0
.stabs "long int:t(0,2)=r(0,1);0020000000000;0017777777777;",128,0,0,0
.stabs "_trap0:F(0,1)",36,0,1,__trap... |
32bitmicro/newlib-nano-1.0 | 1,486 | newlib/libc/sys/d10v/crt0.S | .text
.global _start
.type _start,@function
.stabs "crt0.S",100,0,0,_start
.stabs "int:t(0,1)=r(0,1);-32768;32767;",128,0,0,0
.stabs "_start:F(0,1)",36,0,1,_start
_start:
; R14 always contains memory base address (0)
ldi r14,0
; Set the USER and SYSTEM stack pointers.
ldi r0, 0 ; zero arguments
ldi r1, 0... |
32bitmicro/newlib-nano-1.0 | 133,709 | newlib/libc/sys/rdos/rdos.S | /*#######################################################################
# RDOS operating system
# Copyright (C) 1988-2006, Leif Ekblad
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; ... |
32bitmicro/newlib-nano-1.0 | 7,258 | newlib/libc/sys/rdos/crt0.S | /*#######################################################################
# RDOS operating system
# Copyright (C) 1988-2006, Leif Ekblad
#
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; ... |
32bitmicro/newlib-nano-1.0 | 1,252 | newlib/libc/sys/sysnecv850/crt0.S | # NEC V850 startup code
.section .text
.global _start
_start:
#if defined __v850e__
movea 255, r0, r20
mov 65535, r21
mov hilo(_stack), sp
mov hilo(__ep), ep
mov hilo(__gp), gp
mov hilo(__ctbp), r6
ldsr r6, ctbp
mov hilo(_edata), r6
mov hilo(_end), r7
.L0:
... |
32bitmicro/newlib-nano-1.0 | 1,624 | newlib/libc/sys/arc/crt0.S | ; ARC start up file
; In the absence of a custom linker script, go with something simple.
; We do not support passing arguments to "main", but this is an embedded
; system anyway.
;
; We call init/fini here without cpu prefixes because there is always
; only one .init/.fini section per image.
.section .text
.align 4... |
32bitmicro/newlib-nano-1.0 | 1,119 | newlib/libc/sys/sysmec/crt0.S | #ifdef __mn10300__
.section .text
.global _start
_start:
mov _stack-8,a0 # Load up the stack pointer
mov a0,sp
mov _edata,a0 # Get the start/end of bss
mov _end,a1
cmp a0,a1 # If no bss, then do nothing
beq .L0
clr d0 # clear d0
.L1:
movbu d0,(a0) # Clear a byte and bump pointer
inc a0
cmp a0,a1
... |
32bitmicro/newlib-nano-1.0 | 2,202 | newlib/libc/sys/sh/crt0.S |
#ifdef __SH5__
.section .data,"aw"
.global ___data
___data:
.section .rodata,"a"
.global ___rodata
___rodata:
#if __SH5__ == 64
.section .text,"ax"
#define LOAD_ADDR(sym, reg) \
movi (sym >> 48) & 65535, reg; \
shori (sym >> 32) & 65535, reg; \
shori (sym >> 16) & 65535, reg; \
shori sym & 65535, reg
#else
... |
32bitmicro/newlib-nano-1.0 | 3,076 | newlib/libc/sys/sparc64/crt0.S | ! C run time start off
! This file supports:
!
! - both 32bit pointer and 64bit pointer environments (at compile time)
! - an imposed stack bias (of 2047) (at run time)
! - medium/low and medium/anywhere code models (at run time)
! Initial stack setup:
!
! bottom of stack (higher memory address)
! ...
! text of e... |
32bitmicro/newlib-nano-1.0 | 1,678 | newlib/libc/sys/sparc64/sigsetjmp.S | ! This file is called sigsetjmp.s because that is what V8 uses.
! We do not define sigsetjmp() or setlongjmp() yet.
! Solaris has setjmp/longjmp in setjmp.o. Move this stuff there.
#include <sys/syscallasm.h>
TEXT_SECTION
ALIGN (4)
#ifdef __svr4__
GLOBAL (ASM_SYMBOL (setjmp))
.proc 04
ASM_SYMBOL (setjmp):
cl... |
32bitmicro/newlib-nano-1.0 | 1,475 | newlib/libc/sys/sparc64/sbrk.S | ! sbrk() system call
#include "sys/syscallasm.h"
DATA_SECTION
ALIGN (4)
! CURBRK contains the current top of allocated space.
! END is a private symbol in svr4, but a public one in sunos4.
! FIXME: CURBRK is 4 bytes for now.
GLOBAL (ASM_PRIVATE_SYMBOL (curbrk))
ASM_PRIVATE_SYMBOL (curbrk):
#ifdef __svr4__
WORD... |
32bitmicro/newlib-nano-1.0 | 5,015 | newlib/libc/sys/arm/trap.S | /* Run-time exception support */
#if !defined(__thumb2__)
#include "swi.h"
/* .text is used instead of .section .text so it works with arm-aout too. */
.text
.align 0
.global __rt_stkovf_split_big
.global __rt_stkovf_split_small
/* The following functions are provided for software st... |
32bitmicro/newlib-nano-1.0 | 6,902 | newlib/libc/sys/arm/crt0.S | #include "newlib.h"
#include "swi.h"
/* ANSI concatenation macros. */
#define CONCAT(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#ifdef __USER_LABEL_PREFIX__
#define FUNCTION( name ) CONCAT (__USER_LABEL_PREFIX__, name)
#else
#error __USER_LABEL_PREFIX is not defined
#endif
#ifdef HAVE_INITFINI_ARRAY
#define _... |
32bitmicro/newlib-nano-1.0 | 1,507 | newlib/libc/sys/a29khif/_ioctl.S | ; @(#)_ioctl.s 1.2 90/10/14 21:57:25, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute t... |
32bitmicro/newlib-nano-1.0 | 1,982 | newlib/libc/sys/a29khif/alloc.S | ;
;(#)_alloc.s 1.4 90/10/14 21:57:19, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1989, 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distr... |
32bitmicro/newlib-nano-1.0 | 1,721 | newlib/libc/sys/a29khif/getenv.S | ; @(#)getenv.s 1.4 90/10/14 21:57:45, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute t... |
32bitmicro/newlib-nano-1.0 | 1,557 | newlib/libc/sys/a29khif/_setvec.S | ; @(#)_setvec.s 1.2 90/10/14 21:57:35, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute ... |
32bitmicro/newlib-nano-1.0 | 2,125 | newlib/libc/sys/a29khif/_alloc.S | ; @(#)_alloc.s 1.4 90/10/14 21:57:19, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1989, 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distri... |
32bitmicro/newlib-nano-1.0 | 1,514 | newlib/libc/sys/a29khif/_iowait.S | ; @(#)_iowait.s 1.3 90/10/14 21:57:27, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute ... |
32bitmicro/newlib-nano-1.0 | 1,533 | newlib/libc/sys/a29khif/_read.S | ; @(#)_read.s 1.4 90/10/14 21:57:32, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute th... |
32bitmicro/newlib-nano-1.0 | 1,655 | newlib/libc/sys/a29khif/_tmpnam.S | ; @(#)_tmpnam.s 1.2 90/10/14 21:57:36, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute ... |
32bitmicro/newlib-nano-1.0 | 2,124 | newlib/libc/sys/a29khif/stubs.S | ;
;
; File of stubs so that unix applications can link into a HIF monitor
;
; sac@cygnus.com
.text
.global _sysalloc
_sysalloc:
const gr121,__sysalloc
consth gr121,__sysalloc
jmpi gr121
.global _sysfree
_sysfree:
const gr121,__sysfree
consth gr121,__sysfree
jmpi gr121
.global _cycles
_cycles:
const gr12... |
32bitmicro/newlib-nano-1.0 | 1,560 | newlib/libc/sys/a29khif/_cycles.S | ; @(#)_cycles.s 1.2 90/10/14 21:57:21, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute... |
32bitmicro/newlib-nano-1.0 | 1,528 | newlib/libc/sys/a29khif/_getpsiz.S | ; @(#)_getpsiz.s 1.2 90/10/14 21:57:23, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute... |
32bitmicro/newlib-nano-1.0 | 1,334 | newlib/libc/sys/a29khif/vec.S | ; @(#)vec.s 1.2 90/10/14 21:58:01, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute this... |
32bitmicro/newlib-nano-1.0 | 1,579 | newlib/libc/sys/a29khif/_iostat.S | ;----------------------------------------------------------------------------
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user th... |
32bitmicro/newlib-nano-1.0 | 1,558 | newlib/libc/sys/a29khif/_settrap.S | ; @(#)_settrap.s 2.2 90/10/14 21:57:34, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute... |
32bitmicro/newlib-nano-1.0 | 1,511 | newlib/libc/sys/a29khif/_query.S | ; @(#)_query.s 2.2 90/10/14 21:57:31, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute t... |
32bitmicro/newlib-nano-1.0 | 1,543 | newlib/libc/sys/a29khif/systime.S | ; @(#)systime.s 1.2 90/10/14 21:57:59, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute ... |
32bitmicro/newlib-nano-1.0 | 1,538 | newlib/libc/sys/a29khif/_open.S | ; @(#)_open.s 1.4 90/10/14 21:57:30, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute th... |
32bitmicro/newlib-nano-1.0 | 2,081 | newlib/libc/sys/a29khif/read.S | ; @(#)_read.s 1.4 90/10/14 21:57:32, AMD
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 1990 Advanced Micro Devices, Inc.
;
; This software is the property of Advanced Micro Devices, Inc (AMD) which
; specifically grants the user the right to modify, use and distribute th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.