1 PPC
integer shift algebraic two
args:
2 sraw
00000000, 00000000 => 00000000 (00000000 00000000)
3 sraw
00000000, 000f423f
=> 00000000 (00000000 00000000)
4 sraw
00000000, ffffffff
=> 00000000 (00000000 00000000)
5 sraw
000f423f
, 00000000 => 000f423f
(00000000 00000000)
6 sraw
000f423f
, 000f423f
=> 00000000 (00000000 00000000)
7 sraw
000f423f
, ffffffff
=> 00000000 (00000000 00000000)
8 sraw ffffffff
, 00000000 => ffffffff
(00000000 00000000)
9 sraw ffffffff
, 000f423f
=> ffffffff
(00000000 20000000)
10 sraw ffffffff
, ffffffff
=> ffffffff
(00000000 20000000)
12 PPC
integer shift algebraic two
args with flags
update:
13 sraw.
00000000, 00000000 => 00000000 (20000000 00000000)
14 sraw.
00000000, 000f423f
=> 00000000 (20000000 00000000)
15 sraw.
00000000, ffffffff
=> 00000000 (20000000 00000000)
16 sraw.
000f423f
, 00000000 => 000f423f
(40000000 00000000)
17 sraw.
000f423f
, 000f423f
=> 00000000 (20000000 00000000)
18 sraw.
000f423f
, ffffffff
=> 00000000 (20000000 00000000)
19 sraw. ffffffff
, 00000000 => ffffffff
(80000000 00000000)
20 sraw. ffffffff
, 000f423f
=> ffffffff
(80000000 20000000)
21 sraw. ffffffff
, ffffffff
=> ffffffff
(80000000 20000000)
23 PPC shift algebraic with special forms
:
24 srawi
00000000, 00000000 => 00000000 (00000000 00000000)
25 srawi
00000000, 000f423f
=> 00000000 (00000000 00000000)
26 srawi
00000000, ffffffff
=> 00000000 (00000000 00000000)
27 srawi
000f423f
, 00000000 => 000f423f
(00000000 00000000)
28 srawi
000f423f
, 000f423f
=> 000f423f
(00000000 00000000)
29 srawi
000f423f
, ffffffff
=> 000f423f
(00000000 00000000)
30 srawi ffffffff
, 00000000 => ffffffff
(00000000 00000000)
31 srawi ffffffff
, 000f423f
=> ffffffff
(00000000 00000000)
32 srawi ffffffff
, ffffffff
=> ffffffff
(00000000 00000000)
34 PPC shift algebraic with special forms with flags
update:
35 srawi.
00000000, 00000000 => 00000000 (20000000 00000000)
36 srawi.
00000000, 000f423f
=> 00000000 (20000000 00000000)
37 srawi.
00000000, ffffffff
=> 00000000 (20000000 00000000)
38 srawi.
000f423f
, 00000000 => 000f423f
(40000000 00000000)
39 srawi.
000f423f
, 000f423f
=> 000f423f
(40000000 00000000)
40 srawi.
000f423f
, ffffffff
=> 000f423f
(40000000 00000000)
41 srawi. ffffffff
, 00000000 => ffffffff
(80000000 00000000)
42 srawi. ffffffff
, 000f423f
=> ffffffff
(80000000 00000000)
43 srawi. ffffffff
, ffffffff
=> ffffffff
(80000000 00000000)
45 All done. Tested
4 different instructions