aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorKirill Batuzov <batuzovk@ispras.ru>2011-07-07 16:37:12 +0400
committerBlue Swirl <blauwirbel@gmail.com>2011-07-30 10:51:25 +0000
commit8f2e8c07a65c340b525b08e08925b568844d4f3d (patch)
tree9f39a4014c78189ad2e6915d7994692d07d84139 /Makefile.target
parent3e4571724fb92c77de81d8b54957de8232be6706 (diff)
downloadqemu-8f2e8c07a65c340b525b08e08925b568844d4f3d.zip
qemu-8f2e8c07a65c340b525b08e08925b568844d4f3d.tar.gz
qemu-8f2e8c07a65c340b525b08e08925b568844d4f3d.tar.bz2
Add TCG optimizations stub
Added file tcg/optimize.c to hold TCG optimizations. Function tcg_optimize is called from tcg_gen_code_common. It calls other functions performing specific optimizations. Stub for constant folding was added. Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index d4ea042..4aacc67 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -72,7 +72,7 @@ all: $(PROGS) stap
#########################################################
# cpu emulator library
libobj-y = exec.o translate-all.o cpu-exec.o translate.o
-libobj-y += tcg/tcg.o
+libobj-y += tcg/tcg.o tcg/optimize.o
libobj-y += fpu/softfloat.o
libobj-y += op_helper.o helper.o
ifeq ($(TARGET_BASE_ARCH), i386)