Changeset 136 for trunk/Softwares


Ignore:
Timestamp:
Oct 20, 2009, 8:52:15 PM (15 years ago)
Author:
rosiere
Message:

1) Add new algo in ifetch queue
2) Add Cancel bit
3) new config

Location:
trunk/Softwares
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Softwares/Makefile.Software

    r124 r136  
    3131
    3232#-----[ To the compilation ]------------------------------------------------------
    33 OPTIMIZE                        = -O2 -std=c99 -fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float
     33OPTIMIZE                        = -O3 -std=c99 -fomit-frame-pointer -fdelayed-branch -mror -mcmov -msext -mhard-mul -msoft-div -msoft-float
    3434
    3535#Option :
  • trunk/Softwares/SPECINT2000/Makefile.defs

    r124 r136  
    77#
    88
    9 NB_THREAD_MAX           = 8
     9NB_THREAD_MAX           = 1
    1010
    11 BENCHS                  = \
    12                         164.gzip        \
     11BENCHS                  = 164.gzip
    1312
    14 #                       175.vpr         \
    15 
    16 #                       176.gcc         \
    17 #                       181.mcf         \
    18 #                       255.vortex      \
    19 #                       256.bzip2       \
    20 #                       300.twolf
    21 
     13#                       164.gzip       
     14#                       175.vpr         
     15#                       176.gcc         
     16#                       181.mcf         
     17#                       255.vortex     
     18#                       256.bzip2       
     19#                       300.twolf
    2220
    2321#164.gzip       \
  • trunk/Softwares/SPECINT2000/src/include/workload.h

    r124 r136  
    1212void (*WorkLoad[])() =
    1313{
    14         (void *) run_300_twolf
     14        (void *) run_164_gzip
    1515};
    1616
    1717#define NB_WORKLOAD   (sizeof(WorkLoad)/sizeof(void *))
    1818
    19 #ifndef NB_THREAD_MAX
    20         #error "NB_THREAD_MAX is undefined"
    21 #endif
     19# ifndef NB_THREAD_MAX
     20error "NB_THREAD_MAX is undefined"
     21# endif
    2222
    2323#endif //workload_h
  • trunk/Softwares/Test/Test_073/src/c/main.c

    r121 r136  
    99#include <stdlib.h>
    1010
    11 static unsigned int x;
     11int f (int x)
     12{
     13  int x1, x2, x3, x4, x5, x6, x7, x8;
     14 
     15  x1=x2=x3=x4=x5=x6=x7=x8=1;
     16   
     17  for (int i=0; i<x; ++i)
     18    {
     19      x1 += 2;
     20      x2 += 3;
     21      x3 += 5;
     22      x4 += 7;
     23      x5 += 9;
     24      x6 +=11;
     25      x7 +=13;
     26      x8 +=17;
     27    }
    1228
    13 void f0 ();
    14 void f1 ();
    15 void f2 ();
    16 void f3 ();
    17 void f4 ();
    18 void f5 ();
    19 void f6 ();
    20 void f7 ();
    21 void f8 ();
    22 void f9 ();
     29  return x1+x2+x3+x4+x5+x6+x7+x8;
     30}
    2331
    24 void f0 () { f1(); x++;}
    25 void f1 () { f2(); x++;}
    26 void f2 () { f3(); x++;}
    27 void f3 () { f4(); x++;}
    28 void f4 () { f5(); x++;}
    29 void f5 () { f6(); x++;}
    30 void f6 () { f7(); x++;}
    31 void f7 () { f8(); x++;}
    32 void f8 () { f9(); x++;}
    33 void f9 () {       x++;}
    3432
    3533int main()
    3634{
    37   int i0,i1,i2,i3,i4;
    38   const int it0 = 1000;
    39   const int it1 = 100;
    40   const int it3 = 10;
    41 
    42   for (i0 = 0; i0 < it0; ++i0);
     35  f(1000);
    4336 
    4437   
     38  unsigned int * addr = (unsigned int*)((0xa0000000) + 4);
     39/*   *(addr) = a+b+c+d; */
     40  *(addr) = 0;
    4541 
    46  
    47 /*   f0 (); */
    48  
    49   unsigned int * addr = (unsigned int*)((0xa0000000) + 4);
    50   *(addr) = 0;
    51 
    5242/*   _exit (0); */
    5343
Note: See TracChangeset for help on using the changeset viewer.