Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Magic32 (0.17 sec)

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

    // For 32-bit divides on 64-bit machines
    // We'll use a regular (non-hi) multiply for this case.
    (Div32u x (Const32 [c])) && umagicOK32(c) && config.RegSize == 8 && umagic32(c).m&1 == 0 =>
      (Trunc64to32
        (Rsh64Ux64 <typ.UInt64>
          (Mul64 <typ.UInt64>
            (Const64 <typ.UInt64> [int64(1<<31+umagic32(c).m/2)])
            (ZeroExt32to64 x))
          (Const64 <typ.UInt64> [32+umagic32(c).s-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)
Back to top