xref: /openbsd/sys/lib/libkern/arch/sh/movstrSI12_i4.S (revision d89ec533)
1/*	$OpenBSD: movstrSI12_i4.S,v 1.1 2019/04/25 21:47:51 deraadt Exp $	 */
2
3/*
4 * Public domain
5 * Theo de Raadt
6 */
7
8#include <machine/asm.h>
9
10NENTRY(__movstrSI12_i4)
11	mov.l	@r5, r0
12	mov.l	@(4, r5), r1
13	mov.l	@(8, r5), r2
14	mov.l	r0, @r4
15	mov.l	r1, @(4, r4)
16	rts
17	 mov.l	r2, @(8, r4)
18
19STRONG_ALIAS(__movmemSI12_i4, __movstrSI12_i4)
20