Lines Matching +full:2 +full:d
65 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument
69 andc rT1,d,b; /* 1: f' = ~b and d */ \
75 addis w1,w1,k1h; /* 2: wk = w + k */ \
77 addi w1,w1,k1l; /* 2: wk = w + k' */ \
79 add d,d,w1; /* 2: a = a + wk */ \
81 and rT0,a,b; /* 2: f = b and c */ \
82 andc rT1,c,a; /* 2: f' = ~b and d */ \
83 or rT0,rT0,rT1; /* 2: f = f or f' */ \
84 add d,d,rT0; /* 2: a = a + f */ \
86 rotrwi d,d,q; /* 2: a = a rotl x */ \
87 add d,d,a; /* 2: a = a + b */
89 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
90 andc rT0,c,d; /* 1: f = c and ~d */ \
91 and rT1,b,d; /* 1: f' = b and d */ \
96 addi w1,w1,k1l; /* 2: wk = w + k */ \
98 addis w1,w1,k1h; /* 2: wk = w + k' */ \
99 andc rT0,b,c; /* 2: f = c and ~d */ \
102 add d,d,w1; /* 2: a = a + wk */ \
103 and rT1,a,c; /* 2: f' = b and d */ \
104 or rT0,rT0,rT1; /* 2: f = f or f' */ \
105 add d,d,rT0; /* 2: a = a + f */ \
106 rotrwi d,d,q; /* 2: a = a rotl x */ \
107 add d,d,a; /* 2: a = a +b */
109 #define R_32_47(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
112 xor rT1,rT0,d; /* 1: f = f xor f' */ \
115 addi w1,w1,k1l; /* 2: wk = w + k */ \
117 addis w1,w1,k1h; /* 2: wk = w + k' */ \
119 add d,d,w1; /* 2: a = a + wk */ \
121 xor rT1,rT0,a; /* 2: f = b xor f' */ \
122 add d,d,rT1; /* 2: a = a + f */ \
123 rotrwi d,d,q; /* 2: a = a rotl x */ \
124 add d,d,a; /* 2: a = a + b */
126 #define R_48_63(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument
128 orc rT0,b,d; /* 1: f = b or ~d */ \
132 addi w1,w1,k1l; /* 2: w = w + k */ \
134 addis w1,w1,k1h; /* 2: w = w + k' */ \
137 orc rT0,a,c; /* 2: f = b or ~d */ \
138 add d,d,w1; /* 2: a = a + wk */ \
139 xor rT0,rT0,b; /* 2: f = f xor c */ \
140 add d,d,rT0; /* 2: a = a + f */ \
141 rotrwi d,d,q; /* 2: a = a rotl x */ \
142 add d,d,a; /* 2: a = a + b */