github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/internal/obj/x86/evex.go (about)

     1  // Copyright 2018 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 x86
     6  
     7  import (
     8  	"github.com/shogo82148/std/cmd/internal/obj"
     9  )
    10  
    11  // EncodeRegisterRange packs [reg0-reg1] list into 64-bit value that
    12  // is intended to be stored inside obj.Addr.Offset with TYPE_REGLIST.
    13  func EncodeRegisterRange(reg0, reg1 int16) int64
    14  
    15  // ParseSuffix handles the special suffix for the 386/AMD64.
    16  // Suffix bits are stored into p.Scond.
    17  //
    18  // Leading "." in cond is ignored.
    19  func ParseSuffix(p *obj.Prog, cond string) error