Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for I32WrapI64 (0.83 sec)

  1. src/runtime/memclr_wasm.s

    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-16
    	MOVD ptr+0(FP), R0
    	MOVD n+8(FP), R1
    
    	Get R0
    	I32WrapI64
    	I32Const $0
    	Get R1
    	I32WrapI64
    	MemoryFill
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 10:37:01 UTC 2022
    - 485 bytes
    - Viewed (0)
  2. src/runtime/memmove_wasm.s

    // func memmove(to, from unsafe.Pointer, n uintptr)
    TEXT runtime·memmove(SB), NOSPLIT, $0-24
    	MOVD to+0(FP), R0
    	MOVD from+8(FP), R1
    	MOVD n+16(FP), R2
    
    	Get R0
    	I32WrapI64
    	Get R1
    	I32WrapI64
    	Get R2
    	I32WrapI64
    	MemoryCopy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 27 10:37:01 UTC 2022
    - 479 bytes
    - Viewed (0)
  3. src/internal/bytealg/compare_wasm.s

    // ret: -1/0/1
    TEXT cmpbody<>(SB), NOSPLIT, $0-0
    	// len = min(alen, blen)
    	Get R1
    	Get R3
    	Get R1
    	Get R3
    	I64LtU
    	Select
    	Set R4
    
    	Get R0
    	I32WrapI64
    	Get R2
    	I32WrapI64
    	Get R4
    	I32WrapI64
    	Call memcmp<>(SB)
    	I64ExtendI32S
    	Tee R5
    
    	I64Eqz
    	If
    		// check length
    		Get R1
    		Get R3
    		I64Sub
    		Set R5
    	End
    
    	I64Const $0
    	I64Const $-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 11 04:00:35 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  4. src/runtime/asm_wasm.s

    	MOVW stackArgsSize+24(FP), R0; \
    	\
    	Get R0; \
    	I64Eqz; \
    	Not; \
    	If; \
    		Get SP; \
    		I64Load stackArgs+16(FP); \
    		I32WrapI64; \
    		I64Load stackArgsSize+24(FP); \
    		I32WrapI64; \
    		MemoryCopy; \
    	End; \
    	\
    	MOVD f+8(FP), CTXT; \
    	Get CTXT; \
    	I32WrapI64; \
    	I64Load $0; \
    	CALL; \
    	\
    	I64Load32U stackRetOffset+28(FP); \
    	Set R0; \
    	\
    	MOVD stackArgsType+0(FP), RET0; \
    	\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/internal/bytealg/indexbyte_wasm.s

    	I64Load b_base+0(FP)
    	I32WrapI64
    	I32Load8U c+24(FP)
    	I64Load b_len+8(FP)
    	I32WrapI64
    	Call memchr<>(SB)
    	I64ExtendI32S
    	Set R0
    
    	Get SP
    	I64Const $-1
    	Get R0
    	I64Load b_base+0(FP)
    	I64Sub
    	Get R0
    	I64Eqz $0
    	Select
    	I64Store ret+32(FP)
    
    	RET
    
    TEXT ·IndexByteString(SB), NOSPLIT, $0-32
    	Get SP
    	I64Load s_base+0(FP)
    	I32WrapI64
    	I32Load8U c+16(FP)
    	I64Load s_len+8(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 03:59:19 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_wasm.s

    	Get R0
    	Get R1
    	I64Eq
    	If
    		I64Const $1
    		Return
    	End
    
    loop:
    	Loop
    		Get R2
    		I64Eqz
    		If
    			I64Const $1
    			Return
    		End
    
    		Get R0
    		I32WrapI64
    		I64Load8U $0
    		Get R1
    		I32WrapI64
    		I64Load8U $0
    		I64Ne
    		If
    			I64Const $0
    			Return
    		End
    
    		Get R0
    		I64Const $1
    		I64Add
    		Set R0
    
    		Get R1
    		I64Const $1
    		I64Add
    		Set R1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  7. test/codegen/comparisons.go

    	// ppc64x:"ANDCC",-"CMPW"
    	// wasm:"I64Eqz",-"I32Eqz",-"I64ExtendI32U",-"I32WrapI64"
    	if a&63 == 0 {
    		return 1
    	}
    
    	// ppc64x:"ANDCC",-"CMP"
    	// wasm:"I64Eqz",-"I32Eqz",-"I64ExtendI32U",-"I32WrapI64"
    	if d&255 == 0 {
    		return 1
    	}
    
    	// ppc64x:"ANDCC",-"CMP"
    	// wasm:"I64Eqz",-"I32Eqz",-"I64ExtendI32U",-"I32WrapI64"
    	if d&e == 0 {
    		return 1
    	}
    	// ppc64x:"ORCC",-"CMP"
    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. src/cmd/internal/obj/wasm/anames.go

    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/wasm/wasmobj.go

    	s.Size = pc + 1
    
    	if needMoreStack {
    		p := pMorestack
    
    		if framesize <= abi.StackSmall {
    			// small stack: SP <= stackguard
    			// Get SP
    			// Get g
    			// I32WrapI64
    			// I32Load $stackguard0
    			// I32GtU
    
    			p = appendp(p, AGet, regAddr(REG_SP))
    			p = appendp(p, AGet, regAddr(REGG))
    			p = appendp(p, AI32WrapI64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top