C, asm and asm+mmx bmp rotate code