Lines Matching refs:ones
1308 /* Doesn't handle full ones or full zeroes */
1319 unsigned int immr, imms, n, ones, ror, esz, tmp;
1337 /* Can't encode full zeroes, full ones, or value wider than the mask */
1361 /* That's how many ones we need to encode */
1362 ones = hweight64(imm);
1365 * imms is set to (ones - 1), prefixed with a string of ones
1368 imms = ones - 1;
1384 * Fill the unused top bits with ones, and check if
1385 * the result is a valid immediate (all ones with a
1394 * ones, with the first bit set at position 0
1401 * original set of ones. Note that this is relative to the