Reviewed-by: vlivanov, dpochepk
Refactor CAS code to decrease register pressure in c1 Reviewed-by: kvn, shade