Enabling word-width aware energy optimizations for embedded processors