Fix fir-O0 to -O3 and shift instructions