Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for b_cap (0.03 sec)

  1. src/internal/bytealg/indexbyte_loong64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = b_base
    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    	MOVBU	(R4), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  2. src/internal/bytealg/count_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Count<ABIInternal>(SB),NOSPLIT,$0-40
    	// X10 = b_base
    	// X11 = b_len
    	// X12 = b_cap (unused)
    	// X13 = byte to count (want in X12)
    	AND	$0xff, X13, X12
    	MOV	ZERO, X14	// count
    	ADD	X10, X11	// end
    
    	PCALIGN	$16
    loop:
    	BEQ	X10, X11, done
    	MOVBU	(X10), X15
    	ADD	$1, X10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:59:01 UTC 2023
    - 858 bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// X10 = b_base
    	// X11 = b_len
    	// X12 = b_cap (unused)
    	// X13 = byte to find
    	AND	$0xff, X13
    	MOV	X10, X12		// store base for later
    	ADD	X10, X11		// end
    	SUB	$1, X10
    
    loop:
    	ADD	$1, X10
    	BEQ	X10, X11, notfound
    	MOVBU	(X10), X14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 919 bytes
    - Viewed (0)
  4. src/internal/bytealg/compare_loong64.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = a_cap (unused)
    	// R7 = b_base (want in R6)
    	// R8 = b_len (want in R7)
    	// R9 = b_cap (unused)
    	MOVV	R7, R6
    	MOVV	R8, R7
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = a_base
    	// R5 = a_len
    	// R6 = b_base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/internal/bytealg/compare_arm64.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Compare<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-56
    	// R0 = a_base (want in R0)
    	// R1 = a_len  (want in R1)
    	// R2 = a_cap  (unused)
    	// R3 = b_base (want in R2)
    	// R4 = b_len  (want in R3)
    	// R5 = b_cap  (unused)
    	MOVD	R3, R2
    	MOVD	R4, R3
    	B	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-40
    	// R0 = a_base
    	// R1 = a_len
    	// R2 = b_base
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 18:26:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. src/internal/bytealg/compare_riscv64.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·Compare<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-56
    	// X10 = a_base
    	// X11 = a_len
    	// X12 = a_cap (unused)
    	// X13 = b_base (want in X12)
    	// X14 = b_len (want in X13)
    	// X15 = b_cap (unused)
    	MOV	X13, X12
    	MOV	X14, X13
    	JMP	compare<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-40
    	// X10 = a_base
    	// X11 = a_len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. src/internal/bytealg/compare_amd64.s

    #include "go_asm.h"
    #include "asm_amd64.h"
    #include "textflag.h"
    
    TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56
    	// AX = a_base (want in SI)
    	// BX = a_len  (want in BX)
    	// CX = a_cap  (unused)
    	// DI = b_base (want in DI)
    	// SI = b_len  (want in DX)
    	// R8 = b_cap  (unused)
    	MOVQ	SI, DX
    	MOVQ	AX, SI
    	JMP	cmpbody<>(SB)
    
    TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40
    	// AX = a_base (want in SI)
    	// BX = a_len  (want in BX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      std::vector<int> b_size = {};
      std::vector<int> b_map = {};
      PopulateEncodingParams(block_size, &traversal_order, &format, &b_map,
                             &b_size);
    
      if (type.getElementType().isF32()) {
        tflite::internal::sparsity::FormatConverter<float> format_converter(
            shape, traversal_order, format, b_size, b_map);
        std::vector<float> data;
        data.reserve(type.getNumElements());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    	def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})
    }
    
    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    	def(&Nil{object{name: "nil", typ: Typ[UntypedNil], color_: black}})
    }
    
    // A builtinId is the id of a builtin function.
    type builtinId int
    
    const (
    	// universe scope
    	_Append builtinId = iota
    	_Cap
    	_Clear
    	_Close
    	_Complex
    	_Copy
    	_Delete
    	_Imag
    	_Len
    	_Make
    	_Max
    	_Min
    	_New
    	_Panic
    	_Print
    	_Println
    	_Real
    	_Recover
    
    	// package unsafe
    	_Add
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top