Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for castagnoliUpdate (0.28 sec)

  1. src/hash/crc32/crc32_arm64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // castagnoliUpdate updates the non-inverted crc with the given data.
    
    // func castagnoliUpdate(crc uint32, p []byte) uint32
    TEXT ยทcastagnoliUpdate(SB),NOSPLIT,$0-36
    	MOVWU	crc+0(FP), R9  // CRC value
    	MOVD	p+8(FP), R13  // data pointer
    	MOVD	p_len+16(FP), R11  // len(p)
    
    update:
    	CMP	$16, R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 08:57:33 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/hash/crc32/crc32_arm64.go

    // ARM64-specific hardware-assisted CRC32 algorithms. See crc32.go for a
    // description of the interface that each architecture-specific file
    // implements.
    
    package crc32
    
    import "internal/cpu"
    
    func castagnoliUpdate(crc uint32, p []byte) uint32
    func ieeeUpdate(crc uint32, p []byte) uint32
    
    func archAvailableCastagnoli() bool {
    	return cpu.ARM64.HasCRC32
    }
    
    func archInitCastagnoli() {
    	if !cpu.ARM64.HasCRC32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 05:31:01 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top