Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for deltaOld (0.49 sec)

  1. src/math/big/calibrate_test.go

    		if Tk < Tb && th1 < 0 {
    			th1 = th
    			fmt.Print("  break-even point")
    		}
    
    		// determine diminishing return
    		if 0 < delta && delta < deltaOld && th2 < 0 {
    			th2 = th
    			fmt.Print("  diminishing return")
    		}
    		deltaOld = delta
    
    		fmt.Println()
    
    		// trigger counter
    		if th1 >= 0 && th2 >= 0 && count < 0 {
    			count = 10 // this many extra measurements after we got both thresholds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/dwarf.go

    	// Choose a special opcode that minimizes the number of bytes needed to
    	// encode the remaining PC delta and LC delta.
    	var opcode int64
    	if deltaLC < LINE_BASE {
    		if deltaPC >= PC_RANGE {
    			opcode = OPCODE_BASE + (LINE_RANGE * PC_RANGE)
    		} else {
    			opcode = OPCODE_BASE + (LINE_RANGE * int64(deltaPC))
    		}
    	} else if deltaLC < LINE_BASE+LINE_RANGE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_arm.s

    	MOVW	$1, R0
    
    	DMB	MB_ISH
    
    	MOVBU	R0, swapped+20(FP)
    	RET
    cas64fail:
    	MOVW	$0, R0
    	MOVBU	R0, swapped+20(FP)
    	RET
    
    TEXT armXadd64<>(SB),NOSPLIT,$0-20
    	// addr is already in R1
    	MOVW	delta_lo+4(FP), R2
    	MOVW	delta_hi+8(FP), R3
    
    add64loop:
    	LDREXD	(R1), R4	// loads R4 and R5
    	ADD.S	R2, R4
    	ADC	R3, R5
    
    	DMB	MB_ISHST
    
    	STREXD	R4, (R1), R0	// stores R4 and R5
    	CMP	$0, R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/internal/runtime/atomic/atomic_386.s

    	RET
    
    TEXT ·Xadd64(SB), NOSPLIT, $0-20
    	NO_LOCAL_POINTERS
    	// no XADDQ so use CMPXCHG8B loop
    	MOVL	ptr+0(FP), BP
    	TESTL	$7, BP
    	JZ	2(PC)
    	CALL	·panicUnaligned(SB)
    	// DI:SI = delta
    	MOVL	delta_lo+4(FP), SI
    	MOVL	delta_hi+8(FP), DI
    	// DX:AX = *addr
    	MOVL	0(BP), AX
    	MOVL	4(BP), DX
    addloop:
    	// CX:BX = DX:AX (*addr) + DI:SI (delta)
    	MOVL	AX, BX
    	MOVL	DX, CX
    	ADDL	SI, BX
    	ADCL	DI, CX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top