Clean up ARM flags from simulator code