Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for F32Const (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top