An approach to generating customized load-store architectures