Changeset 345 for soft/giet_vm/transpose


Ignore:
Timestamp:
Jun 25, 2014, 2:19:37 PM (10 years ago)
Author:
cfuguet
Message:

giet_vm optimizations:

  • Several modifications in GIET_VM in order to support compilation with GCC optimizations (-O2) activated.
  • Adding missing volatile in some global variables.
  • Using ioread and iowrite utility functions in peripheral drivers which prevent GCC to remove writes or reads in hardware memory mapped registers.
  • Code refactoring of stdio printf functions. Now, shr_printf and tty_printf function reuse the same function body. The only difference is that shr_printf wraps printf function call with TTY get lock and release lock.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/transpose/main.c

    r336 r345  
    2525#define FILE_PATHNAME       "misc/images.raw"   // file pathname on disk
    2626
    27 #define INSTRUMENTATION_OK  0                   // display statistics on TTY when non zero
     27#define INSTRUMENTATION_OK  1                   // display statistics on TTY when non zero
    2828
    2929///////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.