1 <!-- DRAFT Instructions for PowerISA Version 3.0 B Book 1 -->
2 <!-- https://libre-soc.org/openpower/sv/bitmanip/ -->
3 <!-- https://libre-soc.org/openpower/sv/av_opcodes/ -->
5 # DRAFT Fixed Point Signed Max
10 * maxs. RT,RA,RB (Rc=1)
14 if (RA) > (RB) then RT <- (RA)
17 Special Registers Altered:
21 # DRAFT Fixed Point Unsigned Max
25 * maxu RT,RA,RB (Rc=0)
26 * maxu. RT,RA,RB (Rc=1)
30 if (RA) >u (RB) then RT <- (RA)
33 Special Registers Altered:
37 # DRAFT Fixed Point Signed Min
41 * mins RT,RA,RB (Rc=0)
42 * mins. RT,RA,RB (Rc=1)
46 if (RA) < (RB) then RT <- (RA)
49 Special Registers Altered:
53 # DRAFT Fixed Point Unsigned Min
57 * minu RT,RA,RB (Rc=0)
58 * minu. RT,RA,RB (Rc=1)
62 if (RA) < (RB) then RT <- (RA)
65 Special Registers Altered:
73 * avgadd RT,RA,RB (Rc=0)
74 * avgadd. RT,RA,RB (Rc=1)
85 Special Registers Altered: