Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for ADDV (0.05 sec)

  1. src/runtime/duff_loong64.s

    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    	MOVV	R0, (R20)
    	ADDV	$8, R20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. src/runtime/memmove_loong64.s

    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R9, R6 // R6 is end pointer-7
    
    	PCALIGN	$16
    	SGTU	R6, R4, R8
    	BEQ	R8, out
    	MOVV	(R5), R7
    	ADDV	$8, R5
    	MOVV	R7, (R4)
    	ADDV	$8, R4
    	JMP	-6(PC)
    
    out:
    	BEQ	R4, R9, done
    	MOVB	(R5), R7
    	ADDV	$1, R5
    	MOVB	R7, (R4)
    	ADDV	$1, R4
    	JMP	-5(PC)
    done:
    	RET
    
    backward:
    	ADDV	R6, R5 // from-end pointer
    	ADDV	R4, R6, R9 // to-end pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_loong64.s

    TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40
    	// R4 = b_base
    	// R5 = b_len
    	// R6 = b_cap (unused)
    	// R7 = byte to find
    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    	MOVBU	(R4), R8
    	BNE	R7, R8, loop
    
    	SUBV	R6, R4		// remove base
    	RET
    
    notfound:
    	MOVV	$-1, R4
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  4. src/runtime/memclr_loong64.s

    TEXT runtime·memclrNoHeapPointers<ABIInternal>(SB),NOSPLIT,$0-16
    	ADDV	R4, R5, R6
    
    	// if less than 8 bytes, do one byte at a time
    	SGTU	$8, R5, R8
    	BNE	R8, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    	BEQ	R8, words
    	MOVB	R0, (R4)
    	ADDV	$1, R4
    	JMP	-4(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R6, R5
    
    	PCALIGN	$16
    	SGTU	R5, R4, R8
    	BEQ	R8, out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 766 bytes
    - Viewed (0)
  5. src/reflect/asm_loong64.s

    	MOVV	32(R3), REGCTXT // restore REGCTXT
    
    	MOVV	REGCTXT, 8(R3)
    	MOVV	$argframe+0(FP), R20
    	MOVV	R20, 16(R3)
    	MOVV	R0, LOCAL_RETVALID(R3)
    	ADDV	$LOCAL_RETVALID, R3, R20
    	MOVV	R20, 24(R3)
    	ADDV	$LOCAL_REGARGS, R3, R20
    	MOVV	R20, 32(R3)
    	JAL	·callReflect(SB)
    	ADDV	$LOCAL_REGARGS, R3, R25	//unspillArgs using R25
    	JAL	runtime·unspillArgs(SB)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_loong64.s

    #define	REGCTXT	R29
    
    // memequal(a, b unsafe.Pointer, size uintptr) bool
    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	BEQ	R4, R5, eq
    	ADDV	R4, R6, R7
    	PCALIGN	$16
    loop:
    	BNE	R4, R7, test
    	MOVV	$1, R4
    	RET
    test:
    	MOVBU	(R4), R9
    	ADDV	$1, R4
    	MOVBU	(R5), R10
    	ADDV	$1, R5
    	BEQ	R9, R10, loop
    
    	MOVB    R0, R4
    	RET
    eq:
    	MOVV	$1, R4
    	RET
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 875 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    	// will clobber the test pattern created by the caller
    	ADDV	$(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
    	ADDV	$(-1024*8), R29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
  8. src/internal/bytealg/compare_loong64.s

    	BNE	R0, R15, byte_loop
    
    	PCALIGN	$16
    chunk16_loop:
    	BEQ	R0, R14, byte_loop
    	MOVV	(R4), R8
    	MOVV	(R6), R9
    	BNE	R8, R9, byte_loop
    	MOVV	8(R4), R16
    	MOVV	8(R6), R17
    	ADDV	$16, R4
    	ADDV	$16, R6
    	SUBVU	$1, R14
    	BEQ	R16, R17, chunk16_loop
    	SUBV	$8, R4
    	SUBV	$8, R6
    
    byte_loop:
    	BEQ	R4, R12, samebytes
    	MOVBU	(R4), R8
    	ADDVU	$1, R4
    	MOVBU	(R6), R9
    	ADDVU	$1, R6
    	BEQ	R8, R9, byte_loop
    
    byte_cmp:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/loong64/asm_test.go

    	fmt.Fprintln(buf, "BNE R5, label23")
    
    	for i := 0; i <= genSize1; i++ {
    		fmt.Fprintln(buf, "ADDV $0, R0, R0")
    	}
    
    	fmt.Fprintln(buf, "label18:")
    	for i := 0; i <= (genSize2 - genSize1); i++ {
    		fmt.Fprintln(buf, "ADDV $0, R0, R0")
    	}
    
    	fmt.Fprintln(buf, "label23:")
    	fmt.Fprintln(buf, "ADDV $0, R0, R0")
    	fmt.Fprintln(buf, "RET")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:39:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/runtime/cgo/asm_mips64x.s

    	 *  push 3 args for fn (R4, R5, R7), skipping R6.
    	 * Also note that at procedure entry in gc world, 8(R29) will be the
    	 *  first arg.
    	 */
    #ifndef GOMIPS64_softfloat
    	ADDV	$(-8*23), R29
    #else
    	ADDV	$(-8*15), R29
    #endif
    	MOVV	R4, (8*1)(R29) // fn unsafe.Pointer
    	MOVV	R5, (8*2)(R29) // a unsafe.Pointer
    	MOVV	R7, (8*3)(R29) // ctxt uintptr
    	MOVV	R16, (8*4)(R29)
    	MOVV	R17, (8*5)(R29)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top