Add support for select instruction