I realize that speeding up Java's base64 w/ SIMD probably has a measurable impact on a significant proportion of all webservers everywhere. But at the same time, implementing the entire thing in ASM, by hand, looks ... rough. Here's the comment describing how it works:
https://github.com/openjdk/jdk/blob/5177a70b385c16f26ede191f...
We don’t have better tools to do this, unfortunately :(