Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for extract_bit (0.37 sec)

  1. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/condition.go

    }
    
    func sbfx_sbfm_32m_bitfield_cond(instr uint32) bool {
    	return bfxpreferred_4((instr>>31)&0x1, extract_bit((instr>>29)&0x3, 1), (instr>>10)&0x3f, (instr>>16)&0x3f)
    }
    
    func sbfx_sbfm_64m_bitfield_cond(instr uint32) bool {
    	return bfxpreferred_4((instr>>31)&0x1, extract_bit((instr>>29)&0x3, 1), (instr>>10)&0x3f, (instr>>16)&0x3f)
    }
    
    func tlbi_sys_cr_system_cond(instr uint32) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/condition_util.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package arm64asm
    
    func extract_bit(value, bit uint32) uint32 {
    	return (value >> bit) & 1
    }
    
    func bfxpreferred_4(sf, opc1, imms, immr uint32) bool {
    	if imms < immr {
    		return false
    	}
    	if (imms>>5 == sf) && (imms&0x1f == 0x1f) {
    		return false
    	}
    	if immr == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    	}
    
    	switch extractBits(isar0, 16, 19) {
    	case 1:
    		ARM64.HasCRC32 = true
    	}
    
    	switch extractBits(isar0, 20, 23) {
    	case 2:
    		ARM64.HasATOMICS = true
    	}
    
    	switch extractBits(isar0, 28, 31) {
    	case 1:
    		ARM64.HasASIMDRDM = true
    	}
    
    	switch extractBits(isar0, 32, 35) {
    	case 1:
    		ARM64.HasSHA3 = true
    	}
    
    	switch extractBits(isar0, 36, 39) {
    	case 1:
    		ARM64.HasSM3 = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_arm64.go

    func getMIDR() uint64
    
    func extractBits(data uint64, start, end uint) uint {
    	return (uint)(data>>start) & ((1 << (end - start + 1)) - 1)
    }
    
    func parseARM64SystemRegisters(isar0 uint64) {
    	// ID_AA64ISAR0_EL1
    	switch extractBits(isar0, 4, 7) {
    	case 1:
    		ARM64.HasAES = true
    	case 2:
    		ARM64.HasAES = true
    		ARM64.HasPMULL = true
    	}
    
    	switch extractBits(isar0, 8, 11) {
    	case 1:
    		ARM64.HasSHA1 = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 14:08:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top