sim: bfin: import optimizations from 32bit test into 16bit test