Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copysignSC (0.28 sec)

  1. src/cmd/compile/internal/ssa/rewrite386.go

    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Neg32F x)
    	// result: (PXOR x (MOVSSconst <typ.Float32> [float32(math.Copysign(0, -1))]))
    	for {
    		x := v_0
    		v.reset(Op386PXOR)
    		v0 := b.NewValue0(v.Pos, Op386MOVSSconst, typ.Float32)
    		v0.AuxInt = float32ToAuxInt(float32(math.Copysign(0, -1)))
    		v.AddArg2(x, v0)
    		return true
    	}
    }
    func rewriteValue386_OpNeg64F(v *Value) bool {
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			return s.newValue1(ssa.OpAbs, types.Types[types.TFLOAT64], args[0])
    		},
    		sys.ARM64, sys.ARM, sys.PPC64, sys.RISCV64, sys.Wasm, sys.MIPS, sys.MIPS64)
    	addF("math", "Copysign",
    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue2(ssa.OpCopysign, types.Types[types.TFLOAT64], args[0], args[1])
    		},
    		sys.PPC64, sys.RISCV64, sys.Wasm)
    	addF("math", "FMA",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCopysign(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (Copysign x y)
    	// result: (FCPSGN y x)
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpPPC64FCPSGN)
    		v.AddArg2(y, x)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCtz16(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top