Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | word-at-a-time.h: support zero_bytemask() on alpha and tile | Chris Metcalf | 2015-10-06 |
| | | | | | | | | Both alpha and tile needed implementations of zero_bytemask. The alpha version is untested. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com> | ||
* | tile: add <asm/word-at-a-time.h> and enable support functions | Chris Metcalf | 2015-04-30 |
This change enables the generic strncpy_from_user() and strnlen_user() using word-at-a-time.h. The tile implementation is trivial since both tilepro and tilegx have SIMD operations that do byte-wise comparisons against immediate zero for each byte, and return an 0x01 byte in each position where there is a 0x00 byte. Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com> |