~ubuntu-branches/ubuntu/vivid/atlas/vivid

« back to all changes in this revision

Viewing changes to CONFIG/src/wincc.c

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-06-11 15:58:16 UTC
  • mfrom: (1.1.3 upstream)
  • mto: (2.2.21 experimental)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20130611155816-b72z8f621tuhbzn0
Tags: upstream-3.10.1
Import upstream version 3.10.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 *             Automatically Tuned Linear Algebra Software v3.8.4
 
2
 *             Automatically Tuned Linear Algebra Software v3.10.1
3
3
 *                    (C) Copyright 1999 R. Clint Whaley
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
232
232
   return(0);
233
233
}
234
234
 
235
 
main(int nargs, char **args)
 
235
int main(int nargs, char **args)
236
236
{
237
237
   char ln[4096], *cptr=NULL;
238
238
   int i, j, k, ierr, ic, ii;
265
265
               j = sprintf(ln+ic, "/link:DEFAULTLIB:%s", &args[i][2]);
266
266
            slashsub(ln+ic+17);
267
267
         }
 
268
         else if (args[i][1] == 'm' && args[i][2] == '3'
 
269
                  && args[i][3] == '2' && args[i][4] == '\0')
 
270
            j=0;  /* do not pass on -m32/64 to windows compilers */
 
271
         else if (args[i][1] == 'm' && args[i][2] == '3'
 
272
                  && args[i][3] == '2' && args[i][4] == '\0')
 
273
            j=0;  /* do not pass on -m32/64 to windows compilers */
 
274
         else if (args[i][1]=='m' && args[i][2]=='s' && args[i][3]=='s' &&
 
275
                  args[i][4] == 'e')
 
276
         {
 
277
            if (args[i][5] == '\0')
 
278
               j = sprintf(ln+ic, "/arch:sse");
 
279
            else
 
280
               j = sprintf(ln+ic, "/arch:sse2");
 
281
         }
 
282
         else if (args[i][1]=='m' && args[i][2]=='a' && args[i][3]=='v' &&
 
283
                  args[i][4] == 'x')
 
284
            j = sprintf(ln+ic, "/arch:avx");
 
285
         else if (args[i][1] == 'm' && args[i][2] == '3'
 
286
                  && args[i][3] == '2' && args[i][4] == '\0')
 
287
              ;  /* do not pass on -m32/64 to windows compilers */
268
288
         else
269
289
         {
270
290
            if (args[i][1] == 'c') COMP=1;
316
336
   if (!ierr && COMP && !RENAME) /* rename the .obj to .o */
317
337
      ierr = RenameFiles(wbase);
318
338
   KillWords(wbase);
319
 
   exit(ierr);
 
339
   return(ierr);
320
340
}