Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Less64U$ (0.33 sec)

  1. test/prove.go

    func lim1(x, y, z int) {
    	// Test relations between signed and unsigned limits.
    	if x > 5 {
    		if uint(x) > 5 { // ERROR "Proved Less64U$"
    			return
    		}
    	}
    	if y >= 0 && y < 4 {
    		if uint(y) > 4 { // ERROR "Disproved Less64U$"
    			return
    		}
    		if uint(y) < 5 { // ERROR "Proved Less64U$"
    			return
    		}
    	}
    	if z < 4 {
    		if uint(z) > 4 { // Not provable without disjunctions.
    			return
    		}
    	}
    }
    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/RISCV64.rules

    (Less64  ...) => (SLT  ...)
    (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))
    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/LOONG64.rules

    (Less8U x y)  => (SGTU (ZeroExt8to64 y) (ZeroExt8to64 x))
    (Less16U x y) => (SGTU (ZeroExt16to64 y) (ZeroExt16to64 x))
    (Less32U x y) => (SGTU (ZeroExt32to64 y) (ZeroExt32to64 x))
    (Less64U x y) => (SGTU y x)
    
    (Leq8 x y)  => (XOR (MOVVconst [1]) (SGT (SignExt8to64 x) (SignExt8to64 y)))
    (Leq16 x y) => (XOR (MOVVconst [1]) (SGT (SignExt16to64 x) (SignExt16to64 y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritegeneric.go

    			v2.AuxInt = int8ToAuxInt(d - c)
    			v.AddArg2(v0, v2)
    			return true
    		}
    		break
    	}
    	// match: (AndB (Less64U (Const64 [c]) x) (Less64U x (Const64 [d])))
    	// cond: uint64(d) >= uint64(c+1) && uint64(c+1) > uint64(c)
    	// result: (Less64U (Sub64 <x.Type> x (Const64 <x.Type> [c+1])) (Const64 <x.Type> [d-c-1]))
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    // unsigned integer range: ( c < x && x (<|<=) d ) -> ( x-(c+1) (<|<=) d-(c+1) )
    (AndB (Less64U (Const64 [c]) x) ((Less|Leq)64U x (Const64 [d]))) && uint64(d) >= uint64(c+1) && uint64(c+1) > uint64(c) => ((Less|Leq)64U (Sub64 <x.Type> x (Const64 <x.Type> [c+1])) (Const64 <x.Type> [d-c-1]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Less16U", argLength: 2, typ: "Bool"},
    	{name: "Less32", argLength: 2, typ: "Bool"},
    	{name: "Less32U", argLength: 2, typ: "Bool"},
    	{name: "Less64", argLength: 2, typ: "Bool"},
    	{name: "Less64U", argLength: 2, typ: "Bool"},
    	{name: "Less32F", argLength: 2, typ: "Bool"},
    	{name: "Less64F", argLength: 2, typ: "Bool"},
    
    	{name: "Leq8", argLength: 2, typ: "Bool"},  // arg0 <= arg1, signed
    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/S390X.rules

    (Less32      x y) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPW x y))
    (Less(16|8)  x y) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPW (MOV(H|B)reg x) (MOV(H|B)reg y)))
    (Less64U     x y) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPU x y))
    (Less32U     x y) => (LOCGR {s390x.Less} (MOVDconst [0]) (MOVDconst [1]) (CMPWU x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (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))
    
    (Leq8  x y) => (LessEqual (CMPW (SignExt8to32  x) (SignExt8to32  y)))
    (Leq16 x y) => (LessEqual (CMPW (SignExt16to32 x) (SignExt16to32 y)))
    (Leq32 x y) => (LessEqual (CMPW 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)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v0.AddArg2(y, x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpLess64U(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (Less64U x y)
    	// result: (SGTU y x)
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpLOONG64SGTU)
    		v.AddArg2(y, x)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpLess8(v *Value) bool {
    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/rewriteARM64.go

    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Less64U zero:(MOVDconst [0]) x)
    	// result: (Neq64 zero x)
    	for {
    		zero := v_0
    		if zero.Op != OpARM64MOVDconst || auxIntToInt64(zero.AuxInt) != 0 {
    			break
    		}
    		x := v_1
    		v.reset(OpNeq64)
    		v.AddArg2(zero, x)
    		return true
    	}
    	// match: (Less64U x (MOVDconst [1]))
    	// result: (Eq64 x (MOVDconst [0]))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
Back to top