What to do if you are writing in assembler

If your kernel is written in gas assembler, you can tell the tester and timer that by setting the appropriate compiler and flag macro on the command line. For single precision types, these macros for gemmK are called SMC and SMCFLAGS, respectively, and they are DMC and DMCFLAGS for double precision routines. For instance, to test a DGEMM code written in assembler, requiring a 16 blocking factor, you'd issue:
   make ummcase pre=d mmrout=CASES/myassembler.c nb=16 \
        DMC=gcc DMCFLAGS="-x assembler-with-cpp"



Clint Whaley 2012-07-10