Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • a3483c2
  • /
  • bikel3
  • /
  • m4f
  • /
  • shr_asm.S
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:f4fc7fd3a4302b9d698fb20916d8d95ff69d1a8f
directory badge Iframe embedding
swh:1:dir:03923b55962c2e735997636bb556c266f41a3493
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
shr_asm.S
	.cpu cortex-m4
	.eabi_attribute 27, 1
	.eabi_attribute 28, 1
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 1
	.eabi_attribute 30, 2
	.eabi_attribute 34, 1
	.eabi_attribute 18, 4
	.file	"shr_asm.c"
	.text
	.align	1
	.p2align 2,,3
	.global	shiftright_small_umlal
	.arch armv7e-m
	.syntax unified
	.thumb
	.thumb_func
	.fpu fpv4-sp-d16
	.type	shiftright_small_umlal, %function
shiftright_small_umlal:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #-1
	rsb	r1, r1, #32
	lsl	r1, r3, r1
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mvns	r1, r1
	ldr	r4, [r0, r2, lsl #2]
	adds	r6, r1, #1
	umull	r6, r4, r4, r6
	subs	r4, r2, #1
	cmp	r4, #3
	add	r3, r0, r2, lsl #2
	ble	.L2
	lsls	r5, r2, #2
	sub	r8, r2, #5
	sub	lr, r0, #16
	add	lr, lr, r5
	lsr	ip, r8, #2
	sub	lr, lr, ip, lsl #4
.L3:
	ldr	r2, [r3, #-4]
	ldr	r4, [r3, #-8]
	ldr	r5, [r3, #-12]
	ldr	r7, [r3, #-16]
	umlal	r2, r6, r1, r2
	umlal	r4, r2, r1, r4
	umlal	r5, r4, r1, r5
	umlal	r7, r5, r1, r7
	str	r6, [r3, #-4]
	str	r2, [r3, #-8]
	str	r4, [r3, #-12]
	str	r5, [r3, #-16]!
	cmp	r3, lr
	mov	r6, r7
	bne	.L3
	rsb	ip, ip, ip, lsl #30
	add	r4, r8, ip, lsl #2
.L4:
	mov	r2, r6
	ldr	r6, [r0, r4, lsl #2]
	mov	r5, r6
	umlal	r5, r2, r1, r6
	str	r2, [r0, r4, lsl #2]
	lsls	r3, r4, #2
	cbz	r4, .L5
	subs	r2, r3, #4
	cmp	r4, #1
	ldr	r6, [r0, r2]
	umlal	r6, r5, r1, r6
	str	r5, [r0, r2]
	sub	ip, r4, #2
	mov	r7, r6
	beq	.L5
	sub	r4, r3, #8
	ldr	r6, [r0, r4]
	mov	r2, r6
	umlal	r2, r7, r1, r6
	str	r7, [r0, r4]
	cmp	ip, #0
	beq	.L5
	subs	r3, r3, #12
	ldr	r6, [r0, r3]
	umlal	r6, r2, r1, r6
	str	r2, [r0, r3]
.L5:
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	cmp	r4, #0
	bge	.L4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	shiftright_small_umlal, .-shiftright_small_umlal
	.ident	"GCC: (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)"

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top