Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for addVV_g (0.31 sec)

  1. src/math/big/arith_wasm.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go
    
    #include "textflag.h"
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    	JMP ·subVW_g(SB)
    
    TEXT ·shlVU(SB),NOSPLIT,$0
    	JMP ·shlVU_g(SB)
    
    TEXT ·shrVU(SB),NOSPLIT,$0
    	JMP ·shrVU_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 613 bytes
    - Viewed (0)
  2. src/math/big/arith_mipsx.s

    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP	·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP	·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP	·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    	JMP	·subVW_g(SB)
    
    TEXT ·shlVU(SB),NOSPLIT,$0
    	JMP	·shlVU_g(SB)
    
    TEXT ·shrVU(SB),NOSPLIT,$0
    	JMP	·shrVU_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 759 bytes
    - Viewed (0)
  3. src/math/big/arith_decl_pure.go

    //go:build math_big_pure_go
    
    package big
    
    func addVV(z, x, y []Word) (c Word) {
    	return addVV_g(z, x, y)
    }
    
    func subVV(z, x, y []Word) (c Word) {
    	return subVV_g(z, x, y)
    }
    
    func addVW(z, x []Word, y Word) (c Word) {
    	// TODO: remove indirect function call when golang.org/issue/30548 is fixed
    	fn := addVW_g
    	if len(z) > 32 {
    		fn = addVWlarge
    	}
    	return fn(z, x, y)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. src/math/big/arith_loong64.s

    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    	JMP ·subVW_g(SB)
    
    TEXT ·shlVU(SB),NOSPLIT,$0
    	JMP ·shlVU_g(SB)
    
    TEXT ·shrVU(SB),NOSPLIT,$0
    	JMP ·shrVU_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 749 bytes
    - Viewed (0)
  5. src/math/big/arith_mips64x.s

    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    	JMP ·subVW_g(SB)
    
    TEXT ·shlVU(SB),NOSPLIT,$0
    	JMP ·shlVU_g(SB)
    
    TEXT ·shrVU(SB),NOSPLIT,$0
    	JMP ·shrVU_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 763 bytes
    - Viewed (0)
  6. src/math/big/arith_riscv64.s

    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    	JMP ·subVW_g(SB)
    
    TEXT ·shlVU(SB),NOSPLIT,$0
    	JMP ·shlVU_g(SB)
    
    TEXT ·shrVU(SB),NOSPLIT,$0
    	JMP ·shrVU_g(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 750 bytes
    - Viewed (0)
  7. src/math/big/arith_test.go

    	}
    }
    
    func TestFunVV(t *testing.T) {
    	for _, a := range sumVV {
    		arg := a
    		testFunVV(t, "addVV_g", addVV_g, arg)
    		testFunVV(t, "addVV", addVV, arg)
    
    		arg = argVV{a.z, a.y, a.x, a.c}
    		testFunVV(t, "addVV_g symmetric", addVV_g, arg)
    		testFunVV(t, "addVV symmetric", addVV, arg)
    
    		arg = argVV{a.x, a.z, a.y, a.c}
    		testFunVV(t, "subVV_g", subVV_g, arg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  8. src/math/big/arith.go

    // nlz returns the number of leading zeros in x.
    // Wraps bits.LeadingZeros call for convenience.
    func nlz(x Word) uint {
    	return uint(bits.LeadingZeros(uint(x)))
    }
    
    // The resulting carry c is either 0 or 1.
    func addVV_g(z, x, y []Word) (c Word) {
    	// The comment near the top of this file discusses this for loop condition.
    	for i := 0; i < len(z) && i < len(x) && i < len(y); i++ {
    		zi, cc := bits.Add(uint(x[i]), uint(y[i]), uint(c))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 28 20:09:27 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top