Pushes table for the value x * 16
(stack: &mut StackTracker, delta: i32)
| 49 | |
| 50 | /// Pushes table for the value x * 16 |
| 51 | pub fn u4_push_from_depth_full_lookup(stack: &mut StackTracker, delta: i32) -> StackVariable { |
| 52 | for i in (0..16).rev() { |
| 53 | stack.numberi((i + 1) * -16 + delta); |
| 54 | } |
| 55 | let lookup = stack.join_count(&mut stack.get_var_from_stack(15), 15); |
| 56 | stack.rename(lookup, "lookup"); |
| 57 | lookup |
| 58 | } |
| 59 | |
| 60 | /// Pushes the table to calculate the order of ordered pairs (a, b) satisfying the conditions a <= b and 0 <= a, b < 16 |
| 61 | pub fn u4_push_from_depth_half_lookup(stack: &mut StackTracker, delta: i32) -> StackVariable { |