id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:30
x39: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r26,%r1 x40: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l1 ! sh3add %r1,%r29,%r29 ! bv,n 0(r31) x41: sh2add %r26,%r26,%r1 ! comb,<> %r25,0,l0 ! sh3add %r1,%r26,%r1 ! b,n ret_t0 x42: sh2add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_shift ! sh1add ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,161
1,220
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:31
x59: sh3add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_t02a0 ! sh1add %r1,%r1,%r1 x60: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29 x61: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1 x62: zdep %r26,26,27,%r1 ! sub %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,201
1,260
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:32
x79: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1 x80: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! add %r29,%r1,%r29 x81: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_shift ! add %r29,%r1,%r29 x82: sh2add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_shift ! sh1add %r1,%r29,%r29 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,241
1,300
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:33
x99: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1 x100: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29 x101: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1 x102: zdep %r26,26,27,%r1 ! sh1add %r26,%r1,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,281
1,340
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:34
x119: sh1add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_t02a0 ! sh3add %r1,%r1,%r1 x120: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29 x121: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1 x122: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,321
1,380
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:35
x139: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0a0 ! sh2add %r1,%r26,%r1 x140: sh1add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0 ! sh2add %r1,%r1,%r1 x141: sh3add %r26,0,%r1 ! sh1add %r1,%r26,%r1 ! b e_4t0a0 ! sh1add %r1,%r26,%r1 x142: sh3add %r26,%r26,%r1 ! sh3add %r1,0,%r1 ! b e_2t0 ! sub %r1,%r26,%r...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,361
1,420
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:36
x159: zdep %r26,26,27,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sub %r1,%r26,%r1 x160: sh2add %r26,%r26,%r1 ! sh2add %r1,0,%r1 ! b e_shift ! sh3add %r1,%r29,%r29 x161: sh3add %r26,0,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1 x162: sh3add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_shift ! sh1add %r1,%r29,%r29...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,401
1,460
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:37
x179: sh2add %r26,%r26,%r1 ! sh1add %r1,%r26,%r1 ! b e_2t0a0 ! sh3add %r1,%r26,%r1 x180: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh2add %r1,%r29,%r29 x181: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh2add %r1,%r26,%r1 x182: sh3add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh1add %...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,441
1,500
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:38
x199: sh3add %r26,0,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0a0 ! sh1add %r1,%r1,%r1 x200: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_shift ! sh3add %r1,%r29,%r29 x201: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0 ! sh3add %r1,%r26,%r1 x202: sh2add %r26,%r26,%r1 ! sh2add %r1,%r1,%r1 ! b e_2t0 ! sh2add %r1,%...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,481
1,540
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:39
x219: sh3add %r26,%r26,%r1 ! sh3add %r1,%r26,%r1 ! b e_t0 ! sh1add %r1,%r1,%r1 x220: sh1add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_4t0 ! sh1add %r1,%r26,%r1 x221: sh1add %r26,%r26,%r1 ! sh3add %r1,%r1,%r1 ! b e_4t0a0 ! sh1add %r1,%r26,%r1 x222: sh3add %r26,%r26,%r1 ! sh2add %r1,%r26,%r1 ! b e_2t0 ! sh1add %r1,...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,521
1,580
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:40
x239: zdep %r26,27,28,%r1 ! sh2add %r1,%r1,%r1 ! b e_t0ma0 ! sh1add %r1,%r1,%r1 x240: sh3add %r26,%r26,%r1 ! add %r1,%r26,%r1 ! b e_8t0 ! sh1add %r1,%r1,%r1 x241: sh3add %r26,%r26,%r1 ! add %r1,%r26,%r1 ! b e_8t0a0 ! sh1add %r1,%r1,%r1 x242: sh2add %r26,%r26,%r1 ! sh1add %r1,%r1,%r1 ! b e_2t0 ! sh3add %r1,%r26,%r...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,561
1,620
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:41
zdep %r26,23,24,%r26 ; %r26 <<= 8 *********** bv,n 0(r31) e_t0ma0: comb,<> %r25,0,l0 sub %r1,%r26,%r1 bv 0(r31) add %r29,%r1,%r29 e_t0a0: comb,<> %r25,0,l0 add %r1,%r26,%r1 bv 0(r31) add %r29,%r1,%r29 e_t02a0: comb,<> %r25,0,l0 sh1add %r26,%r1,%r1 bv 0(r31) add %r29,%r1,%r29 e_t04a0: comb,<> %r25,0,l0 s...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,601
1,660
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:42
bv 0(r31) add %r29,%r1,%r29 e_4t0: comb,<> %r25,0,l1 sh2add %r1,%r29,%r29 bv,n 0(r31) e_4t0a0: comb,<> %r25,0,l0 sh2add %r1,%r26,%r1 bv 0(r31) add %r29,%r1,%r29 e4t08a0: sh1add %r26,%r1,%r1 comb,<> %r25,0,l1 sh2add %r1,%r29,%r29 bv,n 0(r31) e_5t0: comb,<> %r25,0,l0 sh2add %r1,%r1,%r1 bv 0(r31) add %r2...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,641
1,700
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:43
.import $$divI_8,millicode .import $$divI_9,millicode .import $$divI_10,millicode .import $$divI_12,millicode .import $$divI_14,millicode .import $$divI_15,millicode .export $$divI,millicode .export $$divoI,millicode $$divoI: .proc .callinfo NO_CALLS comib,=,n -1,arg1,negative1 ; when divisor == -1 $$divI: ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,681
1,740
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:44
ds temp,arg1,temp ; 10th divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 11th divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 12th divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 13th div...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,721
1,780
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:45
ds temp,arg1,temp ; 30th divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 31st divide step addc retreg,retreg,retreg ; shift retreg with/into carry ds temp,arg1,temp ; 32nd divide step, addc retreg,retreg,retreg ; shift last retreg bit into retreg xor,>= arg0,arg1,0 ; g...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,761
1,814
NetBSD/src:sys/lib/libkern/arch/hppa/milli.S:46
nop b normal1 ; divisor == 13 add,>= 0,arg0,retreg b,n $$divI_14 ; divisor == 14 nop b,n $$divI_15 ; divisor == 15 nop ;______________________________________________________________________ negative1: sub 0,arg0,retreg ; result is negation of dividend bv 0(r31) addo arg0,arg1,r0 ; trap iff dividend==0x8000...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/hppa/milli.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/hppa/milli.S
1,801
1,814
NetBSD/src:sys/lib/libkern/arch/i386/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.32 2020/01/27 22:06:13 ad Exp $ SRCS+= byte_swap_2.S byte_swap_4.S ffs.S SRCS+= memchr.S memcpy.S memmove.S memset.S SRCS+= random.S SRCS+= strcat.S strchr.S strcmp.S SRCS+= strcpy.S strlen.S SRCS+= strrchr.S SRCS+= scanc.S skpc.S SRCS+= crc32.c
x86
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/i386/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/i386/Makefile.inc
1
11
NetBSD/src:sys/lib/libkern/arch/i386/random.S:2
* provided with the distribution, and (3) all advertising materials mentioning * features or use of this software display the following acknowledgement: * ``This product includes software developed by the University of California, * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of * the Univ...
x86
gas-att
handwritten
NetBSD/src
sys/lib/libkern/arch/i386/random.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/i386/random.S
41
96
NetBSD/src:sys/lib/libkern/arch/i386/random.S:3
imull PIC_GOTOFF(randseed) PIC_EPILOGUE shld $1,%eax,%edx andl $0x7fffffff,%eax addl %edx,%eax js neg PIC_PROLOGUE movl %eax,PIC_GOTOFF(randseed) PIC_EPILOGUE ret neg: subl $0x7fffffff,%eax PIC_PROLOGUE movl %eax,PIC_GOTOFF(randseed) PIC_EPILOGUE ret
x86
gas-att
handwritten
NetBSD/src
sys/lib/libkern/arch/i386/random.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/i386/random.S
81
96
NetBSD/src:sys/lib/libkern/arch/i386/scanc.S:1
/* $NetBSD: scanc.S,v 1.9 2008/04/28 20:24:06 martin Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Charles M. Hannum. * * Redistribution and use in source and binary forms, with or without * ...
x86
gas-att
handwritten
NetBSD/src
sys/lib/libkern/arch/i386/scanc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/i386/scanc.S
1
56
NetBSD/src:sys/lib/libkern/arch/i386/skpc.S:1
/* $NetBSD: skpc.S,v 1.6 2008/04/28 20:24:06 martin Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Charles M. Hannum. * * Redistribution and use in source and binary forms, with or without * m...
x86
gas-att
handwritten
NetBSD/src
sys/lib/libkern/arch/i386/skpc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/i386/skpc.S
1
47
NetBSD/src:sys/lib/libkern/arch/ia64/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.5 2016/08/05 17:10:48 scole Exp $ # SRCS+= ffs.c SRCS+= divdi3.S divsi3.S modsi3.S moddi3.S udivdi3.S udivsi3.S SRCS+= umoddi3.S umodsi3.S bswap64.S bswap32.S bswap16.S ntohl.S htonl.S SRCS+= bcopy.S bzero.S ffs.S memcpy.S memmove.S
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/Makefile.inc
1
8
NetBSD/src:sys/lib/libkern/arch/ia64/divdi3.S:1
.file "__divdi3.s" // $NetBSD: divdi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel Cor...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divdi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/divdi3.S:2
{ .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mmi // 64-BIT SIGNED INTEGER DIVIDE BEGINS HERE setf.sig f8=r32 setf.sig f9=r33 nop.i 0;; } { .mfb nop.m 0 fcvt.xf f6=f8 nop.b 0 } { .mfb nop.m 0 fcvt.xf f7=f9 nop.b 0;; } { .mfi nop.m 0 // Step (1) // y0 = 1 / b in f8 frcpa.s1 f...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divdi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/divdi3.S:3
// Step (4) // e1 = e0 * e0 in f11 (p6) fma.s1 f11=f9,f9,f0 nop.i 0 } { .mfi nop.m 0 // Step (5) // q1 = q0 + e0 * q0 in f10 (p6) fma.s1 f10=f9,f10,f10 nop.i 0;; } { .mfi nop.m 0 // Step (6) // y1 = y0 + e0 * y0 in f8 (p6) fma.s1 f8=f9,f8,f8 nop.i 0;; } { .mfi nop.m 0 // Step (7) // q2 =...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divdi3.S
81
140
NetBSD/src:sys/lib/libkern/arch/ia64/divdi3.S:4
} { .mfb nop.m 0 // Step (11) // q = trunc (q3) fcvt.fx.trunc.s1 f8=f8 nop.b 0;; } { .mmi // quotient will be in r8 (if b != 0) getf.sig r8=f8 nop.m 0 nop.i 0;; } // 64-BIT SIGNED INTEGER DIVIDE ENDS HERE { .mmb nop.m 0 nop.m 0 br.ret.sptk b0;; } .endp __divdi3
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divdi3.S
121
142
NetBSD/src:sys/lib/libkern/arch/ia64/divsi3.S:1
.file "__divsi3.s" // $NetBSD: divsi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel Cor...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divsi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/divsi3.S:2
__divsi3: { .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mii nop.m 0 // 32-BIT SIGNED INTEGER DIVIDE BEGINS HERE // general register used: // r32 - 32-bit signed integer dividend // r33 - 32-bit signed integer divisor // r8 - 32-bit signed integer result // r2 - scratch regist...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divsi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/divsi3.S:3
// (2) q0 = a * y0 (p6) fma.s1 f6=f6,f8,f0 nop.i 0 } { .mfi nop.m 0 // (3) e0 = 1 - b * y0 (p6) fnma.s1 f7=f7,f8,f1 nop.i 0;; } { .mfi nop.m 0 // (4) q1 = q0 + e0 * q0 (p6) fma.s1 f6=f7,f6,f6 nop.i 0 } { .mfi nop.m 0 // (5) e1 = e0 * e0 + 2^-34 (p6) fma.s1 f7=f7,f7,f9 nop.i 0;; } { .mfi no...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/divsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/divsi3.S
81
124
NetBSD/src:sys/lib/libkern/arch/ia64/moddi3.S:1
.file "__moddi3.s" // $NetBSD: moddi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel Cor...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/moddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/moddi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/moddi3.S:2
__moddi3: { .mii alloc r31=ar.pfs,3,0,0,0 nop.i 0 nop.i 0 } { .mmb // 64-BIT SIGNED INTEGER REMAINDER BEGINS HERE // general register used: // r32 - 64-bit signed integer dividend, called a below // r33 - 64-bit signed integer divisor, called b below // r8 - 64-bit signed integer result //...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/moddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/moddi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/moddi3.S:3
} { .mfi nop.m 0 // Step (2) // q0 = a * y0 in f10 (p6) fma.s1 f10=f6,f8,f0 nop.i 0 } { .mfi nop.m 0 // Step (3) // e0 = 1 - b * y0 in f9 (p6) fnma.s1 f9=f7,f8,f1 nop.i 0;; } { .mfi nop.m 0 // Step (4) // q1 = q0 + e0 * q0 in f10 (p6) fma.s1 f10=f9,f10,f10 nop.i 0 } { .mfi nop.m 0 // S...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/moddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/moddi3.S
81
140
NetBSD/src:sys/lib/libkern/arch/ia64/moddi3.S:4
(p6) fma.s1 f8=f11,f8,f8 nop.i 0;; } { .mfi nop.m 0 // Step (9) // r2 = a - b * q2 in f10 (p6) fnma.s1 f10=f7,f9,f6 nop.i 0;; } { .mfi setf.sig f7=r33 // Step (10) // q3 = q2 + r2 * y2 in f8 (p6) fma.s1 f8=f10,f8,f9 nop.i 0;; } { .mfi nop.m 0 // (11) q = trunc(q3) fcvt.fx.trunc.s1 f8=f8 no...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/moddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/moddi3.S
121
159
NetBSD/src:sys/lib/libkern/arch/ia64/modsi3.S:1
.file "__modsi3.s" // $NetBSD: modsi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel Cor...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/modsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/modsi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/modsi3.S:2
__modsi3: { .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mii nop.m 0 // 32-BIT SIGNED INTEGER REMAINDER BEGINS HERE // general register used: // r32 - 32-bit signed integer dividend // r33 - 32-bit signed integer divisor // r8 - 32-bit signed integer result // r2 - scratch reg...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/modsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/modsi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/modsi3.S:3
nop.m 0 // (2) q0 = a * y0 (p6) fma.s1 f10=f6,f8,f0 nop.i 0 } { .mfi nop.m 0 // (3) e0 = 1 - b * y0 (p6) fnma.s1 f8=f7,f8,f1 nop.i 0;; } { .mfi // 2's complement of b setf.sig f7=r33 // (4) q1 = q0 + e0 * q0 (p6) fma.s1 f10=f8,f10,f10 nop.i 0 } { .mfi nop.m 0 // (5) e1 = e0 * e0 + 2^-34 (p...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/modsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/modsi3.S
81
131
NetBSD/src:sys/lib/libkern/arch/ia64/modsi3.S:4
} // 32-BIT SIGNED INTEGER REMAINDER ENDS HERE { .mmb nop.m 0 nop.m 0 br.ret.sptk b0;; } .endp __modsi3
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/modsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/modsi3.S
121
131
NetBSD/src:sys/lib/libkern/arch/ia64/udivdi3.S:1
.file "__udivdi3.s" // $NetBSD: udivdi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel C...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivdi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/udivdi3.S:2
{ .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mmi // 64-BIT UNSIGNED INTEGER DIVIDE BEGINS HERE setf.sig f8=r32 setf.sig f9=r33 nop.i 0;; } { .mfb nop.m 0 fma.s1 f6=f8,f1,f0 nop.b 0 } { .mfb nop.m 0 fma.s1 f7=f9,f1,f0 nop.b 0;; } { .mfi nop.m 0 // Step (1) // y0 = 1 / b in f8...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivdi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/udivdi3.S:3
} { .mfi nop.m 0 // Step (4) // e1 = e0 * e0 in f11 (p6) fma.s1 f11=f9,f9,f0 nop.i 0 } { .mfi nop.m 0 // Step (5) // q1 = q0 + e0 * q0 in f10 (p6) fma.s1 f10=f9,f10,f10 nop.i 0;; } { .mfi nop.m 0 // Step (6) // y1 = y0 + e0 * y0 in f8 (p6) fma.s1 f8=f9,f8,f8 nop.i 0;; } { .mfi nop.m 0 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivdi3.S
81
140
NetBSD/src:sys/lib/libkern/arch/ia64/udivdi3.S:4
(p6) fma.s1 f8=f10,f8,f9 nop.i 0;; } { .mfb nop.m 0 // (11) q = trunc(q3) fcvt.fxu.trunc.s1 f8=f8 nop.b 0;; } { .mmi // quotient will be in r8 (if b != 0) getf.sig r8=f8 nop.m 0 nop.i 0;; } // 64-BIT UNSIGNED INTEGER DIVIDE ENDS HERE { .mmb nop.m 0 nop.m 0 br.ret.sptk b0;; } .endp __udivdi3
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivdi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivdi3.S
121
143
NetBSD/src:sys/lib/libkern/arch/ia64/udivsi3.S:1
.file "__udivsi3.s" // $NetBSD: udivsi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel C...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivsi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/udivsi3.S:2
__udivsi3: { .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mii nop.m 0 // 32-BIT UNSIGNED INTEGER DIVIDE BEGINS HERE // general register used: // r32 - 32-bit unsigned integer dividend // r33 - 32-bit unsigned integer divisor // r8 - 32-bit unsigned integer result // r2 - scrat...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivsi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/udivsi3.S:3
// (2) q0 = a * y0 (p6) fma.s1 f6=f6,f8,f0 nop.i 0 } { .mfi nop.m 0 // (3) e0 = 1 - b * y0 (p6) fnma.s1 f7=f7,f8,f1 nop.i 0;; } { .mfi nop.m 0 // (4) q1 = q0 + e0 * q0 (p6) fma.s1 f6=f7,f6,f6 nop.i 0 } { .mfi nop.m 0 // (5) e1 = e0 * e0 + 2^-34 (p6) fma.s1 f7=f7,f7,f9 nop.i 0;; } { .mfi no...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/udivsi3.S
81
124
NetBSD/src:sys/lib/libkern/arch/ia64/umoddi3.S:1
.file "__umoddi3.s" // $NetBSD: umoddi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel C...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umoddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umoddi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/umoddi3.S:2
__umoddi3: { .mii alloc r31=ar.pfs,3,0,0,0 nop.i 0 nop.i 0 } { .mmb // 64-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE // general register used: // r32 - 64-bit unsigned integer dividend, called a below // r33 - 64-bit unsigned integer divisor, called b below // r8 - 64-bit unsigned integer re...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umoddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umoddi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/umoddi3.S:3
nop.i 0 } { .mfi nop.m 0 // Step (3) // e0 = 1 - b * y0 in f9 (p6) fnma.s1 f9=f7,f8,f1 nop.i 0;; } { .mfi nop.m 0 // Step (4) // q1 = q0 + e0 * q0 in f10 (p6) fma.s1 f10=f9,f10,f10 nop.i 0 } { .mfi nop.m 0 // Step (5) // e1 = e0 * e0 in f11 (p6) fma.s1 f11=f9,f9,f0 nop.i 0;; } { .mfi nop...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umoddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umoddi3.S
81
140
NetBSD/src:sys/lib/libkern/arch/ia64/umoddi3.S:4
// r2 = a - b * q2 in f10 (p6) fnma.s1 f10=f7,f9,f6 nop.i 0;; } { .mfi // f7=-b setf.sig f7=r33 // Step (10) // q3 = q2 + r2 * y2 in f8 (p6) fma.s1 f8=f10,f8,f9 nop.i 0;; } { .mfi nop.m 0 // (11) q = trunc(q3) fcvt.fxu.trunc.s1 f8=f8 nop.i 0;; } { .mfi nop.m 0 // (12) r = a + (-b) * q xma...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umoddi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umoddi3.S
121
155
NetBSD/src:sys/lib/libkern/arch/ia64/umodsi3.S:1
.file "__umodsi3.s" // $NetBSD: umodsi3.S,v 1.2 2006/04/07 14:27:33 cherry Exp $ //- // Copyright (c) 2000, Intel Corporation // All rights reserved. // // Contributed 2/15/2000 by Marius Cornea, John Harrison, Cristina Iordache, // Ted Kubaska, Bob Norin, and Shane Story of the Computational Software Lab, // Intel C...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umodsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umodsi3.S
1
60
NetBSD/src:sys/lib/libkern/arch/ia64/umodsi3.S:2
__umodsi3: { .mii alloc r31=ar.pfs,2,0,0,0 nop.i 0 nop.i 0;; } { .mii nop.m 0 // 32-BIT UNSIGNED INTEGER REMAINDER BEGINS HERE // general register used: // r32 - 32-bit unsigned integer dividend // r33 - 32-bit unsigned integer divisor // r8 - 32-bit unsigned integer result // r2 - sc...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umodsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umodsi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/ia64/umodsi3.S:3
nop.m 0 // (2) q0 = a * y0 (p6) fma.s1 f10=f6,f8,f0 nop.i 0 } { .mfi nop.m 0 // (3) e0 = 1 - b * y0 (p6) fnma.s1 f8=f7,f8,f1 nop.i 0;; } { .mfi nop.m 0 // (4) q1 = q0 + e0 * q0 (p6) fma.s1 f10=f8,f10,f10 nop.i 0 } { .mfi // get 2's complement of b setf.sig f7=r33 // (5) e1 = e0 * e0 + 2^-34 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umodsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umodsi3.S
81
131
NetBSD/src:sys/lib/libkern/arch/ia64/umodsi3.S:4
} // 32-BIT UNSIGNED INTEGER REMAINDER ENDS HERE { .mmb nop.m 0 nop.m 0 br.ret.sptk b0;; } .endp __umodsi3
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/ia64/umodsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/ia64/umodsi3.S
121
131
NetBSD/src:sys/lib/libkern/arch/m68k/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.40 2026/05/05 21:52:42 mrg Exp $ SRCS+= bswap16.S bswap32.S bswap64.S SRCS+= memcmp.S memcpy.S memmove.S memset.S SRCS+= strcat.S strchr.S strcmp.S SRCS+= strcpy.S strlen.S strncmp.S strncpy.S strrchr.S SRCS+= scanc.S skpc.S SRCS+= htonl.S htons.S ntohl.S ntohs.S SRCS+= ffs.S .if defined(M...
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/Makefile.inc
1
19
NetBSD/src:sys/lib/libkern/arch/m68k/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.39 2026/05/05 14:26:10 christos Exp $ SRCS+= bswap16.S bswap32.S bswap64.S SRCS+= memcmp.S memcpy.S memmove.S memset.S SRCS+= strcat.S strchr.S strcmp.S SRCS+= strcpy.S strlen.S strncmp.S strncpy.S strrchr.S SRCS+= scanc.S skpc.S SRCS+= htonl.S htons.S ntohl.S ntohs.S SRCS+= ffs.S SRCS+= m...
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/Makefile.inc
BSD-2-Clause
977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c
github
kernel
https://github.com/NetBSD/src/blob/977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c/sys/lib/libkern/arch/m68k/Makefile.inc
1
20
NetBSD/src:sys/lib/libkern/arch/m68k/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.38 2020/05/31 11:43:37 rin Exp $ SRCS+= bswap16.S bswap32.S bswap64.S SRCS+= memcmp.S memcpy.S memmove.S memset.S SRCS+= strcat.S strchr.S strcmp.S SRCS+= strcpy.S strlen.S strncmp.S strncpy.S strrchr.S SRCS+= scanc.S skpc.S SRCS+= htonl.S htons.S ntohl.S ntohs.S SRCS+= ffs.S .if defined(M...
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/arch/m68k/Makefile.inc
1
19
NetBSD/src:sys/lib/libkern/arch/m68k/divsi3.S:2
#else RCSID("$NetBSD: divsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $") #endif #endif /* LIBC_SCCS and not lint */ /* int / int */ #ifndef __mc68010__ /* XXX sun3 need this for bootloader */ ENTRY(__divsi3) movel 4(%sp),%d0 divsl 8(%sp),%d0 rts END(__divsi3) #else ENTRY(__divsi3) | NB: this requires that __udivsi3 pr...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/divsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/divsi3.S
41
71
NetBSD/src:sys/lib/libkern/arch/m68k/modsi3.S:2
#else RCSID("$NetBSD: modsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $") #endif #endif /* LIBC_SCCS and not lint */ /* int % int */ #ifndef __mc68010__ /* XXX sun3 need this for bootloader */ ENTRY(__modsi3) movel 4(%sp),%d1 #ifdef __mcoldfire__ remsl 8(%sp),%d0:%d1 divsl 8(%sp),%d1 #else divsll 8(%sp),%d0:%d1 #endif...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/modsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/modsi3.S
41
77
NetBSD/src:sys/lib/libkern/arch/m68k/random.S:1
/* $NetBSD: random.S,v 1.6 2014/03/18 18:20:43 riastradh Exp $ */ /* * Copyright (c) 1990,1993 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * re...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/random.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/random.S
1
60
NetBSD/src:sys/lib/libkern/arch/m68k/random.S:2
* The result is in (0,2^31), e.g., it's always positive. */ #include <machine/asm.h> .data ASLOCAL(randseed) .long 1 ENTRY(random) movl #16807, %d0 LEA_LCL(_ASM_LABEL(randseed),%a0) mulsl (%a0), %d1:%d0 lsll #1, %d0 roxll #2, %d1 addl %d1, %d0 moveql #1, %d1 addxl %d1, %d0 lsrl #1, %d0 movl %d0, (%a0) r...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/random.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/random.S
41
61
NetBSD/src:sys/lib/libkern/arch/m68k/scanc.S:2
/* * Emulate fancy VAX string operations: * scanc(count, startc, table, mask) */ ENTRY(scanc) movl 4(%sp),%d0 | get length jeq Lscdone | nothing to do, return movl 8(%sp),%a0 | start of scan movl 12(%sp),%a1 | table to compare with movb 19(%sp),%d1 | and mask to use movl %d2,-(%sp) | need a scratch register ...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/scanc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/scanc.S
41
72
NetBSD/src:sys/lib/libkern/arch/m68k/skpc.S:2
/* * Emulate fancy VAX string operations: * skpc(mask, count, startc) */ ENTRY(skpc) movl 8(%sp),%d0 | get length jeq Lskdone | nothing to do, return movb 7(%sp),%d1 | mask to use movl 12(%sp),%a0 | where to start #ifndef __mcoldfire__ subqw #1,%d0 | adjust for dbcc #endif Lskloop: cmpb (%a0)+,%d1 | compare ...
x86_64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/skpc.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/skpc.S
41
65
NetBSD/src:sys/lib/libkern/arch/m68k/udivsi3.S:2
#else RCSID("$NetBSD: udivsi3.S,v 1.6 2020/04/23 03:12:49 rin Exp $") #endif #endif /* LIBC_SCCS and not lint */ /* unsigned / unsigned */ #ifndef __mc68010__ /* XXX sun3 need this for bootloader */ ENTRY(__udivsi3) movel 4(%sp),%d0 divul 8(%sp),%d0 rts END(__udivsi3) #else ENTRY(__udivsi3) movel %d2, -(%sp) | sa...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/udivsi3.S
41
100
NetBSD/src:sys/lib/libkern/arch/m68k/udivsi3.S:3
clrw %d0 | %d0 = finished high divide result andil #0xffff, %d1 | %d1 = finished low divide result addl %d1, %d0 | %d0 = quotient guess | the quotient we have so far is only a guess. the divide we | did above was really the divide of some dividendB by some | divisorB, where the following hold: | | (dividend - divi...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/udivsi3.S
81
130
NetBSD/src:sys/lib/libkern/arch/m68k/udivsi3.S:4
movel 8(%sp), %d1 | load original dividend subl %d2, %d1 | subtract bcc 3f subql #1, %d0 | adjust quotient addl %a1, %d1 | adjust remainder 3: movel (%sp)+, %d2 | restore %d2 rts END(__udivsi3) #endif /* __mc68010__ */
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/udivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/udivsi3.S
121
130
NetBSD/src:sys/lib/libkern/arch/m68k/umodsi3.S:2
#else RCSID("$NetBSD: umodsi3.S,v 1.4 2020/04/23 03:12:49 rin Exp $") #endif #endif /* LIBC_SCCS and not lint */ /* unsigned % unsigned */ #ifndef __mc68010__ /* XXX sun3 need this for bootloader */ ENTRY(__umodsi3) movel 4(%sp),%d1 #ifdef __mcoldfire__ remul 8(%sp),%d0:%d1 divul 8(%sp),%d1 #else divull 8(%sp),%d...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/m68k/umodsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/m68k/umodsi3.S
41
68
NetBSD/src:sys/lib/libkern/arch/mips/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.26 2026/05/05 21:52:42 mrg Exp $ # # There are likely more that we will notice when we go native NO_SRCS+= imax.c imin.c lmax.c lmin.c uimax.c uimin.c ulmax.c ulmin.c NO_SRCS+= __main.c SRCS+= memchr.c memcmp.c random.c scanc.c \ skpc.c strcat.c strcpy.c strcasecmp.c \ strncasecmp.c strn...
mips
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/mips/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/mips/Makefile.inc
1
14
NetBSD/src:sys/lib/libkern/arch/mips/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.25 2026/05/05 14:26:10 christos Exp $ # # There are likely more that we will notice when we go native NO_SRCS+= imax.c imin.c lmax.c lmin.c uimax.c uimin.c ulmax.c ulmin.c NO_SRCS+= __main.c SRCS+= memchr.c memcmp.c random.c scanc.c \ skpc.c strcat.c strcpy.c strcasecmp.c \ strncasecmp.c...
mips
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/mips/Makefile.inc
BSD-2-Clause
977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c
github
kernel
https://github.com/NetBSD/src/blob/977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c/sys/lib/libkern/arch/mips/Makefile.inc
1
14
NetBSD/src:sys/lib/libkern/arch/mips/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.24 2018/09/03 16:54:54 riastradh Exp $ # # There are likely more that we will notice when we go native NO_SRCS+= imax.c imin.c lmax.c lmin.c uimax.c uimin.c ulmax.c ulmin.c NO_SRCS+= __main.c SRCS+= memchr.c memcmp.c random.c scanc.c \ skpc.c strcat.c strcpy.c strcasecmp.c \ strncasecmp....
mips
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/mips/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/arch/mips/Makefile.inc
1
14
NetBSD/src:sys/lib/libkern/arch/powerpc/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.36 2026/05/05 21:52:42 mrg Exp $ SRCS+= bswap16.c bswap32.c SRCS+= htonl.c htons.c ntohl.c ntohs.c SRCS+= syncicache.c SRCS+= ffs.S memset.S strlen.S SRCS+= gprsavrest.S .if !empty(LIBKERN_MD_FLAGS:M*strict-align*) # Disable asm versions that use unaligned memory access and thus break 403...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/Makefile.inc
1
17
NetBSD/src:sys/lib/libkern/arch/powerpc/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.35 2026/05/05 14:26:10 christos Exp $ SRCS+= bswap16.c bswap32.c SRCS+= htonl.c htons.c ntohl.c ntohs.c SRCS+= syncicache.c moddi3.c SRCS+= ffs.S memset.S strlen.S SRCS+= gprsavrest.S .if !empty(LIBKERN_MD_FLAGS:M*strict-align*) # Disable asm versions that use unaligned memory access and ...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/Makefile.inc
BSD-2-Clause
977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c
github
kernel
https://github.com/NetBSD/src/blob/977d7ee680b70bfaae2dc7ccb1f28be4c7f7042c/sys/lib/libkern/arch/powerpc/Makefile.inc
1
17
NetBSD/src:sys/lib/libkern/arch/powerpc/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.34 2022/05/30 14:18:10 rin Exp $ SRCS+= bswap16.c bswap32.c SRCS+= htonl.c htons.c ntohl.c ntohs.c SRCS+= syncicache.c SRCS+= ffs.S memset.S strlen.S SRCS+= gprsavrest.S .if !empty(LIBKERN_MD_FLAGS:M*strict-align*) # Disable asm versions that use unaligned memory access and thus break 403...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/Makefile.inc
BSD-2-Clause
3a3e6e6861107fa30395b99abb65697f94ef1bf8
github
kernel
https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libkern/arch/powerpc/Makefile.inc
1
17
NetBSD/src:sys/lib/libkern/arch/powerpc/gprsavrest.S:2
#define RESTOREXGPR(a,n,b) \ .hidden a##n##b; ENTRY_NOPROFILE(a##n##b); lwz n,(-4*(32-n))(11) #define SAVEXGPR(a,n,b) \ .hidden a##n##b; ENTRY_NOPROFILE(a##n##b); stw n,(-4*(32-n))(11) #ifdef _LP64 # define SAVEXGPR_END(a,n,b) # define RESTOREXGPR_END(a,n,b) #else # define SAVEXGPR_END(a,n,b) \ .size a##n##b,.-a##n#...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/gprsavrest.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/gprsavrest.S
41
100
NetBSD/src:sys/lib/libkern/arch/powerpc/gprsavrest.S:3
RESTGPR_END(18) RESTGPR_END(19) RESTGPR_END(20) RESTGPR_END(21) RESTGPR_END(22) RESTGPR_END(23) RESTGPR_END(24) RESTGPR_END(25) RESTGPR_END(26) RESTGPR_END(27) RESTGPR_END(28) RESTGPR_END(29) RESTGPR_END(30) RESTGPR_END(31) SAVEGPR(14) SAVEGPR(15) SAVEGPR(16) SAVEGPR(17) SAVEGPR(18) SAVEGPR(19) SAV...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/gprsavrest.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/gprsavrest.S
81
132
NetBSD/src:sys/lib/libkern/arch/powerpc/gprsavrest.S:4
SAVEGPR_END(20) SAVEGPR_END(21) SAVEGPR_END(22) SAVEGPR_END(23) SAVEGPR_END(24) SAVEGPR_END(25) SAVEGPR_END(26) SAVEGPR_END(27) SAVEGPR_END(28) SAVEGPR_END(29) SAVEGPR_END(30) SAVEGPR_END(31)
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/gprsavrest.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/gprsavrest.S
121
132
NetBSD/src:sys/lib/libkern/arch/powerpc/memset.S:2
#define r_dst %r4 #define r_len %r5 #define r_tmp %r6 #define r_val %r0 ENTRY(bzero) li r_val, 0 /* Value to fill with */ mr r_len, %r4 b cb_memset ENTRY(memset) mr r_val, %r4 /* Value to fill with */ cb_memset: cmplwi r_len, 0 /* is the length 0? */ beqlr- /* nothing to do */ mr r_dst, %r3 ...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/memset.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/memset.S
41
99
NetBSD/src:sys/lib/libkern/arch/powerpc/memset.S:3
half_fill: sth r_val, 0(r_dst) addi r_dst, r_dst, 2 subi r_len, r_len, 2 /* subtract halfword */ word_fill: cmplwi r_len, 4 /* we have more than 4 bytes? */ blt- trailing_bytes /* no? finish writing */ srwi r_tmp, r_len, 2 /* get word count */ mtctr r_tmp subi r_dst, r_dst, 4 1: stwu r_val, 4(r_d...
powerpc
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/powerpc/memset.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/powerpc/memset.S
81
99
NetBSD/src:sys/lib/libkern/arch/sh3/Makefile.inc:1
# $NetBSD: Makefile.inc,v 1.19 2011/08/04 03:20:09 uwe Exp $ SRCS+= ffs.S SRCS+= memset.S SRCS+= memmove.S memcpy.S byte_swap_2.S byte_swap_4.S byte_swap_8.S SRCS+= ashiftrt.S ashlsi3.S ashrsi3.S lshrsi3.S movstr.S movstr_i4.S SRCS+= movstrSI.S movstrSI12_i4.S mulsi3.S sdivsi3.S udivsi3.S # newer gcc uses different i...
riscv
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/Makefile.inc
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/Makefile.inc
1
12
NetBSD/src:sys/lib/libkern/arch/sh3/ashiftrt.S:1
/* $NetBSD: ashiftrt.S,v 1.7 2009/01/07 22:15:18 uwe Exp $ */ /*- * Copyright (C) 1999 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashiftrt.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashiftrt.S
1
60
NetBSD/src:sys/lib/libkern/arch/sh3/ashiftrt.S:2
.hidden __ashiftrt_r4_8 .hidden __ashiftrt_r4_9 .hidden __ashiftrt_r4_10 .hidden __ashiftrt_r4_11 .hidden __ashiftrt_r4_12 .hidden __ashiftrt_r4_13 .hidden __ashiftrt_r4_14 .hidden __ashiftrt_r4_15 .hidden __ashiftrt_r4_16 .hidden __ashiftrt_r4_17 .hidden __ashiftrt_r4_18 .hidden __ashiftrt_r4_19 .hidden __...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashiftrt.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashiftrt.S
41
100
NetBSD/src:sys/lib/libkern/arch/sh3/ashiftrt.S:3
ALTENTRY(__ashiftrt_r4_27) shar r4 ALTENTRY(__ashiftrt_r4_26) shar r4 ALTENTRY(__ashiftrt_r4_25) shar r4 ALTENTRY(__ashiftrt_r4_24) shlr16 r4 shlr8 r4 rts exts.b r4, r4 ALTENTRY(__ashiftrt_r4_23) shar r4 ALTENTRY(__ashiftrt_r4_22) shar r4 ALTENTRY(__ashiftrt_r4_21) shar r4 ALTENTRY(__ashiftrt_r4_20) ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashiftrt.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashiftrt.S
81
140
NetBSD/src:sys/lib/libkern/arch/sh3/ashiftrt.S:4
exts.w r4, r4 ALTENTRY(__ashiftrt_r4_15) swap.w r4, r4 cmp/pz r4 bf/s 1f exts.w r4, r4 rts shll r4 1: sett rts rotcl r4 ALTENTRY(__ashiftrt_r4_14) shar r4 ALTENTRY(__ashiftrt_r4_13) shar r4 ALTENTRY(__ashiftrt_r4_12) shar r4 ALTENTRY(__ashiftrt_r4_11) shar r4 ALTENTRY(__ashiftrt_r4_10) shar r4 A...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashiftrt.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashiftrt.S
121
180
NetBSD/src:sys/lib/libkern/arch/sh3/ashiftrt.S:5
ALTENTRY(__ashiftrt_r4_5) shar r4 ALTENTRY(__ashiftrt_r4_4) shar r4 ALTENTRY(__ashiftrt_r4_3) shar r4 ALTENTRY(__ashiftrt_r4_2) shar r4 ALTENTRY(__ashiftrt_r4_1) rts shar r4 ALTENTRY(__ashiftrt_r4_0) rts nop
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashiftrt.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashiftrt.S
161
180
NetBSD/src:sys/lib/libkern/arch/sh3/ashrsi3.S:1
/* $NetBSD: ashrsi3.S,v 1.6 2009/01/07 22:15:18 uwe Exp $ */ /*- * Copyright (C) 1999 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code m...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/ashrsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/ashrsi3.S
1
48
NetBSD/src:sys/lib/libkern/arch/sh3/byte_swap_4.S:1
/* $NetBSD: byte_swap_4.S,v 1.5 2006/04/14 09:23:01 nonaka Exp $ */ /*- * Copyright (C) 1999 SHIMIZU Ryo. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source cod...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/byte_swap_4.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/byte_swap_4.S
1
50
NetBSD/src:sys/lib/libkern/arch/sh3/byte_swap_8.S:1
/* $NetBSD: byte_swap_8.S,v 1.2 2005/12/11 12:24:44 christos Exp $ */ /* * Copyright (c) 2003 Valeriy E. Ushakov * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of s...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/byte_swap_8.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/byte_swap_8.S
1
43
NetBSD/src:sys/lib/libkern/arch/sh3/lshrsi3.S:1
/* $NetBSD: lshrsi3.S,v 1.6 2009/01/07 22:15:18 uwe Exp $ */ /*- * Copyright (C) 1999 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code m...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/lshrsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/lshrsi3.S
1
48
NetBSD/src:sys/lib/libkern/arch/sh3/movstr.S:1
/* $NetBSD: movstr.S,v 1.9 2009/01/07 22:15:18 uwe Exp $ */ /*- * Copyright (C) 1999 Tsubai Masanari. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code mu...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstr.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstr.S
1
60
NetBSD/src:sys/lib/libkern/arch/sh3/movstr.S:2
.align 2 loop1: mov.l @r5+, r0 mov.l r0, @r4 mov.l @r5+, r0 mov.l r0, @(4, r4) mov.l @r5+, r0 mov.l r0, @(8, r4) mov.l @r5+, r0 mov.l r0, @(12, r4) mov.l @r5+, r0 mov.l r0, @(16, r4) mov.l @r5+, r0 mov.l r0, @(20, r4) mov.l @r5+, r0 mov.l r0, @(24, r4) mov.l @r5+, r0 mov.l r0, @(28, r4) mov.l @r5+, r0 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstr.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstr.S
41
99
NetBSD/src:sys/lib/libkern/arch/sh3/movstr.S:3
bt loop1 loop2: add #-32, r6 .align 2 1: mov.l @r5+, r0 mov.l r0, @r4 add #4, r4 add #1, r6 tst r6, r6 bf 1b rts nop /* gcc4 uses movmem, older versions use movstr */ STRONG_ALIAS(__movmem, __movstr)
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstr.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstr.S
81
99
NetBSD/src:sys/lib/libkern/arch/sh3/movstrSI.S:1
/* $NetBSD: movstrSI.S,v 1.8 2009/01/07 22:15:18 uwe Exp $ */ /* * Copyright (c) 2000 SHIMIZU Ryo. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstrSI.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstrSI.S
1
60
NetBSD/src:sys/lib/libkern/arch/sh3/movstrSI.S:2
.hidden __movstrSI36, __movmemSI36 .hidden __movstrSI40, __movmemSI40 .hidden __movstrSI44, __movmemSI44 .hidden __movstrSI48, __movmemSI48 .hidden __movstrSI52, __movmemSI52 .hidden __movstrSI56, __movmemSI56 .hidden __movstrSI60, __movmemSI60 .hidden __movstrSI64, __movmemSI64 #endif NENTRY(__movstrSI64) mo...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstrSI.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstrSI.S
41
100
NetBSD/src:sys/lib/libkern/arch/sh3/movstrSI.S:3
mov.l r0, @(24, r4) ALTENTRY(__movstrSI24) mov.l @(20, r5), r0 mov.l r0, @(20, r4) ALTENTRY(__movstrSI20) mov.l @(16, r5), r0 mov.l r0, @(16, r4) ALTENTRY(__movstrSI16) mov.l @(12, r5), r0 mov.l r0, @(12, r4) ALTENTRY(__movstrSI12) mov.l @(8, r5), r0 mov.l r0, @(8, r4) ALTENTRY(__movstrSI8) mov.l @(4, r5), r0 ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstrSI.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstrSI.S
81
119
NetBSD/src:sys/lib/libkern/arch/sh3/movstrSI12_i4.S:1
/* $NetBSD: movstrSI12_i4.S,v 1.2 2009/01/07 22:15:18 uwe Exp $ */ #include <machine/asm.h> #ifdef __ELF__ .hidden __movstrSI12_i4, __movmemSI12_i4 #endif NENTRY(__movstrSI12_i4) mov.l @r5, r0 mov.l @(4, r5), r1 mov.l @(8, r5), r2 mov.l r0, @r4 mov.l r1, @(4, r4) rts mov.l r2, @(8, r4) /* gcc4 uses movme...
arm
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstrSI12_i4.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstrSI12_i4.S
1
21
NetBSD/src:sys/lib/libkern/arch/sh3/movstr_i4.S:1
/* $NetBSD: movstr_i4.S,v 1.6 2009/01/07 22:15:18 uwe Exp $ */ /*- * Copyright (C) 2002 SHIMIZU Ryo. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code mus...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstr_i4.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstr_i4.S
1
60
NetBSD/src:sys/lib/libkern/arch/sh3/movstr_i4.S:2
odd_loop: mov.l @r5+,r0 add #8,r4 mov.l @r5+,r1 dt r6 mov.l r0,@(0,r4) bf/s odd_loop mov.l r1,@(4,r4) mov.l @r5+,r0 mov.l @r5+,r1 mov.l @r5+,r2 mov.l r0,@(8,r4) mov.l r1,@(12,r4) rts mov.l r2,@(16,r4) NENTRY(__movstr_i4_even) add #-8,r4 nop even_loop: mov.l @r5+,r0 add #8,r4 mov.l @r5+,r1 dt r6...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/movstr_i4.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/movstr_i4.S
41
80
NetBSD/src:sys/lib/libkern/arch/sh3/sdivsi3.S:2
/* * IMPOTANT: This function is special. * * This function is an auxiliary "millicode" function that is * referenced by the code generated by gcc for signed integer * division. But gcc does NOT treat a call to this function as an * ordinary function call - it can clobber only R1, R2 and R3. * * See the definit...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/sdivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/sdivsi3.S
41
92
NetBSD/src:sys/lib/libkern/arch/sh3/sdivsi3.S:3
DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; #undef DIVSTEP rotcl r0 rts addc r2, r0 .L_div_by_zero: rts mov #0, r0
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/sdivsi3.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/sdivsi3.S
81
92
NetBSD/src:sys/lib/libkern/arch/sh3/sdivsi3_i4i.S:2
/* * IMPOTANT: This function is special. * * This function is an auxiliary "millicode" function that is * referenced by the code generated by gcc for signed integer * division. But gcc does NOT treat a call to this function as an * ordinary function call - it can clobber only R1, MACL and MACH. * * See the def...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/sdivsi3_i4i.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/sdivsi3_i4i.S
41
100
NetBSD/src:sys/lib/libkern/arch/sh3/sdivsi3_i4i.S:3
lds r2, macl lds r3, mach mov #0, r2 div0s r2, r0 subc r3, r3 subc r2, r0 div0s r1, r3 #define DIVSTEP rotcl r0; div1 r1, r3 /* repeat 32 times */ DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; DIVSTEP; ...
arm64
gas-like
handwritten
NetBSD/src
sys/lib/libkern/arch/sh3/sdivsi3_i4i.S
BSD-2-Clause
3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd
github
kernel
https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sh3/sdivsi3_i4i.S
81
108