Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Less8U (0.27 sec)

  1. test/prove.go

    // These comparisons are compile time constants.
    func f6a(a uint8) int {
    	if a < a { // ERROR "Disproved Less8U$"
    		return 140
    	}
    	return 151
    }
    
    func f6b(a uint8) int {
    	if a < a { // ERROR "Disproved Less8U$"
    		return 140
    	}
    	return 151
    }
    
    func f6x(a uint8) int {
    	if a > a { // ERROR "Disproved Less8U$"
    		return 143
    	}
    	return 151
    }
    
    func f6d(a uint8) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (Less32  x y) => (I64LtS (SignExt32to64 x) (SignExt32to64 y))
    (Less16  x y) => (I64LtS (SignExt16to64 x) (SignExt16to64 y))
    (Less8   x y) => (I64LtS (SignExt8to64  x) (SignExt8to64  y))
    (Less64U ...) => (I64LtU ...)
    (Less32U x y) => (I64LtU (ZeroExt32to64 x) (ZeroExt32to64 y))
    (Less16U x y) => (I64LtU (ZeroExt16to64 x) (ZeroExt16to64 y))
    (Less8U  x y) => (I64LtU (ZeroExt8to64  x) (ZeroExt8to64  y))
    (Less(64|32)F ...) => (F(64|32)Lt ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    			v2.AuxInt = int16ToAuxInt(d - c - 1)
    			v.AddArg2(v0, v2)
    			return true
    		}
    		break
    	}
    	// match: (AndB (Less8U (Const8 [c]) x) (Less8U x (Const8 [d])))
    	// cond: uint8(d) >= uint8(c+1) && uint8(c+1) > uint8(c)
    	// result: (Less8U (Sub8 <x.Type> x (Const8 <x.Type> [c+1])) (Const8 <x.Type> [d-c-1]))
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpLess8U {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (Neq(32|64)F x y) => (FPFlagFalse (CMPEQ(F|D) x y))
    
    (Less8 x y)  => (SGT (SignExt8to64 y) (SignExt8to64 x))
    (Less16 x y) => (SGT (SignExt16to64 y) (SignExt16to64 x))
    (Less32 x y) => (SGT (SignExt32to64 y) (SignExt32to64 x))
    (Less64 x y) => (SGT y x)
    (Less(32|64)F x y) => (FPFlagTrue (CMPGT(F|D) y x)) // reverse operands to work around NaN
    
    (Less8U x y)  => (SGTU (ZeroExt8to64 y) (ZeroExt8to64 x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Less32  x y) => (SLT  (SignExt32to64 x) (SignExt32to64 y))
    (Less16  x y) => (SLT  (SignExt16to64 x) (SignExt16to64 y))
    (Less8   x y) => (SLT  (SignExt8to64  x) (SignExt8to64  y))
    (Less64U ...) => (SLTU ...)
    (Less32U x y) => (SLTU (ZeroExt32to64 x) (ZeroExt32to64 y))
    (Less16U x y) => (SLTU (ZeroExt16to64 x) (ZeroExt16to64 y))
    (Less8U  x y) => (SLTU (ZeroExt8to64  x) (ZeroExt8to64  y))
    (Less(64|32)F ...) => (FLT(D|S) ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Less8  x (Const8  <t> [math.MinInt8 +1])) => (Eq8  x (Const8  <t> [math.MinInt8 ]))
    (Less64 (Const64 <t> [math.MaxInt64-1]) x) => (Eq64 x (Const64 <t> [math.MaxInt64]))
    (Less32 (Const32 <t> [math.MaxInt32-1]) x) => (Eq32 x (Const32 <t> [math.MaxInt32]))
    (Less16 (Const16 <t> [math.MaxInt16-1]) x) => (Eq16 x (Const16 <t> [math.MaxInt16]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    (NeqPtr x y) => (SGTU (XOR x y) (MOVWconst [0]))
    (Neq(32|64)F x y) => (FPFlagFalse (CMPEQ(F|D) x y))
    
    (Less8 x y)  => (SGT (SignExt8to32 y) (SignExt8to32 x))
    (Less16 x y) => (SGT (SignExt16to32 y) (SignExt16to32 x))
    (Less32 x y) => (SGT y x)
    (Less(32|64)F x y) => (FPFlagTrue (CMPGT(F|D) y x)) // reverse operands to work around NaN
    
    (Less8U x y)  => (SGTU (ZeroExt8to32 y) (ZeroExt8to32 x))
    (Less16U x y) => (SGTU (ZeroExt16to32 y) (ZeroExt16to32 x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (Neq(32|64)F x y) => (FPFlagFalse (CMPEQ(F|D) x y))
    
    (Less8 x y)  => (SGT (SignExt8to64 y) (SignExt8to64 x))
    (Less16 x y) => (SGT (SignExt16to64 y) (SignExt16to64 x))
    (Less32 x y) => (SGT (SignExt32to64 y) (SignExt32to64 x))
    (Less64 x y) => (SGT y x)
    (Less(32|64)F x y) => (FPFlagTrue (CMPGT(F|D) y x)) // reverse operands to work around NaN
    
    (Less8U x y)  => (SGTU (ZeroExt8to64 y) (ZeroExt8to64 x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Neq32F", argLength: 2, commutative: true, typ: "Bool"},
    	{name: "Neq64F", argLength: 2, commutative: true, typ: "Bool"},
    
    	{name: "Less8", argLength: 2, typ: "Bool"},  // arg0 < arg1, signed
    	{name: "Less8U", argLength: 2, typ: "Bool"}, // arg0 < arg1, unsigned
    	{name: "Less16", argLength: 2, typ: "Bool"},
    	{name: "Less16U", argLength: 2, typ: "Bool"},
    	{name: "Less32", argLength: 2, typ: "Bool"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Leq(8U|16U|32U|64U)  x zero:(MOVDconst [0])) => (Eq(8|16|32|64)  x zero)
    (Less(8U|16U|32U|64U) x (MOVDconst [1])) => (Eq(8|16|32|64)  x (MOVDconst [0]))
    (Leq(8U|16U|32U|64U)  (MOVDconst [1]) x) => (Neq(8|16|32|64) (MOVDconst [0]) x)
    
    (Less8U  x y) => (LessThanU (CMPW (ZeroExt8to32  x) (ZeroExt8to32  y)))
    (Less16U x y) => (LessThanU (CMPW (ZeroExt16to32 x) (ZeroExt16to32 y)))
    (Less32U x y) => (LessThanU (CMPW x y))
    (Less64U x y) => (LessThanU (CMP x y))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
Back to top