Equivalent to asm volatile in Gfortran?

378 views Asked by At

Is there an equivalent to Gcc's inline assembly in Gfortran?

__asm__ __volatile__ (...)

I cannot find anything in the gfortran man page, or the manual.

1

There are 1 answers

1
janneb On BEST ANSWER

No, there isn't. The easiest way around it is to have a C function with the asm, and then call that C function with ISO_C_BINDING.