x86: cpa create set_and_clr function