CPC G06F 12/04 (2013.01) [G06F 2212/1028 (2013.01); G06N 3/08 (2013.01)] | 20 Claims |
1. A method comprising:
accessing, by circuitry, a mask identifying byte positions within a data word having non-zero values in memory, wherein each bit of the mask has a first value or a second value, the first value indicating that a byte of the data word corresponds to a non-zero byte value, the second value indicating that the byte of the data word corresponds to a zero byte value;
modifying, by the circuitry, the data word to have non-zero byte values stored at an end of a first side of the data word in the memory, and any zero byte values stored in a remainder of the data word; and
writing, by the circuitry, the modified data word to the memory via at least a first slice of a plurality of slices that is configured to access the first side of the data word in the memory.
|