Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for constNil (0.14 sec)

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

    (ConstSlice) && config.PtrSize == 4 =>
      (SliceMake
        (ConstNil <v.Type.Elem().PtrTo()>)
        (Const32 <typ.Int> [0])
        (Const32 <typ.Int> [0]))
    (ConstSlice) && config.PtrSize == 8 =>
      (SliceMake
        (ConstNil <v.Type.Elem().PtrTo()>)
        (Const64 <typ.Int> [0])
        (Const64 <typ.Int> [0]))
    
    // interface ops
    (ConstInterface) =>
      (IMake
        (ConstNil <typ.Uintptr>)
        (ConstNil <typ.BytePtr>))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // constants
    (Const(64|32|16|8) [val]) => (MOVDconst [int64(val)])
    (Const(32|64)F    [val]) => (FMOV(S|D)const [float64(val)])
    (ConstNil) => (MOVDconst [0])
    (ConstBool [t]) => (MOVDconst [b2i(t)])
    
    (Slicemask <t> x) => (SRAconst (NEG <t> x) [63])
    
    // truncations
    // Because we ignore high parts of registers, truncates are just copies.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
Back to top