Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for shiftIsBounded (0.11 sec)

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

    (Lsh16x8  <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] (ZeroExt8to64  y))))
    (Lsh16x16 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] (ZeroExt16to64 y))))
    (Lsh16x32 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] (ZeroExt32to64 y))))
    (Lsh16x64 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] 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)
  2. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (CvtBoolToUint8 ...) => (Copy ...)
    
    (Round32F ...) => (Copy ...)
    (Round64F ...) => (Copy ...)
    
    // Lowering shifts
    // Unsigned shifts need to return 0 if shift amount is >= width of shifted value.
    
    (Lsh64x64 x y) && shiftIsBounded(v) => (I64Shl x y)
    (Lsh64x64 x (I64Const [c])) && uint64(c) < 64 => (I64Shl x (I64Const [c]))
    (Lsh64x64 x (I64Const [c])) && uint64(c) >= 64 => (I64Const [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top