Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for cmp1 (0.04 sec)

  1. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "CMPL", argLength: 2, reg: gp2flags, asm: "CMPL", typ: "Flags"},                    // arg0 compare to arg1
    		{name: "CMPW", argLength: 2, reg: gp2flags, asm: "CMPW", typ: "Flags"},                    // arg0 compare to arg1
    		{name: "CMPB", argLength: 2, reg: gp2flags, asm: "CMPB", typ: "Flags"},                    // arg0 compare to arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  2. src/runtime/memmove_test.go

    		for x := 0; x <= size-n; x = x*7 + 1 { // offset in src
    			for y := 0; y <= size-n; y = y*9 + 1 { // offset in dst
    				copy(dst[y:y+n], src[x:x+n])
    				copyref(ref[y:y+n], src[x:x+n])
    				p := cmpb(dst, ref)
    				if p >= 0 {
    					t.Fatalf("Copy failed, copying from src[%d:%d] to dst[%d:%d].\nOffset %d is different, %v != %v", x, x+n, y, y+n, p, dst[p], ref[p])
    				}
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/crypto/internal/bigmod/nat_amd64.s

    //go:build !purego
    
    // func addMulVVW1024(z *uint, x *uint, y uint) (c uint)
    // Requires: ADX, BMI2
    TEXT ·addMulVVW1024(SB), $0-32
    	CMPB ·supportADX+0(SB), $0x01
    	JEQ  adx
    	MOVQ z+0(FP), CX
    	MOVQ x+8(FP), BX
    	MOVQ y+16(FP), SI
    	XORQ DI, DI
    
    	// Iteration 0
    	MOVQ (BX), AX
    	MULQ SI
    	ADDQ (CX), AX
    	ADCQ $0x00, DX
    	ADDQ DI, AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 22:37:58 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  4. src/runtime/asm_386.s

    	MOVL	$1, 0(SP)
    	CALL	runtime·exit(SB)
    	CALL	runtime·abort(SB)
    
    has_cpuid:
    	MOVL	$0, AX
    	CPUID
    	MOVL	AX, SI
    	CMPL	AX, $0
    	JE	nocpuinfo
    
    	CMPL	BX, $0x756E6547  // "Genu"
    	JNE	notintel
    	CMPL	DX, $0x49656E69  // "ineI"
    	JNE	notintel
    	CMPL	CX, $0x6C65746E  // "ntel"
    	JNE	notintel
    	MOVB	$1, runtime·isIntel(SB)
    notintel:
    
    	// Load EAX=1 cpuid flags
    	MOVL	$1, AX
    	CPUID
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBload {sym} [off] ptr x mem)
    	// result: (CMPB (MOVBload {sym} [off] ptr mem) x)
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		x := v_1
    		mem := v_2
    		v.reset(OpAMD64CMPB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  6. test/escape_reflect.go

    	v := reflect.ValueOf(x)
    	return v.Len()
    }
    
    func len5(x chan int) int { // ERROR "x does not escape"
    	v := reflect.ValueOf(x)
    	return v.Len()
    }
    
    func cap1(x []int) int { // ERROR "x does not escape"
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    	return v.Cap()
    }
    
    func cap2(x [3]int) int {
    	v := reflect.ValueOf(x) // ERROR "x does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/addressingmodes.go

    				// but not the two instructions that led to them being combined here.  For example
    				// (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y))
    				// The final pair of instructions turns out to be notably faster, at least in some benchmarks.
    				f.Config.splitLoad(v)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  8. src/crypto/sha256/sha256block_amd64.s

    	SHA256RNDS2		msg, state1, state0		\
    	sha256Msg1		(m,a)
    
    TEXT ·block(SB), 0, $536-32
    	CMPB	·useSHA(SB), $1
    	JE	sha_ni
    	CMPB	·useAVX2(SB), $1
    	JE	avx2
    
    	MOVQ p_base+8(FP), SI
    	MOVQ p_len+16(FP), DX
    	SHRQ $6, DX
    	SHLQ $6, DX
    
    	LEAQ (SI)(DX*1), DI
    	MOVQ DI, 256(SP)
    	CMPQ SI, DI
    	JEQ  end
    
    	MOVQ dig+0(FP), BP
    	MOVL (0*4)(BP), R8  // a = H0
    	MOVL (1*4)(BP), R9  // b = H1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/builtins0.go

    	_ = append(f0 /* ERROR "used as value" */ ())
    	_ = append(f1())
    	_ = append(f2())
    	_ = append(f3())
    	_ = append(f5())
    	_ = append(ff /* ERROR "must be a slice" */ ()) // TODO(gri) better error message
    }
    
    func cap1() {
    	var a [10]bool
    	var p *[20]int
    	var c chan string
    	_ = cap() // ERROR "not enough arguments"
    	_ = cap(1, 2) // ERROR "too many arguments"
    	_ = cap(42 /* ERROR "invalid" */)
    	const _3 = cap(a)
    	assert(_3 == 10)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption.go

    	// When the user specifies a fraction of pods that must be available, we
    	// use as the fraction's denominator
    	// SUM_{all c in C} scale(c)
    	// where C is the union of C_p1, C_p2, ..., C_pN
    	// and each C_pi is the set of controllers controlling the pod pi
    
    	// k8s only defines what will happens when 0 or 1 controllers control a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top