Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for constBool (0.27 sec)

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

    (Trunc64to32 x) => (MOVWZreg x)
    
    // Lowering constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (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]))))
    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

    // Lowering constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F ...) => (FMOV(S|D)const ...)
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    // Lowering calls
    (StaticCall ...) => (CALLstatic ...)
    (ClosureCall ...) => (CALLclosure ...)
    (InterCall ...) => (CALLinter ...)
    (TailCall ...) => (CALLtail ...)
    
    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/rewriteAMD64.go

    	v_0 := v.Args[0]
    	// match: (SETAE (TESTQ x x))
    	// result: (ConstBool [true])
    	for {
    		if v_0.Op != OpAMD64TESTQ {
    			break
    		}
    		x := v_0.Args[1]
    		if x != v_0.Args[0] {
    			break
    		}
    		v.reset(OpConstBool)
    		v.AuxInt = boolToAuxInt(true)
    		return true
    	}
    	// match: (SETAE (TESTL x x))
    	// result: (ConstBool [true])
    	for {
    		if v_0.Op != OpAMD64TESTL {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F    [val]) => (FMOV(S|D)const [float64(val)])
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    (Slicemask <t> x) => (SRAconst (NEG <t> x) [63])
    
    // truncations
    // Because we ignore high parts of registers, truncates are just copies.
    (Trunc16to8  ...) => (Copy ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM.rules

    // constants
    (Const(8|16|32) [val]) => (MOVWconst [int32(val)])
    (Const(32|64)F [val]) => (MOV(F|D)const [float64(val)])
    (ConstNil) => (MOVWconst [0])
    (ConstBool [t]) => (MOVWconst [b2i32(t)])
    
    // truncations
    // Because we ignore high parts of registers, truncates are just copies.
    (Trunc16to8 ...) => (Copy ...)
    (Trunc32to8 ...) => (Copy ...)
    (Trunc32to16 ...) => (Copy ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConstBool(v *Value) bool {
    	// match: (ConstBool [t])
    	// result: (MOVVconst [int64(b2i(t))])
    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(t)))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueMIPS64_OpConstBool(v *Value) bool {
    	// match: (ConstBool [t])
    	// result: (MOVVconst [int64(b2i(t))])
    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(t)))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConstBool(v *Value) bool {
    	// match: (ConstBool [val])
    	// result: (MOVDconst [int64(b2i(val))])
    	for {
    		val := auxIntToBool(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(b2i(val)))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConstBool(v *Value) bool {
    	// match: (ConstBool [t])
    	// result: (MOVDconst [b2i(t)])
    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(t))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteS390X.go

    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueS390X_OpConstBool(v *Value) bool {
    	// match: (ConstBool [t])
    	// result: (MOVDconst [b2i(t)])
    	for {
    		t := auxIntToBool(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(t))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
Back to top