Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for f32Const (0.2 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

    	}
    }
    
    func i32Const(s *ssagen.State, val int32) {
    	p := s.Prog(wasm.AI32Const)
    	p.From = obj.Addr{Type: obj.TYPE_CONST, Offset: int64(val)}
    }
    
    func i64Const(s *ssagen.State, val int64) {
    	p := s.Prog(wasm.AI64Const)
    	p.From = obj.Addr{Type: obj.TYPE_CONST, Offset: val}
    }
    
    func f32Const(s *ssagen.State, val float64) {
    	p := s.Prog(wasm.AF32Const)
    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/internal/bytealg/compare_wasm.s

    	I32Load8S $0
    	Tee R4
    	I32Eq
    	If
    	Get R0
    	I32Const $1
    	I32Add
    	Set R0
    	Get R1
    	I32Const $1
    	I32Add
    	Set R1
    	I32Const $0
    	Get R2
    	I32Const $-1
    	I32Add
    	Tee R2
    	I32Eqz
    	BrIf $3
    	Drop
    	Br $1
    	End
    	End
    	Get R3
    	I32Const $255
    	I32And
    	Get R4
    	I32Const $255
    	I32And
    	I32Sub
    	Else
    	I32Const $0
    	End
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 11 04:00:35 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  5. src/internal/bytealg/indexbyte_wasm.s

    	Set R4
    	Block
    		Block
    			Get R2
    			I32Const $0
    			I32Ne
    			Tee R3
    			Get R0
    			I32Const $3
    			I32And
    			I32Const $0
    			I32Ne
    			I32And
    			If
    				Loop
    					Get R0
    					I32Load8U $0
    					Get R1
    					I32Eq
    					BrIf $2
    					Get R2
    					I32Const $-1
    					I32Add
    					Tee R2
    					I32Const $0
    					I32Ne
    					Tee R3
    					Get R0
    					I32Const $1
    					I32Add
    					Tee R0
    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/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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/internal/obj/wasm/a.out.go

    	AI64Load32U
    	AI32Store
    	AI64Store
    	AF32Store
    	AF64Store
    	AI32Store8
    	AI32Store16
    	AI64Store8
    	AI64Store16
    	AI64Store32
    	ACurrentMemory
    	AGrowMemory
    
    	AI32Const
    	AI64Const
    	AF32Const
    	AF64Const
    
    	AI32Eqz
    	AI32Eq
    	AI32Ne
    	AI32LtS
    	AI32LtU
    	AI32GtS
    	AI32GtU
    	AI32LeS
    	AI32LeU
    	AI32GeS
    	AI32GeU
    
    	AI64Eqz
    	AI64Eq
    	AI64Ne
    	AI64LtS
    	AI64LtU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top