Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for i64toi (0.12 sec)

  1. src/go/constant/value.go

    func newRat() *big.Rat     { return new(big.Rat) }
    func newFloat() *big.Float { return new(big.Float).SetPrec(prec) }
    
    func i64toi(x int64Val) intVal   { return intVal{newInt().SetInt64(int64(x))} }
    func i64tor(x int64Val) ratVal   { return ratVal{newRat().SetInt64(int64(x))} }
    func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} }
    func itor(x intVal) ratVal       { return ratVal{newRat().SetInt(x.val)} }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/wasm/anames.go

    	"I32ShrU",
    	"I32Rotl",
    	"I32Rotr",
    	"I64Clz",
    	"I64Ctz",
    	"I64Popcnt",
    	"I64Add",
    	"I64Sub",
    	"I64Mul",
    	"I64DivS",
    	"I64DivU",
    	"I64RemS",
    	"I64RemU",
    	"I64And",
    	"I64Or",
    	"I64Xor",
    	"I64Shl",
    	"I64ShrS",
    	"I64ShrU",
    	"I64Rotl",
    	"I64Rotr",
    	"F32Abs",
    	"F32Neg",
    	"F32Ceil",
    	"F32Floor",
    	"F32Trunc",
    	"F32Nearest",
    	"F32Sqrt",
    	"F32Add",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (I64Mul (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Mul y (I64Const [x]))
    (I64And (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64And y (I64Const [x]))
    (I64Or  (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Or  y (I64Const [x]))
    (I64Xor (I64Const [x]) y) && y.Op != OpWasmI64Const => (I64Xor y (I64Const [x]))
    (F64Add (F64Const [x]) y) && y.Op != OpWasmF64Const => (F64Add y (F64Const [x]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/WasmOps.go

    		{name: "I64And", asm: "I64And", argLength: 2, reg: gp21, typ: "Int64"},                    // arg0 & arg1
    		{name: "I64Or", asm: "I64Or", argLength: 2, reg: gp21, typ: "Int64"},                      // arg0 | arg1
    		{name: "I64Xor", asm: "I64Xor", argLength: 2, reg: gp21, typ: "Int64"},                    // arg0 ^ arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteWasm.go

    	// match: (Com64 x)
    	// result: (I64Xor x (I64Const [-1]))
    	for {
    		x := v_0
    		v.reset(OpWasmI64Xor)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v0.AuxInt = int64ToAuxInt(-1)
    		v.AddArg2(x, v0)
    		return true
    	}
    }
    func rewriteValueWasm_OpCom8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Com8 x)
    	// result: (I64Xor x (I64Const [-1]))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/fp_test.go

    }
    
    //go:noinline
    func F64toI64_ssa(x float64) int64 {
    	return int64(x)
    }
    
    func floatsToInts(t *testing.T, x float64, expected int64) {
    	y := float32(x)
    	expectInt64(t, "F64toI8", int64(F64toI8_ssa(x)), expected)
    	expectInt64(t, "F64toI16", int64(F64toI16_ssa(x)), expected)
    	expectInt64(t, "F64toI32", int64(F64toI32_ssa(x)), expected)
    	expectInt64(t, "F64toI64", int64(F64toI64_ssa(x)), expected)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 35K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 65535}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15
    			},
    		},
    	},
    	{
    		name:   "I64Xor",
    		argLen: 2,
    		asm:    wasm.AI64Xor,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 281474976776191}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 SP
    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