fixed pipeline rotation and memory load/stores