1 PPC integer shift algebraic two args:
2 sraw 0000000000000000, 0000000000000000 => 0000000000000000 (00000000 00000000)
3 sraw 0000000000000000, 0000001cbe991def => 0000000000000000 (00000000 00000000)
4 sraw 0000000000000000, ffffffffffffffff => 0000000000000000 (00000000 00000000)
5 sraw 0000001cbe991def, 0000000000000000 => ffffffffbe991def (00000000 00000000)
6 sraw 0000001cbe991def, 0000001cbe991def => ffffffffffffffff (00000000 20000000)
7 sraw 0000001cbe991def, ffffffffffffffff => ffffffffffffffff (00000000 20000000)
8 sraw ffffffffffffffff, 0000000000000000 => ffffffffffffffff (00000000 00000000)
9 sraw ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (00000000 20000000)
10 sraw ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (00000000 20000000)
12 srad 0000000000000000, 0000000000000000 => 0000000000000000 (00000000 00000000)
13 srad 0000000000000000, 0000001cbe991def => 0000000000000000 (00000000 00000000)
14 srad 0000000000000000, ffffffffffffffff => 0000000000000000 (00000000 00000000)
15 srad 0000001cbe991def, 0000000000000000 => 0000001cbe991def (00000000 00000000)
16 srad 0000001cbe991def, 0000001cbe991def => 0000000000000000 (00000000 00000000)
17 srad 0000001cbe991def, ffffffffffffffff => 0000000000000000 (00000000 00000000)
18 srad ffffffffffffffff, 0000000000000000 => ffffffffffffffff (00000000 00000000)
19 srad ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (00000000 20000000)
20 srad ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (00000000 20000000)
22 PPC integer shift algebraic two args with flags update:
23 sraw. 0000000000000000, 0000000000000000 => 0000000000000000 (20000000 00000000)
24 sraw. 0000000000000000, 0000001cbe991def => 0000000000000000 (20000000 00000000)
25 sraw. 0000000000000000, ffffffffffffffff => 0000000000000000 (20000000 00000000)
26 sraw. 0000001cbe991def, 0000000000000000 => ffffffffbe991def (80000000 00000000)
27 sraw. 0000001cbe991def, 0000001cbe991def => ffffffffffffffff (80000000 20000000)
28 sraw. 0000001cbe991def, ffffffffffffffff => ffffffffffffffff (80000000 20000000)
29 sraw. ffffffffffffffff, 0000000000000000 => ffffffffffffffff (80000000 00000000)
30 sraw. ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (80000000 20000000)
31 sraw. ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (80000000 20000000)
33 srad. 0000000000000000, 0000000000000000 => 0000000000000000 (20000000 00000000)
34 srad. 0000000000000000, 0000001cbe991def => 0000000000000000 (20000000 00000000)
35 srad. 0000000000000000, ffffffffffffffff => 0000000000000000 (20000000 00000000)
36 srad. 0000001cbe991def, 0000000000000000 => 0000001cbe991def (40000000 00000000)
37 srad. 0000001cbe991def, 0000001cbe991def => 0000000000000000 (20000000 00000000)
38 srad. 0000001cbe991def, ffffffffffffffff => 0000000000000000 (20000000 00000000)
39 srad. ffffffffffffffff, 0000000000000000 => ffffffffffffffff (80000000 00000000)
40 srad. ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (80000000 20000000)
41 srad. ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (80000000 20000000)
43 PPC shift algebraic with special forms:
44 srawi 0000000000000000, 0000000000000000 => 0000000000000000 (00000000 00000000)
45 srawi 0000000000000000, 0000001cbe991def => 0000000000000000 (00000000 00000000)
46 srawi 0000000000000000, ffffffffffffffff => 0000000000000000 (00000000 00000000)
47 srawi 0000001cbe991def, 0000000000000000 => ffffffffbe991def (00000000 00000000)
48 srawi 0000001cbe991def, 0000001cbe991def => ffffffffbe991def (00000000 00000000)
49 srawi 0000001cbe991def, ffffffffffffffff => ffffffffbe991def (00000000 00000000)
50 srawi ffffffffffffffff, 0000000000000000 => ffffffffffffffff (00000000 00000000)
51 srawi ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (00000000 00000000)
52 srawi ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (00000000 00000000)
54 sradi 0000000000000000, 0000000000000000 => 0000000000000000 (00000000 00000000)
55 sradi 0000000000000000, 0000001cbe991def => 0000000000000000 (00000000 00000000)
56 sradi 0000000000000000, ffffffffffffffff => 0000000000000000 (00000000 00000000)
57 sradi 0000001cbe991def, 0000000000000000 => 0000001cbe991def (00000000 00000000)
58 sradi 0000001cbe991def, 0000001cbe991def => 0000001cbe991def (00000000 00000000)
59 sradi 0000001cbe991def, ffffffffffffffff => 0000001cbe991def (00000000 00000000)
60 sradi ffffffffffffffff, 0000000000000000 => ffffffffffffffff (00000000 00000000)
61 sradi ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (00000000 00000000)
62 sradi ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (00000000 00000000)
64 PPC shift algebraic with special forms with flags update:
65 srawi. 0000000000000000, 0000000000000000 => 0000000000000000 (20000000 00000000)
66 srawi. 0000000000000000, 0000001cbe991def => 0000000000000000 (20000000 00000000)
67 srawi. 0000000000000000, ffffffffffffffff => 0000000000000000 (20000000 00000000)
68 srawi. 0000001cbe991def, 0000000000000000 => ffffffffbe991def (80000000 00000000)
69 srawi. 0000001cbe991def, 0000001cbe991def => ffffffffbe991def (80000000 00000000)
70 srawi. 0000001cbe991def, ffffffffffffffff => ffffffffbe991def (80000000 00000000)
71 srawi. ffffffffffffffff, 0000000000000000 => ffffffffffffffff (80000000 00000000)
72 srawi. ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (80000000 00000000)
73 srawi. ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (80000000 00000000)
75 sradi. 0000000000000000, 0000000000000000 => 0000000000000000 (20000000 00000000)
76 sradi. 0000000000000000, 0000001cbe991def => 0000000000000000 (20000000 00000000)
77 sradi. 0000000000000000, ffffffffffffffff => 0000000000000000 (20000000 00000000)
78 sradi. 0000001cbe991def, 0000000000000000 => 0000001cbe991def (40000000 00000000)
79 sradi. 0000001cbe991def, 0000001cbe991def => 0000001cbe991def (40000000 00000000)
80 sradi. 0000001cbe991def, ffffffffffffffff => 0000001cbe991def (40000000 00000000)
81 sradi. ffffffffffffffff, 0000000000000000 => ffffffffffffffff (80000000 00000000)
82 sradi. ffffffffffffffff, 0000001cbe991def => ffffffffffffffff (80000000 00000000)
83 sradi. ffffffffffffffff, ffffffffffffffff => ffffffffffffffff (80000000 00000000)
85 All done. Tested 8 different instructions