Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for loop (0.3 sec)

  1. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    	ADD	$(1024*8), X2
    
    	// Ask signaller to setgid
    	MOV	$1, X5
    	FENCE
    	MOVW	X5, ·Baton(SB)
    	FENCE
    
    	// Wait for setgid completion
    loop:
    	FENCE
    	MOVW	·Baton(SB), X5
    	OR	X6, X6, X6	// hint that we're in a spin loop
    	BNE	ZERO, X5, loop
    	FENCE
    
    	// Restore stack
    	ADD	$(-1024*8), X2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/amd64.s

    // LTYPEX spec9	{ outcode($1, &$2); }
    	PINSRW	$4, AX, X2
    	PINSRW	$4, foo+4(SB), X2
    
    // LTYPERT spec10	{ outcode($1, &$2); }
    	JCS	2(PC)
    	RETFL	$4
    
    // Was bug: LOOP is a branch instruction.
    	JCS	2(PC)
    loop:
    	LOOP	loop // LOOP
    
    	// Intel pseudonyms for our own renamings.
    	PADDD	M2, M1 // PADDL M2, M1
    	MOVDQ2Q	X1, M1 // MOVQ X1, M1
    	MOVNTDQ	X1, (AX)	// MOVNTO X1, (AX)
    	MOVOA	(AX), X1	// MOVO (AX), X1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  3. src/crypto/sha256/sha256block_s390x.s

    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $2, R0                       // SHA-256 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 610 bytes
    - Viewed (0)
  4. src/crypto/sha512/sha512block_s390x.s

    	MOVBZ  ·useAsm(SB), R4
    	LMG    dig+0(FP), R1, R3            // R2 = &p[0], R3 = len(p)
    	MOVBZ  $3, R0                       // SHA-512 function code
    	CMPBEQ R4, $0, generic
    
    loop:
    	KIMD R0, R2      // compute intermediate message digest (KIMD)
    	BVS  loop        // continue if interrupted
    	RET
    
    generic:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 610 bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa_s390x.s

    // func kdsa(fc uint64, params *[4096]byte) (errn uint64)
    TEXT ·kdsa(SB), NOSPLIT|NOFRAME, $0-24
    	MOVD fc+0(FP), R0     // function code
    	MOVD params+8(FP), R1 // address parameter block
    
    loop:
    	KDSA R0, R4      // compute digital signature authentication
    	BVS  loop        // branch back if interrupted
    	BGT  retry       // signing unsuccessful, but retry with new CSPRN
    	BLT  error       // condition code of 1 indicates a failure
    
    success:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/386.s

    	CMPPD	X0, X1, 4
    	CMPPD	foo+4(SB), X1, 4
    
    // LTYPEX spec10	{ outcode(int($1), &$2); }
    	PINSRD	$1, (AX), X0
    	PINSRD	$2, foo+4(FP), X0
    
    // Was bug: LOOP is a branch instruction.
    	JCS	2(PC)
    loop:
    	LOOP	loop // LOOP
    
    // Tests for TLS reference.
    	MOVL    (TLS), AX
    	MOVL    8(TLS), DX
    
    // LTYPE0 nonnon	{ outcode(int($1), &$2); }
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_mipsx.s

    	ADDU	$(1024*8), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R1
    	OR	R2, R2, R2	// hint that we're in a spin loop
    	BNE	R1, loop
    	SYNC
    
    	// Restore stack
    	ADDU	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 663 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    	CMP	R3, $0
    	// Hint that we're in a spin loop
    	OR	R1, R1, R1
    	BNE	loop
    	ISYNC
    
    	// Restore stack
    	SUB	$(1024 * 8), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  9. src/crypto/sha1/sha1block_arm.s

    	MOVM.IA (Rt0), [Ra,Rb,Rc,Rd,Re]
    
    loop:
    	// Save registers at SP+4 onwards
    	MOVM.IB [Ra,Rb,Rc,Rd,Re], (R13)
    
    	MOVW	$w_buf, Rw
    	MOVW	$0x5A827999, Rconst
    	MOVW	$3, Rctr
    loop1:	ROUND1(Ra, Rb, Rc, Rd, Re)
    	ROUND1(Re, Ra, Rb, Rc, Rd)
    	ROUND1(Rd, Re, Ra, Rb, Rc)
    	ROUND1(Rc, Rd, Re, Ra, Rb)
    	ROUND1(Rb, Rc, Rd, Re, Ra)
    	SUB.S	$1, Rctr
    	BNE	loop1
    
    	ROUND1(Ra, Rb, Rc, Rd, Re)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue9400/asm_amd64x.s

    	// will clobber the test pattern created by the caller
    	ADDQ	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	·Baton(SB), AX
    	CMPL	AX, $0
    	JNE	loop
    
    	// Restore stack
    	SUBQ	$(1024 * 8), SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 589 bytes
    - Viewed (0)
Back to top