News for hackers. Stuff that matters.
Re:Rejit - prototype of a non-backtracking, just-in-time, SI... by chromaton on Monday August 26, 2013 @08:54AM (#6276679)
I found a clear explanation of the SIMD instructions here: http://www.strchr.com/strcmp_and_strlen_using_sse_4.2 . Apparently the instructions operate on strings up to 16 bytes in length.
Re:Rejit - prototype of a non-backtracking, just-in-time, SI... by ape4 on Monday August 26, 2013 @09:18AM (#6276810)
I think it would be reasonable to have strlen, strchr and the other str*() functions as processor instructions by now. With no 16 byte restrictions.
Re:Rejit - prototype of a non-backtracking, just-in-time, SI... by yoklov on Monday August 26, 2013 @09:31AM (#6276889)
Well it's 16 bytes at a time, and not 16 bytes maximum, but there are already the (arguably misguided) repeat prefixes for string instructions, which are designed for more or less that exact purpose.