Implement yl2x and yl2xp1 as inline assembler functions on X86/X86_64.

This resolves issue #305.