- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for SpReg (0.04 sec)
-
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go
return fmt.Sprintf("Cond%d%s", int((c-Cond0LT)/4), [4]string{"LT", "GT", "EQ", "SO"}[(c-Cond0LT)%4]) } } // SpReg is a special register, its meaning depends on Op. type SpReg uint16 const ( SpRegZero SpReg = 0 ) func (SpReg) IsArg() {} func (s SpReg) String() string { return fmt.Sprintf("SpReg(%d)", int(s)) } // PCRel is a PC-relative offset, used only in branch instructions. type PCRel int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 03 01:35:44 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go
case TypeVecSReg: return VS0 + Reg(a.BitFields.Parse(i)) case TypeVecSpReg: return VS0 + Reg(a.BitFields.Parse(i))*2 case TypeMMAReg: return A0 + Reg(a.BitFields.Parse(i)) case TypeSpReg: return SpReg(a.BitFields.Parse(i)) case TypeImmSigned: return Imm(a.BitFields.ParseSigned(i) << a.Shift) case TypeImmUnsigned: return Imm(a.BitFields.Parse(i) << a.Shift) case TypePCRel:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go
buf.WriteString(str) startArg = 3 } } case "mtspr": opcode := inst.Op.String() buf.WriteString(opcode[0:2]) switch spr := inst.Args[0].(type) { case SpReg: switch spr { case 1: buf.WriteString("xer") startArg = 1 case 8: buf.WriteString("lr") startArg = 1 case 9: buf.WriteString("ctr") startArg = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 12.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go
} else if arg > Cond0SO && arg <= Cond7SO { return fmt.Sprintf("CR%d%s", int(arg-Cond0LT)/4, bit) } else { return fmt.Sprintf("CR%d", int(arg-CR0)) } case Imm: return fmt.Sprintf("$%d", arg) case SpReg: switch arg { case 8: return "LR" case 9: return "CTR" } return fmt.Sprintf("SPR(%d)", int(arg)) case PCRel: addr := pc + uint64(int64(arg)) s, base := symname(addr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 10.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm.s
TEXT foo(SB), DUPOK|NOSPLIT, $0 // ADD // // LTYPE1 cond imsr ',' spreg ',' reg // { // outcode($1, $2, &$3, $5, &$7); // } // Cover some operand space here too. ADD $1, R2, R3 ADD R1<<R2, R3, R4 ADD R1>>R2, R3, R4 ADD R1@>R2, R3, R4 ADD R1->R2, R3, R4 ADD R1, R2, R3 ADD R(1)<<R(2), R(3), R(4) // ADD R1<<R2, R3, R4 // LTYPE1 cond imsr ',' spreg ',' // asm doesn't support trailing comma. // {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 20:51:01 UTC 2023 - 69K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
} // Locate SP, SB, and g registers. s.SPReg = noRegister s.SBReg = noRegister s.GReg = noRegister for r := register(0); r < s.numRegs; r++ { switch s.registers[r].String() { case "SP": s.SPReg = r case "SB": s.SBReg = r case "g": s.GReg = r } } // Make sure we found all required registers. switch noRegister { case s.SPReg: s.f.Fatalf("no SP register found")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} else if gomips64 == "softfloat" { return []string{"-mabi=64", "-msoft-float"} } case "mips", "mipsle": if gomips == "hardfloat" { return []string{"-mabi=32", "-mfp32", "-mhard-float", "-mno-odd-spreg"} } else if gomips == "softfloat" { return []string{"-mabi=32", "-msoft-float"} } case "loong64": return []string{"-mabi=lp64d"} } return nil } func gccTmp() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
return append(args, "-msoft-float") } case "mips", "mipsle": args := []string{"-mabi=32", "-march=mips32"} if cfg.GOMIPS == "hardfloat" { return append(args, "-mhard-float", "-mfp32", "-mno-odd-spreg") } else if cfg.GOMIPS == "softfloat" { return append(args, "-msoft-float") } case "loong64": return []string{"-mabi=lp64d"} case "ppc64": if cfg.Goos == "aix" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0)