Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for ginsnop (0.43 sec)

  1. src/cmd/compile/internal/loong64/galign.go

    	"cmd/internal/obj/loong64"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &loong64.Linkloong64
    	arch.REGSP = loong64.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    	arch.LoadRegResult = loadRegResult
    	arch.SpillArgReg = spillArgReg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:16 UTC 2023
    - 649 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/arm64/galign.go

    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &arm64.Linkarm64
    	arch.REGSP = arm64.REGSP
    	arch.MAXWIDTH = 1 << 50
    
    	arch.PadFrame = padframe
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    	arch.LoadRegResult = loadRegResult
    	arch.SpillArgReg = spillArgReg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 666 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/mips64/galign.go

    	if buildcfg.GOARCH == "mips64le" {
    		arch.LinkArch = &mips.Linkmips64le
    	}
    	arch.REGSP = mips.REGSP
    	arch.MAXWIDTH = 1 << 50
    	arch.SoftFloat = buildcfg.GOMIPS64 == "softfloat"
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = func(s *ssagen.State, b *ssa.Block) {}
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 718 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/x86/galign.go

    		base.Exit(1)
    	default:
    		fmt.Fprintf(os.Stderr, "unsupported setting GO386=%s\n", v)
    		base.Exit(1)
    
    	}
    
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = ssaMarkMoves
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 887 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/s390x/galign.go

    	"cmd/internal/obj/s390x"
    )
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &s390x.Links390x
    	arch.REGSP = s390x.REGSP
    	arch.MAXWIDTH = 1 << 50
    
    	arch.ZeroRange = zerorange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = ssaMarkMoves
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 518 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/arch.go

    	// ZeroRange zeroes a range of memory on stack. It is only inserted
    	// at function entry, and it is ok to clobber registers.
    	ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog
    
    	Ginsnop func(*objw.Progs) *obj.Prog
    
    	// SSAMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
    	SSAMarkMoves func(*State, *ssa.Block)
    
    	// SSAGenValue emits Prog(s) for the Value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/x86/ggen.go

    		p = pp.Append(p, x86.AREP, obj.TYPE_NONE, 0, 0, obj.TYPE_NONE, 0, 0)
    		p = pp.Append(p, x86.ASTOSL, obj.TYPE_NONE, 0, 0, obj.TYPE_NONE, 0, 0)
    	}
    
    	return p
    }
    
    func ginsnop(pp *objw.Progs) *obj.Prog {
    	// See comment in ../amd64/ggen.go.
    	p := pp.Prog(x86.AXCHGL)
    	p.From.Type = obj.TYPE_REG
    	p.From.Reg = x86.REG_AX
    	p.To.Type = obj.TYPE_REG
    	p.To.Reg = x86.REG_AX
    	return p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:47 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/s390x/ggen.go

    		default:
    			p = pp.Append(p, s390x.ACLEAR, obj.TYPE_CONST, 0, n, obj.TYPE_MEM, reg, off)
    		}
    
    		cnt -= n
    		off += n
    	}
    
    	return p
    }
    
    func ginsnop(pp *objw.Progs) *obj.Prog {
    	return pp.Prog(s390x.ANOPH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/wasm/ssa.go

       Global 2 is GP (goroutine pointer)
    */
    
    func Init(arch *ssagen.ArchInfo) {
    	arch.LinkArch = &wasm.Linkwasm
    	arch.REGSP = wasm.REG_SP
    	arch.MAXWIDTH = 1 << 50
    
    	arch.ZeroRange = zeroRange
    	arch.Ginsnop = ginsnop
    
    	arch.SSAMarkMoves = ssaMarkMoves
    	arch.SSAGenValue = ssaGenValue
    	arch.SSAGenBlock = ssaGenBlock
    }
    
    func zeroRange(pp *objw.Progs, p *obj.Prog, off, cnt int64, state *uint32) *obj.Prog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssagen/ssa.go

    					continue
    				}
    				if base.Ctxt.PosTable.Pos(p.Pos).Base().InliningIndex() >= 0 {
    					// Make a real (not 0-sized) nop.
    					nop := Arch.Ginsnop(s.pp)
    					nop.Pos = e.curfn.Pos().WithIsStmt()
    
    					// Unfortunately, Ginsnop puts the instruction at the
    					// end of the list. Move it up to just before p.
    
    					// Unlink from the current list.
    					for x := s.pp.Text; x != nil; x = x.Link {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top