- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for RotateParams (0.3 sec)
-
src/cmd/internal/obj/s390x/rotate_test.go
tests := []struct { // inputs src RotateParams mask uint64 // results in *RotateParams out *RotateParams }{ { src: RotateParams{Start: 48, End: 15, Amount: 16}, mask: 0xffffffffffffffff, in: &RotateParams{Start: 48, End: 15, Amount: 16}, out: &RotateParams{Start: 48, End: 15, Amount: 16}, }, { src: RotateParams{Start: 16, End: 47, Amount: 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 17:17:59 UTC 2020 - 3.6K bytes - Viewed (0) -
src/cmd/internal/obj/s390x/rotate.go
// increased by the given value. The selected bits are left unchanged. func (r RotateParams) RotateLeft(amount uint8) RotateParams { r.Amount += amount r.Amount &= 63 return r } // OutMask provides a mask representing the selected bits. func (r RotateParams) OutMask() uint64 { // Note: z must be unsigned for bootstrap compiler z := uint8(63-r.End+r.Start) & 63 // number of zero bits in mask
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 21 19:19:04 UTC 2020 - 3.6K bytes - Viewed (0) -
src/cmd/compile/internal/s390x/ssa.go
} p := opregreg(s, v.Op.Asm(), r, r2) if r != r1 { p.Reg = r1 } case ssa.OpS390XRXSBG: r2 := v.Args[1].Reg() i := v.Aux.(s390x.RotateParams) p := s.Prog(v.Op.Asm()) p.From = obj.Addr{Type: obj.TYPE_CONST, Offset: int64(i.Start)} p.AddRestSourceArgs([]obj.Addr{ {Type: obj.TYPE_CONST, Offset: int64(i.End)},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 24 01:26:58 UTC 2023 - 27.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/check.go
if _, ok := v.Aux.(s390x.CCMask); !ok { f.Fatalf("bad type %T for S390XCCMask in %v", v.Aux, v) } canHaveAux = true case auxS390XRotateParams: if _, ok := v.Aux.(s390x.RotateParams); !ok { f.Fatalf("bad type %T for S390XRotateParams in %v", v.Aux, v) } canHaveAux = true case auxFlagConstant: if v.AuxInt < 0 || v.AuxInt > 15 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
return "Sym" case "Typ": return "*types.Type" case "TypSize": return "*types.Type" case "S390XCCMask": return "s390x.CCMask" case "S390XRotateParams": return "s390x.RotateParams" default: return "invalid" } } // auxIntType returns the Go type that this operation should store in its auxInt field. func (op opData) auxIntType() string { switch op.aux {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
} func auxToCall(i Aux) *AuxCall { return i.(*AuxCall) } func auxToS390xCCMask(i Aux) s390x.CCMask { return i.(s390x.CCMask) } func auxToS390xRotateParams(i Aux) s390x.RotateParams { return i.(s390x.RotateParams) } func StringToAux(s string) Aux { return stringAux(s) } func symToAux(s Sym) Aux { return s } func callToAux(s *AuxCall) Aux { return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/S390XOps.go
{name: "RLLconst", argLength: 1, reg: gp11, asm: "RLL", aux: "UInt8"}, // arg0 rotate left auxint, rotate amount 0-31 // Rotate then (and|or|xor|insert) selected bits instructions. // // Aux is an s390x.RotateParams struct containing Start, End and rotation // Amount fields. // // arg1 is rotated left by the rotation amount then the bits from the start // bit to the end bit (inclusive) are combined with arg0 using the logical
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 00:21:13 UTC 2023 - 52.5K bytes - Viewed (0)