simplify switch values in merged-ops.c