Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Int32Sym (0.08 sec)

  1. src/cmd/internal/obj/sym.go

    		s.Size = 8
    		s.WriteFloat64(ctxt, 0, f)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    		s.Set(AttrContentAddressable, true)
    		ctxt.constSyms = append(ctxt.constSyms, s)
    	})
    }
    
    func (ctxt *Link) Int32Sym(i int64) *LSym {
    	name := fmt.Sprintf("$i32.%08x", uint64(i))
    	return ctxt.LookupInit(name, func(s *LSym) {
    		s.Size = 4
    		s.WriteInt(ctxt, 0, 4, i)
    		s.Type = objabi.SRODATA
    		s.Set(AttrLocal, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/obj7.go

    		break
    	}
    
    	// Rewrite float and vector constants to values stored in memory.
    	switch p.As {
    	case AVMOVS:
    		if p.From.Type == obj.TYPE_CONST {
    			p.From.Type = obj.TYPE_MEM
    			p.From.Sym = c.ctxt.Int32Sym(p.From.Offset)
    			p.From.Name = obj.NAME_EXTERN
    			p.From.Offset = 0
    		}
    
    	case AVMOVD:
    		if p.From.Type == obj.TYPE_CONST {
    			p.From.Type = obj.TYPE_MEM
    			p.From.Sym = c.ctxt.Int64Sym(p.From.Offset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
Back to top