Expand select instruction