Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 50 for copysignSC (0.34 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Round(32|64)F ...) => (LoweredRound(32|64)F ...)
    
    (Sqrt ...) => (FSQRT ...)
    (Sqrt32 ...) => (FSQRTS ...)
    (Floor ...) => (FFLOOR ...)
    (Ceil ...) => (FCEIL ...)
    (Trunc ...) => (FTRUNC ...)
    (Round ...) => (FROUND ...)
    (Copysign x y) => (FCPSGN y x)
    (Abs ...) => (FABS ...)
    (FMA ...) => (FMADD ...)
    
    // Lowering extension
    // Note: we always extend to 64 bits even though some ops don't need that many result bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/S390X.rules

    // detect attempts to set the sign bit with load
    (LDGR <t> x:(ORload <t1> [off] {sym} (MOVDconst [-1<<63]) ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (LNDFR <t> (LDGR <t> (MOVDload <t1> [off] {sym} ptr mem)))
    
    // detect copysign
    (OR (RISBGZ (LGDR x) {r}) (LGDR (LPDFR <t> y)))
      && r == s390x.NewRotateParams(0, 0, 0)
      => (LGDR (CPSDR <t> y x))
    (OR (RISBGZ (LGDR x) {r}) (MOVDconst [c]))
      && c >= 0
      && r == s390x.NewRotateParams(0, 0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (SLLconst [c] (SRLconst [c] x)) && 0 < c && c < 64 => (ANDconst [^(1<<uint(c)-1)] x) // mask out low bits
    
    // Special case setting bit as 1. An example is math.Copysign(c,-1)
    (ORconst [c1] (ANDconst [c2] x)) && c2|c1 == ^0  => (ORconst [c1] x)
    
    // If the shift amount is larger than the datasize(32, 16, 8), we can optimize to constant 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/s390x/asmz.go

    		switch p.As {
    		case AFIEBR:
    			opcode = op_FIEBR
    		case AFIDBR:
    			opcode = op_FIDBR
    		}
    		zRRF(opcode, uint32(m3), 0, uint32(p.To.Reg), uint32(p.Reg), asm)
    
    	case 49: // copysign
    		zRRF(op_CPSDR, uint32(p.From.Reg), 0, uint32(p.To.Reg), uint32(p.Reg), asm)
    
    	case 50: // load and test
    		var opcode uint32
    		switch p.As {
    		case ALTEBR:
    			opcode = op_LTEBR
    		case ALTDBR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteAMD64.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(OpAMD64PXOR)
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVSSconst, typ.Float32)
    		v0.AuxInt = float32ToAuxInt(float32(math.Copysign(0, -1)))
    		v.AddArg2(x, v0)
    		return true
    	}
    }
    func rewriteValueAMD64_OpNeg64F(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Acosh", Func, 0},
    		{"Asin", Func, 0},
    		{"Asinh", Func, 0},
    		{"Atan", Func, 0},
    		{"Atan2", Func, 0},
    		{"Atanh", Func, 0},
    		{"Cbrt", Func, 0},
    		{"Ceil", Func, 0},
    		{"Copysign", Func, 0},
    		{"Cos", Func, 0},
    		{"Cosh", Func, 0},
    		{"Dim", Func, 0},
    		{"E", Const, 0},
    		{"Erf", Func, 0},
    		{"Erfc", Func, 0},
    		{"Erfcinv", Func, 10},
    		{"Erfinv", Func, 10},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "RoundToEven",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Abs",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "Copysign",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Min64F",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Min32F",
    		argLen:  2,
    		generic: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  10. api/go1.txt

    pkg math, func Atan(float64) float64
    pkg math, func Atan2(float64, float64) float64
    pkg math, func Atanh(float64) float64
    pkg math, func Cbrt(float64) float64
    pkg math, func Ceil(float64) float64
    pkg math, func Copysign(float64, float64) float64
    pkg math, func Cos(float64) float64
    pkg math, func Cosh(float64) float64
    pkg math, func Dim(float64, float64) float64
    pkg math, func Erf(float64) float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top