Added -O3 optimization option to g++
This commit is contained in:
parent
53b6234ecb
commit
c5ec56ec08
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ TARGET_ARCH=linux64
|
||||||
|
|
||||||
CC = g++
|
CC = g++
|
||||||
# compiling flags here
|
# compiling flags here
|
||||||
CFLAGS = -Wall -I.
|
CFLAGS = -Wall -I. -O3
|
||||||
|
|
||||||
LINKER = g++
|
LINKER = g++
|
||||||
# linking flags here
|
# linking flags here
|
||||||
|
|
|
@ -13,13 +13,18 @@ Brief description of the modules:
|
||||||
* Instruction: Decodes instruction and acces to any instruction field
|
* Instruction: Decodes instruction and acces to any instruction field
|
||||||
* Simulation: Top-level entity that builds & starts the simulation
|
* Simulation: Top-level entity that builds & starts the simulation
|
||||||
|
|
||||||
Current performance is about 166000 instructions / sec in a Core-i5@2.2Ghz
|
Current performance is about 284500 instructions / sec in a Core-i5@2.2Ghz
|
||||||
|
|
||||||
Helper classes:
|
Helper classes:
|
||||||
* Performance: Performance indicators stores here (singleton class)
|
* Performance: Performance indicators stores here (singleton class)
|
||||||
* Log: Log class to log them all (singleton class)
|
* Log: Log class to log them all (singleton class)
|
||||||
|
|
||||||
|
|
||||||
|
### Structure
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
This is a preliminar and incomplete version.
|
This is a preliminar and incomplete version.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue