- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RegisterOpSuffix (0.24 sec)
-
src/cmd/internal/obj/riscv/list.go
package riscv import ( "fmt" "cmd/internal/obj" ) func init() { obj.RegisterRegister(obj.RBaseRISCV, REG_END, RegName) obj.RegisterOpcode(obj.ABaseRISCV, Anames) obj.RegisterOpSuffix("riscv64", opSuffixString) } func RegName(r int) string { switch { case r == 0: return "NONE" case r == REG_G: return "g" case r == REG_SP: return "SP"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 14:34:57 UTC 2024 - 959 bytes - Viewed (0) -
src/cmd/internal/obj/x86/list6.go
func init() { obj.RegisterRegister(REG_AL, REG_AL+len(Register), rconv) obj.RegisterOpcode(obj.ABaseAMD64, Anames) obj.RegisterRegisterList(obj.RegListX86Lo, obj.RegListX86Hi, rlconv) obj.RegisterOpSuffix("386", opSuffixString) obj.RegisterOpSuffix("amd64", opSuffixString) } func rconv(r int) string { if REG_AL <= r && r-REG_AL < len(Register) { return Register[r-REG_AL] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 04 07:25:06 UTC 2020 - 4.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm/list5.go
"fmt" ) func init() { obj.RegisterRegister(obj.RBaseARM, MAXREG, rconv) obj.RegisterOpcode(obj.ABaseARM, Anames) obj.RegisterRegisterList(obj.RegListARMLo, obj.RegListARMHi, rlconv) obj.RegisterOpSuffix("arm", obj.CConvARM) } func rconv(r int) string { if r == 0 { return "NONE" } if r == REGG { // Special case. return "g" } if REG_R0 <= r && r <= REG_R15 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 04 07:25:06 UTC 2020 - 3.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/list7.go
"NV", } func init() { obj.RegisterRegister(obj.RBaseARM64, REG_SPECIAL+1024, rconv) obj.RegisterOpcode(obj.ABaseARM64, Anames) obj.RegisterRegisterList(obj.RegListARM64Lo, obj.RegListARM64Hi, rlconv) obj.RegisterOpSuffix("arm64", obj.CConvARM) obj.RegisterSpecialOperands(int64(SPOP_BEGIN), int64(SPOP_END), SPCconv) } func arrange(a int) string { switch a { case ARNG_8B: return "B8" case ARNG_16B: return "B16"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 17:56:30 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
type opSuffixSet struct { arch string cconv func(suffix uint8) string } var opSuffixSpace []opSuffixSet // RegisterOpSuffix assigns cconv function for formatting opcode suffixes // when compiling for GOARCH=arch. // // cconv is never called with 0 argument. func RegisterOpSuffix(arch string, cconv func(uint8) string) { opSuffixSpace = append(opSuffixSpace, opSuffixSet{ arch: arch, cconv: cconv, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0)