Add asm support for more algorithms on x86 and remove unused files.