Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Add64carry (0.14 sec)

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

    (Mod16u x y) => (REMVU (ZeroExt16to64 x) (ZeroExt16to64 y))
    (Mod8 x y) => (REMV (SignExt8to64 x) (SignExt8to64 y))
    (Mod8u x y) => (REMVU (ZeroExt8to64 x) (ZeroExt8to64 y))
    
    (Select0 <t> (Add64carry x y c)) => (ADDV (ADDV <t> x y) c)
    (Select1 <t> (Add64carry x y c)) =>
    	(OR (SGTU <t> x s:(ADDV <t> x y)) (SGTU <t> s (ADDV <t> s c)))
    
    (Select0 <t> (Sub64borrow x y c)) => (SUBV (SUBV <t> x y) c)
    (Select1 <t> (Sub64borrow x y c)) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Hmul64u ...) => (MULHU ...)
    (Hmul32 x y)  => (SRAI [32] (MUL  (SignExt32to64 x) (SignExt32to64 y)))
    (Hmul32u x y) => (SRLI [32] (MUL  (ZeroExt32to64 x) (ZeroExt32to64 y)))
    
    (Select0 (Add64carry x y c)) => (ADD (ADD <typ.UInt64> x y) c)
    (Select1 (Add64carry x y c)) =>
    	(OR (SLTU <typ.UInt64> s:(ADD <typ.UInt64> x y) x) (SLTU <typ.UInt64> (ADD <typ.UInt64> s c) s))
    
    (Select0 (Sub64borrow x y c)) => (SUB (SUB <typ.UInt64> x y) c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Const(32|64)F ...) => (FMOV(S|D)const ...)
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Carrying addition.
    (Select0 (Add64carry x y c)) =>            (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
    (Select1 (Add64carry x y c)) => (ADDZEzero (Select1 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1])))))
    // Fold initial carry bit if 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (Mod8 x y) => (Select0 (DIVV (SignExt8to64 x) (SignExt8to64 y)))
    (Mod8u x y) => (Select0 (DIVVU (ZeroExt8to64 x) (ZeroExt8to64 y)))
    
    (Select0 <t> (Add64carry x y c)) => (ADDV (ADDV <t> x y) c)
    (Select1 <t> (Add64carry x y c)) =>
    	(OR (SGTU <t> x s:(ADDV <t> x y)) (SGTU <t> s (ADDV <t> s c)))
    
    (Select0 <t> (Sub64borrow x y c)) => (SUBV (SUBV <t> x y) c)
    (Select1 <t> (Sub64borrow x y c)) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390X.rules

    (Bswap64 ...) => (MOVDBR ...)
    (Bswap32 ...) => (MOVWBR ...)
    
    // add with carry
    (Select0 (Add64carry x y c))
      => (Select0 <typ.UInt64> (ADDE x y (Select1 <types.TypeFlags> (ADDCconst c [-1]))))
    (Select1 (Add64carry x y c))
      => (Select0 <typ.UInt64> (ADDE (MOVDconst [0]) (MOVDconst [0]) (Select1 <types.TypeFlags> (ADDE x y (Select1 <types.TypeFlags> (ADDCconst c [-1]))))))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Sub32carry", argLength: 2, typ: "(UInt32,Flags)"}, // arg0 - arg1, returns (value, carry)
    	{name: "Sub32withcarry", argLength: 3},                    // arg0 - arg1 - arg2, arg2=carry (0 or 1)
    
    	{name: "Add64carry", argLength: 3, commutative: true, typ: "(UInt64,UInt64)"}, // arg0 + arg1 + arg2, arg2 must be 0 or 1. returns (value, value>>64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Div(64|32|16)u x y) => (Select0 (DIV(Q|L|W)U x y))
    (Div8u x y) => (Select0 (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y)))
    (Div(32|64)F ...) => (DIVS(S|D) ...)
    
    (Select0 (Add64carry x y c)) =>
    	(Select0 <typ.UInt64> (ADCQ x y (Select1 <types.TypeFlags> (NEGLflags c))))
    (Select1 (Add64carry x y c)) =>
    	(NEGQ <typ.UInt64> (SBBQcarrymask <typ.UInt64> (Select1 <types.TypeFlags> (ADCQ x y (Select1 <types.TypeFlags> (NEGLflags c))))))
    (Select0 (Sub64borrow x y c)) =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (UMODW <typ.UInt32> x y) => (MSUBW <typ.UInt32> x y (UDIVW <typ.UInt32> x y))
    
    // 64-bit addition with carry.
    (Select0 (Add64carry x y c)) => (Select0 <typ.UInt64> (ADCSflags x y (Select1 <types.TypeFlags> (ADDSconstflags [-1] c))))
    (Select1 (Add64carry x y c)) => (ADCzerocarry <typ.UInt64> (Select1 <types.TypeFlags> (ADCSflags x y (Select1 <types.TypeFlags> (ADDSconstflags [-1] c)))))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	for {
    		if v_0.Op != OpMul64uover {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpLOONG64MULV)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (Select0 <t> (Add64carry x y c))
    	// result: (ADDV (ADDV <t> x y) c)
    	for {
    		t := v.Type
    		if v_0.Op != OpAdd64carry {
    			break
    		}
    		c := v_0.Args[2]
    		x := v_0.Args[0]
    		y := v_0.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.reset(OpSelect1)
    		v.Type = typ.UInt64
    		v0 := b.NewValue0(v.Pos, OpMIPS64MULVU, types.NewTuple(typ.UInt64, typ.UInt64))
    		v0.AddArg2(x, y)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (Select0 <t> (Add64carry x y c))
    	// result: (ADDV (ADDV <t> x y) c)
    	for {
    		t := v.Type
    		if v_0.Op != OpAdd64carry {
    			break
    		}
    		c := v_0.Args[2]
    		x := v_0.Args[0]
    		y := v_0.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
Back to top