Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for TESTQ (0.37 sec)

  1. src/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s

    loop:
    	POLY1305_ADD(SI, R8, R9, R10)
    
    multiply:
    	POLY1305_MUL(R8, R9, R10, R11, R12, BX, CX, R13, R14)
    	SUBQ $16, R15
    	CMPQ R15, $16
    	JAE  loop
    
    bytes_between_0_and_15:
    	TESTQ R15, R15
    	JZ    done
    	MOVQ  $1, BX
    	XORQ  CX, CX
    	XORQ  R13, R13
    	ADDQ  R15, SI
    
    flush_buffer:
    	SHLQ $8, BX, CX
    	SHLQ $8, BX
    	MOVB -1(SI), R13
    	XORQ R13, BX
    	DECQ SI
    	DECQ R15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/runtime/memmove_plan9_amd64.s

    	// REP instructions have a high startup cost, so we handle small sizes
    	// with some straightline code. The REP MOVSQ instruction is really fast
    	// for large sizes. The cutover is approximately 1K.
    tail:
    	TESTQ	BX, BX
    	JEQ	move_0
    	CMPQ	BX, $2
    	JBE	move_1or2
    	CMPQ	BX, $4
    	JBE	move_3or4
    	CMPQ	BX, $8
    	JB	move_5through7
    	JE	move_8
    	CMPQ	BX, $16
    	JBE	move_9through16
    
    /*
     * check and set for backwards
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_amd64.s

    // The start of the data is SI.
    ssesuccess:
    	SUBQ SI, DI	// Compute offset of chunk within data.
    	ADDQ DX, DI	// Add offset of byte within chunk.
    	MOVQ DI, (R8)
    	RET
    
    // handle for lengths < 16
    small:
    	TESTQ	BX, BX
    	JEQ	failure
    
    	// Check if we'll load across a page boundary.
    	LEAQ	16(SI), AX
    	TESTW	$0xff0, AX
    	JEQ	endofpage
    
    	MOVOU	(SI), X1 // Load data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 19:06:01 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64splitload.rules

    (CMP(Q|L|W|B)constloadidx1 {sym} [vo] ptr idx mem) && vo.Val() == 0 => (TEST(Q|L|W|B) x:(MOV(Q|L|W|B)loadidx1 {sym} [vo.Off()] ptr idx mem) x)
    (CMPQconstloadidx8         {sym} [vo] ptr idx mem) && vo.Val() == 0 => (TESTQ         x:(MOVQloadidx8         {sym} [vo.Off()] ptr idx mem) x)
    (CMPLconstloadidx4         {sym} [vo] ptr idx mem) && vo.Val() == 0 => (TESTL         x:(MOVLloadidx4         {sym} [vo.Off()] ptr idx mem) x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_amd64.s

    	MOVQ productTable+0(FP), pTbl
    	MOVQ data_base+8(FP), aut
    	MOVQ data_len+16(FP), autLen
    	MOVQ T+32(FP), tPtr
    
    	PXOR ACC0, ACC0
    	MOVOU bswapMask<>(SB), BSWAP
    	MOVOU gcmPoly<>(SB), POLY
    
    	TESTQ autLen, autLen
    	JEQ dataBail
    
    	CMPQ autLen, $13	// optimize the TLS case
    	JE dataTLS
    	CMPQ autLen, $128
    	JB startSinglesLoop
    	JMP dataOctaLoop
    
    dataTLS:
    	MOVOU (16*14)(pTbl), T1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    ((NE|EQ) (TESTL (SHLL (MOVLconst [1]) x) y)) => ((ULT|UGE) (BTL x y))
    ((NE|EQ) (TESTQ (SHLQ (MOVQconst [1]) x) y)) => ((ULT|UGE) (BTQ x y))
    ((NE|EQ) (TESTLconst [c] x)) && isUint32PowerOfTwo(int64(c))
        => ((ULT|UGE) (BTLconst [int8(log32(c))] x))
    ((NE|EQ) (TESTQconst [c] x)) && isUint64PowerOfTwo(int64(c))
        => ((ULT|UGE) (BTQconst [int8(log32(c))] x))
    ((NE|EQ) (TESTQ (MOVQconst [c]) x)) && isUint64PowerOfTwo(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. test/codegen/comparisons.go

    }
    
    func UintLtZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCC|JCS)`
    	// arm64: -`(CMPW|CMP|BHS|BLO)`
    	if a < 0 || b < 0 || c < 0 || d < 0 {
    		return 1
    	}
    	return 0
    }
    
    func UintGeqZero(a uint8, b uint16, c uint32, d uint64) int {
    	// amd64: -`(TESTB|TESTW|TESTL|TESTQ|JCS|JCC)`
    	// arm64: -`(CMPW|CMP|BLO|BHS)`
    	if a >= 0 || b >= 0 || c >= 0 || d >= 0 {
    		return 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. test/codegen/shift.go

    	// amd64:"TESTL"
    	_ = x << v32
    	// amd64:"TESTQ"
    	_ = x << v64
    }
    
    // We want to avoid generating a test + panicshift for these cases.
    func lshSignedMasked(v8 int8, v16 int16, v32 int32, v64 int64, x int) {
    	// amd64:-"TESTB"
    	_ = x << (v8 & 7)
    	// amd64:-"TESTW"
    	_ = x << (v16 & 15)
    	// amd64:-"TESTL"
    	_ = x << (v32 & 31)
    	// amd64:-"TESTQ"
    	_ = x << (v64 & 63)
    }
    
    // ------------------ //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/internal/bytealg/count_amd64.s

    	MOVOU	(AX), X1
    	PCMPEQB	X0, X1
    	PMOVMSKB X1, DX
    	// Apply mask
    	ANDQ R10, DX
    	POPCNTL DX, DX
    	ADDQ DX, R12
    end:
    	MOVQ R12, (R8)
    	RET
    
    // handle for lengths < 16
    small:
    	TESTQ	BX, BX
    	JEQ	endzero
    
    	// Check if we'll load across a page boundary.
    	LEAQ	16(SI), AX
    	TESTW	$0xff0, AX
    	JEQ	endofpage
    
    	// We must ignore high bytes as they aren't part of our slice.
    	// Create mask.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteAMD64splitload.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPQconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() == 0
    	// result: (TESTQ x:(MOVQload {sym} [vo.Off()] ptr mem) x)
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTQ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
Back to top