Velocities and forces for selections.
[gromacs/qmmm-gamess-us.git] / cmake / TestInlineASM_gcc_x86.c
blob824489fafaf46bbaa801c4d77d33b95176e2f64c
1 int
2 main()
4 float f;
5 int i;
6 /* Test gcc inline asm for x86 */
7 asm("fld %1\nfistpl %0\n" : "=m" (*&i) : "f" (f));
8 return 0;
9 }