Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for F64Const (0.62 sec)

  1. src/runtime/sys_wasm.s

    #include "textflag.h"
    
    TEXT runtime·wasmDiv(SB), NOSPLIT, $0-0
    	Get R0
    	I64Const $-0x8000000000000000
    	I64Eq
    	If
    		Get R1
    		I64Const $-1
    		I64Eq
    		If
    			I64Const $-0x8000000000000000
    			Return
    		End
    	End
    	Get R0
    	Get R1
    	I64DivS
    	Return
    
    TEXT runtime·wasmTruncS(SB), NOSPLIT, $0-0
    	Get R0
    	Get R0
    	F64Ne // NaN
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64Eq  (I64Const [x]) (I64Const [y])) && x == y => (I64Const [1])
    (I64Eq  (I64Const [x]) (I64Const [y])) && x != y => (I64Const [0])
    (I64Ne  (I64Const [x]) (I64Const [y])) && x == y => (I64Const [0])
    (I64Ne  (I64Const [x]) (I64Const [y])) && x != y => (I64Const [1])
    
    (I64Shl (I64Const [x]) (I64Const [y])) => (I64Const [x << uint64(y)])
    (I64ShrU (I64Const [x]) (I64Const [y])) => (I64Const [int64(uint64(x) >> uint64(y))])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/wasm/anames.go

    	"I32Store",
    	"I64Store",
    	"F32Store",
    	"F64Store",
    	"I32Store8",
    	"I32Store16",
    	"I64Store8",
    	"I64Store16",
    	"I64Store32",
    	"CurrentMemory",
    	"GrowMemory",
    	"I32Const",
    	"I64Const",
    	"F32Const",
    	"F64Const",
    	"I32Eqz",
    	"I32Eq",
    	"I32Ne",
    	"I32LtS",
    	"I32LtU",
    	"I32GtS",
    	"I32GtU",
    	"I32LeS",
    	"I32LeU",
    	"I32GeS",
    	"I32GeU",
    	"I64Eqz",
    	"I64Eq",
    	"I64Ne",
    	"I64LtS",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v1.AddArg3(destptr, v0, v2)
    		v.AddArg3(destptr, v0, v1)
    		return true
    	}
    	// match: (Zero [32] destptr mem)
    	// result: (I64Store [24] destptr (I64Const [0]) (I64Store [16] destptr (I64Const [0]) (I64Store [8] destptr (I64Const [0]) (I64Store destptr (I64Const [0]) mem))))
    	for {
    		if auxIntToInt64(v.AuxInt) != 32 {
    			break
    		}
    		destptr := v_0
    		mem := v_1
    		v.reset(OpWasmI64Store)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/wasm/ssa.go

    		getValue32(s, v.Args[2])
    		s.Prog(v.Op.Asm())
    
    	case ssa.OpWasmI64AddConst:
    		getValue64(s, v.Args[0])
    		i64Const(s, v.AuxInt)
    		s.Prog(v.Op.Asm())
    
    	case ssa.OpWasmI64Const:
    		i64Const(s, v.AuxInt)
    
    	case ssa.OpWasmF32Const:
    		f32Const(s, v.AuxFloat())
    
    	case ssa.OpWasmF64Const:
    		f64Const(s, v.AuxFloat())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  6. 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)
  7. test/codegen/strings.go

    	//  wasm:`I64Const\t\$12592`,`I64Store16\t\$0`,`I64Const\t\$50`,`I64Store8\t\$2`
    	// mips64:`MOVV\t\$48`,`MOVV\t\$49`,`MOVV\t\$50`
    	bsink = []byte("012")
    
    	// 858927408 = 0x33323130
    	//     13620 = 0x3534
    	// amd64:`MOVL\t\$858927408`,`MOVW\t\$13620, 4\(`
    	//   386:`MOVL\t\$858927408`,`MOVW\t\$13620, 4\(`
    	// arm64:`MOVD\t\$858927408`,`MOVD\t\$13620`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. 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
    
    		Get R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  9. src/internal/bytealg/compare_wasm.s

    	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
    	I64Const $1
    	Get R5
    	I64Const $0
    	I64LtS
    	Select
    	Get R5
    	I64Eqz
    	Select
    	Return
    
    // compiled with emscripten
    // params: a, b, len
    // ret: <0/0/>0
    TEXT memcmp<>(SB), NOSPLIT, $0-0
    	Get R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 11 04:00:35 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. src/runtime/asm_wasm.s

    	I64Const $8
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier2<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $16
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier3<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $24
    	Call	gcWriteBarrier<>(SB)
    	Return
    TEXT runtime·gcWriteBarrier4<ABIInternal>(SB),NOSPLIT,$0
    	I64Const $32
    	Call	gcWriteBarrier<>(SB)
    	Return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top