extractvalue instruction implementation