...

Source file src/pkg/cmd/compile/internal/s390x/galign.go

     1	// Copyright 2016 The Go Authors. All rights reserved.
     2	// Use of this source code is governed by a BSD-style
     3	// license that can be found in the LICENSE file.
     4	
     5	package s390x
     6	
     7	import (
     8		"cmd/compile/internal/gc"
     9		"cmd/internal/obj/s390x"
    10	)
    11	
    12	func Init(arch *gc.Arch) {
    13		arch.LinkArch = &s390x.Links390x
    14		arch.REGSP = s390x.REGSP
    15		arch.MAXWIDTH = 1 << 50
    16	
    17		arch.ZeroRange = zerorange
    18		arch.ZeroAuto = zeroAuto
    19		arch.Ginsnop = ginsnop
    20		arch.Ginsnopdefer = ginsnop
    21	
    22		arch.SSAMarkMoves = ssaMarkMoves
    23		arch.SSAGenValue = ssaGenValue
    24		arch.SSAGenBlock = ssaGenBlock
    25	}
    26	

View as plain text