Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for put$index (0.35 sec)

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

    (OffPtr p [0]) && v.Type.Compare(p.Type) == types.CMPeq => p
    
    // indexing operations
    // Note: bounds check has already been done
    (PtrIndex <t> ptr idx) && config.PtrSize == 4 && is32Bit(t.Elem().Size()) => (AddPtr ptr (Mul32 <typ.Int> idx (Const32 <typ.Int> [int32(t.Elem().Size())])))
    (PtrIndex <t> ptr idx) && config.PtrSize == 8 => (AddPtr ptr (Mul64 <typ.Int> idx (Const64 <typ.Int> [t.Elem().Size()])))
    
    // struct operations
    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