Lines Matching full:ror2
55 function ROR2(x, sa) {
117 assertEquals(0xF0000FFF | 0, ROR2(0x0000FFFF, 28));
118 assertEquals(0xF0000FFF | 0, ROR2(0x0000FFFF, 28));
119 %OptimizeFunctionOnNextCall(ROR2);
120 assertEquals(0xF0000FFF | 0, ROR2(0x0000FFFF, 28));
122 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, 12));
123 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, 12));
124 %OptimizeFunctionOnNextCall(ROR2);
125 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, 12));
127 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, Twelve()));
128 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, Twelve()));
129 %OptimizeFunctionOnNextCall(ROR2);
130 assertEquals(0x0FFFF000 | 0, ROR2(0x0000FFFF, Twelve()));
133 assertEquals(0xFFFFFFFF | 0, ROR2(0xFFFFFFFF, i));
134 assertEquals(0xFFFFFFFF | 0, ROR2(0xFFFFFFFF, i));
135 %OptimizeFunctionOnNextCall(ROR2);
136 assertEquals(0xFFFFFFFF | 0, ROR2(0xFFFFFFFF, i));
140 assertEquals(-1, ROR2(-1, i));
141 assertEquals(-1, ROR2(-1, i));
142 %OptimizeFunctionOnNextCall(ROR2);
143 assertEquals(-1, ROR2(-1, i));
147 assertEquals(1 << ((i % 32)), ROR2(1, i));
148 assertEquals(1 << ((i % 32)), ROR2(1, i));
149 %OptimizeFunctionOnNextCall(ROR2);
150 assertEquals(1 << ((i % 32)), ROR2(1, i));
275 assertEquals(ROR2(0xFFFFFFFF, 20), ROR2_sa20(0xFFFFFFFF));
276 assertEquals(ROR2(0xFFFFFFFF, 20), ROR2_sa20(0xFFFFFFFF));
278 assertEquals(ROR2(0xFFFFFFFF, 20), ROR2_sa20(0xFFFFFFFF));
281 assertEquals(ROR2(0x0000FFFF, 40), ROR2_sa40(0x0000FFFF));
282 assertEquals(ROR2(0x0000FFFF, 40), ROR2_sa40(0x0000FFFF));
284 assertEquals(ROR2(0x0000FFFF, 40), ROR2_sa40(0x0000FFFF));