Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for signExtNto64 (0.21 sec)

  1. test/prove.go

    	}
    	return x
    }
    
    // The 4 xxxxExtNto64 functions below test whether prove is looking
    // through value-preserving sign/zero extensions of index values (issue #26292).
    
    // Look through all extensions
    func signExtNto64(x []int, j8 int8, j16 int16, j32 int32) int {
    	if len(x) < 22 {
    		return 0
    	}
    	if j8 >= 0 && j8 < 22 {
    		return x[j8] // ERROR "Proved IsInBounds$"
    	}
    	if j16 >= 0 && j16 < 22 {
    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

    (Div64 [false] x y) => (I64DivS x y)
    (Div32 [false] x y) => (I64DivS (SignExt32to64 x) (SignExt32to64 y))
    (Div16 [false] x y) => (I64DivS (SignExt16to64 x) (SignExt16to64 y))
    (Div8          x y) => (I64DivS (SignExt8to64 x) (SignExt8to64 y))
    (Div64u ...) => (I64DivU ...)
    (Div32u x y) => (I64DivU (ZeroExt32to64 x) (ZeroExt32to64 y))
    (Div16u x y) => (I64DivU (ZeroExt16to64 x) (ZeroExt16to64 y))
    (Div8u  x y) => (I64DivU (ZeroExt8to64 x) (ZeroExt8to64 y))
    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/_gen/LOONG64.rules

    (Rsh8x64 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU y (MOVVconst <typ.UInt64> [63]))) y))
    (Rsh8x32 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU (ZeroExt32to64 y) (MOVVconst <typ.UInt64> [63]))) (ZeroExt32to64 y)))
    (Rsh8x16 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU (ZeroExt16to64 y) (MOVVconst <typ.UInt64> [63]))) (ZeroExt16to64 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/_gen/MIPS64.rules

    (Rsh8x64 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU y (MOVVconst <typ.UInt64> [63]))) y))
    (Rsh8x32 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU (ZeroExt32to64 y) (MOVVconst <typ.UInt64> [63]))) (ZeroExt32to64 y)))
    (Rsh8x16 <t> x y) => (SRAV (SignExt8to64 x) (OR <t> (NEGV <t> (SGTU (ZeroExt16to64 y) (MOVVconst <typ.UInt64> [63]))) (ZeroExt16to64 y)))
    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/RISCV64.rules

    (Rsh8x8   <t> x y) && !shiftIsBounded(v) => (SRA  <t> (SignExt8to64  x) (OR <y.Type> y (ADDI <y.Type> [-1] (SLTIU <y.Type> [64] (ZeroExt8to64  y)))))
    (Rsh8x16  <t> x y) && !shiftIsBounded(v) => (SRA  <t> (SignExt8to64  x) (OR <y.Type> y (ADDI <y.Type> [-1] (SLTIU <y.Type> [64] (ZeroExt16to64 y)))))
    (Rsh8x32  <t> x y) && !shiftIsBounded(v) => (SRA  <t> (SignExt8to64  x) (OR <y.Type> y (ADDI <y.Type> [-1] (SLTIU <y.Type> [64] (ZeroExt32to64 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)
  6. src/cmd/compile/internal/ssa/_gen/dec64.rules

    (Bswap64 x) =>
    	(Int64Make
    		(Bswap32 <typ.UInt32> (Int64Lo x))
    		(Bswap32 <typ.UInt32> (Int64Hi x)))
    
    (SignExt32to64 x) => (Int64Make (Signmask x) x)
    (SignExt16to64 x) => (SignExt32to64 (SignExt16to32 x))
    (SignExt8to64 x) => (SignExt32to64 (SignExt8to32 x))
    
    (ZeroExt32to64 x) => (Int64Make (Const32 <typ.UInt32> [0]) x)
    (ZeroExt16to64 x) => (ZeroExt32to64 (ZeroExt16to32 x))
    (ZeroExt8to64 x) => (ZeroExt32to64 (ZeroExt8to32 x))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Conversions: signed extensions, zero (unsigned) extensions, truncations
    	{name: "SignExt8to16", argLength: 1, typ: "Int16"},
    	{name: "SignExt8to32", argLength: 1, typ: "Int32"},
    	{name: "SignExt8to64", argLength: 1, typ: "Int64"},
    	{name: "SignExt16to32", argLength: 1, typ: "Int32"},
    	{name: "SignExt16to64", argLength: 1, typ: "Int64"},
    	{name: "SignExt32to64", argLength: 1, typ: "Int64"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top