amd64: Add module for common transform functionality
amd64: Add creation of sign-bit tarvals to common transform module