#
# Copyright 2001 Gabriel P. Silva  All rights reserved.
#


BENCH      = cc1
BENCHOBJ    = ./${BENCH}.ss


#
#
# Execute the cache simulator 
#




BENCHFLAGS  = -funroll-loops -fforce-mem -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations -fstrength-reduce -fpeephole -fschedule-insns -finline-functions -fschedule-insns2 

sim-cache: ${BENCHOBJ}
	sim-cache -config ../config.cache -redir:sim sim-cache.out ${BENCHOBJ} -quiet ${BENCHFLAGS} -O -o amptjp.s amptjp.i > ${BENCH}.out

