]> Git Repo - linux.git/blame - arch/sparc/crypto/crc32c_asm.S
Merge tag 'Smack-for-5.11-io_uring-fix' of git://github.com/cschaufler/smack-next
[linux.git] / arch / sparc / crypto / crc32c_asm.S
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
442a7c40
DM
2#include <linux/linkage.h>
3#include <asm/visasm.h>
4#include <asm/asi.h>
5
7cff82f5 6#include "opcodes.h"
442a7c40
DM
7
8ENTRY(crc32c_sparc64)
9 /* %o0=crc32p, %o1=data_ptr, %o2=len */
10 VISEntryHalf
11 lda [%o0] ASI_PL, %f1
121: ldd [%o1], %f2
13 CRC32C(0,2,0)
14 subcc %o2, 8, %o2
15 bne,pt %icc, 1b
16 add %o1, 0x8, %o1
17 sta %f1, [%o0] ASI_PL
18 VISExitHalf
192: retl
20 nop
21ENDPROC(crc32c_sparc64)
This page took 0.41403 seconds and 4 git commands to generate.