Home | History | Annotate | Download | only in armasm

Lines Matching defs:Shift

315 // A Shift describes an ARM shift operation.
316 type Shift uint8
319 ShiftLeft Shift = 0 // left shift
320 ShiftRight Shift = 1 // logical (unsigned) right shift
321 ShiftRightSigned Shift = 2 // arithmetic (signed) right shift
322 RotateRight Shift = 3 // right rotate
323 RotateRightExt Shift = 4 // right rotate through carry (Count will always be 1)
330 func (s Shift) String() string {
334 return fmt.Sprintf("Shift(%d)", int(s))
340 Shift Shift
347 return fmt.Sprintf("%s %s #%d", r.Reg, r.Shift, r.Count)
353 Shift Shift
360 return fmt.Sprintf("%s %s %s", r.Reg, r.Shift, r.RegCount)
388 // The index expression is X = Sign*(Index Shift Count) + Offset,
395 Shift Shift
411 if m.Shift != ShiftLeft || m.Count != 0 {
412 X += fmt.Sprintf(", %s #%d", m.Shift, m.Count)