Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ArchWasm (0.14 sec)

  1. src/cmd/link/internal/wasm/obj.go

    		Funcalign: 16,
    		Maxalign:  32,
    		Minalign:  1,
    
    		Archinit:      archinit,
    		AssignAddress: assignAddress,
    		Asmb:          asmb,
    		Asmb2:         asmb2,
    		Gentext:       gentext,
    	}
    
    	return sys.ArchWasm, theArch
    }
    
    func archinit(ctxt *ld.Link) {
    	if *ld.FlagRound == -1 {
    		*ld.FlagRound = 4096
    	}
    	if *ld.FlagTextAddr == -1 {
    		*ld.FlagTextAddr = 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 18 15:14:38 UTC 2020
    - 646 bytes
    - Viewed (0)
  2. src/cmd/internal/sys/arch.go

    	ByteOrder:      binary.BigEndian,
    	PtrSize:        8,
    	RegSize:        8,
    	MinLC:          2,
    	Alignment:      1,
    	CanMergeLoads:  true,
    	HasLR:          true,
    	FixedFrameSize: 8, // LR
    }
    
    var ArchWasm = &Arch{
    	Name:           "wasm",
    	Family:         Wasm,
    	ByteOrder:      binary.LittleEndian,
    	PtrSize:        8,
    	RegSize:        8,
    	MinLC:          1,
    	Alignment:      1,
    	CanMergeLoads:  false,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arch.go

    		return archPPC64(&ppc64.Linkppc64)
    	case "ppc64le":
    		return archPPC64(&ppc64.Linkppc64le)
    	case "riscv64":
    		return archRISCV64(shared)
    	case "s390x":
    		return archS390x()
    	case "wasm":
    		return archWasm()
    	}
    	return nil
    }
    
    func jumpX86(word string) bool {
    	return word[0] == 'J' || word == "CALL" || strings.HasPrefix(word, "LOOP") || word == "XBEGIN"
    }
    
    func jumpRISCV(word string) bool {
    	switch word {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 06:51:28 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/regalloc.go

    			// we've seen so far. A new best spill candidate.
    			r = t
    			maxuse = n
    		}
    	}
    	if maxuse == -1 {
    		s.f.Fatalf("couldn't find register to spill")
    	}
    
    	if s.f.Config.ctxt.Arch.Arch == sys.ArchWasm {
    		// TODO(neelance): In theory this should never happen, because all wasm registers are equal.
    		// So if there is still a free register, the allocation should have picked that one in the first place instead of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/wasm/wasmobj.go

    	AI32Store8:    true,
    	AI32Store16:   true,
    	AI64Store8:    true,
    	AI64Store16:   true,
    	AI64Store32:   true,
    	ACALLNORESUME: true,
    }
    
    var Linkwasm = obj.LinkArch{
    	Arch:       sys.ArchWasm,
    	Init:       instinit,
    	Preprocess: preprocess,
    	Assemble:   assemble,
    	UnaryDst:   unaryDst,
    }
    
    var (
    	morestack       *obj.LSym
    	morestackNoCtxt *obj.LSym
    	sigpanic        *obj.LSym
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top