src/video/mmx.h
changeset 738 82b85b731fe3
parent 689 5bb080d35049
child 1330 450721ad5436
equal deleted inserted replaced
737:7e4347dd2f9c 738:82b85b731fe3
   351 			      : "X" (imm) )
   351 			      : "X" (imm) )
   352 
   352 
   353 #define	mmx_m2r(op, mem, reg) \
   353 #define	mmx_m2r(op, mem, reg) \
   354 	__asm__ __volatile__ (#op " %0, %%" #reg \
   354 	__asm__ __volatile__ (#op " %0, %%" #reg \
   355 			      : /* nothing */ \
   355 			      : /* nothing */ \
   356 			      : "X" (mem))
   356 			      : "m" (mem))
   357 
   357 
   358 #define	mmx_r2m(op, reg, mem) \
   358 #define	mmx_r2m(op, reg, mem) \
   359 	__asm__ __volatile__ (#op " %%" #reg ", %0" \
   359 	__asm__ __volatile__ (#op " %%" #reg ", %0" \
   360 			      : "=X" (mem) \
   360 			      : "=X" (mem) \
   361 			      : /* nothing */ )
   361 			      : /* nothing */ )