vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

callind.c (184B)


      1 
      2 #include "rep.h"
      3 
      4 volatile void foo();
      5 
      6 int main()
      7 {
      8 	for (int i = 0; i < 10000000; i++) {
      9 		REP100(asm volatile("call *%0" : : "r" (foo));)
     10 	}
     11 	return 0;
     12 }
     13 
     14 volatile void foo()
     15 {
     16 }
     17