Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for F32Const (0.34 sec)

  1. 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)
  2. src/cmd/compile/internal/wasm/ssa.go

    			p.Pos = v.Pos
    		}
    
    	case ssa.OpWasmLoweredMove:
    		getValue32(s, v.Args[0])
    		getValue32(s, v.Args[1])
    		i32Const(s, int32(v.AuxInt))
    		s.Prog(wasm.AMemoryCopy)
    
    	case ssa.OpWasmLoweredZero:
    		getValue32(s, v.Args[0])
    		i32Const(s, 0)
    		i32Const(s, int32(v.AuxInt))
    		s.Prog(wasm.AMemoryFill)
    
    	case ssa.OpWasmLoweredNilCheck:
    		getValue64(s, v.Args[0])
    		s.Prog(wasm.AI64Eqz)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "I64Const", reg: gp01, aux: "Int64", rematerializeable: true, typ: "Int64"},        // returns the constant integer aux
    		{name: "F32Const", reg: fp32_01, aux: "Float32", rematerializeable: true, typ: "Float32"}, // returns the constant float aux
    		{name: "F64Const", reg: fp64_01, aux: "Float64", rematerializeable: true, typ: "Float64"}, // returns the constant float aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  4. src/runtime/rt0_js_wasm.s

    #include "go_asm.h"
    #include "textflag.h"
    
    // _rt0_wasm_js is not used itself. It only exists to mark the exported functions as alive.
    TEXT _rt0_wasm_js(SB),NOSPLIT,$0
    	I32Const $wasm_export_run(SB)
    	Drop
    	I32Const $wasm_export_resume(SB)
    	Drop
    	I32Const $wasm_export_getsp(SB)
    	Drop
    
    // wasm_export_run gets called from JavaScript. It initializes the Go runtime and executes Go code until it needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/asm_wasm.s

    	I32Eqz
    	If
    	loop:
    		Loop
    			// Get PC_B & PC_F from -8(SP)
    			Get SP
    			I32Const $8
    			I32Sub
    			I32Load16U $0 // PC_B
    
    			Get SP
    			I32Const $8
    			I32Sub
    			I32Load16U $2 // PC_F
    
    			CallIndirect $0
    			Drop
    
    			Get PAUSE
    			I32Eqz
    			BrIf loop
    		End
    	End
    
    	I32Const $0
    	Set PAUSE
    
    	Return
    
    TEXT wasm_export_lib(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/rt0_wasip1_wasm.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT _rt0_wasm_wasip1(SB),NOSPLIT,$0
    	MOVD $runtime·wasmStack+(m0Stack__size-16)(SB), SP
    
    	I32Const $0 // entry PC_B
    	Call runtime·rt0_go(SB)
    	Drop
    	Call wasm_pc_f_loop(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 19:28:25 UTC 2023
    - 387 bytes
    - Viewed (0)
  8. src/cmd/internal/obj/wasm/wasmobj.go

    		} else {
    			// large stack: SP-framesize <= stackguard-StackSmall
    			//              SP <= stackguard+(framesize-StackSmall)
    			// Get SP
    			// Get g
    			// I32WrapI64
    			// I32Load $stackguard0
    			// I32Const $(framesize-StackSmall)
    			// I32Add
    			// 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)
  9. src/cmd/compile/internal/ssa/opGen.go

    		rematerializeable: true,
    		reg: regInfo{
    			outputs: []outputInfo{
    				{0, 65535}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15
    			},
    		},
    	},
    	{
    		name:              "F32Const",
    		auxType:           auxFloat32,
    		argLen:            0,
    		rematerializeable: true,
    		reg: regInfo{
    			outputs: []outputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top