From d3842de5c9baa2962e01d02b2499eac49d9065a6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 4 Dec 2012 04:57:50 +0000 Subject: * vm_opts.h: enable optimization - operand unifications. Operand unification technique enable to combine an instruction and specific operands and make new instruction. * defs/opt_operand.def: add several configuration of operand unifications. * insns.def: use `int' instead to suppress warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm_opts.h') diff --git a/vm_opts.h b/vm_opts.h index f77b01886e..b5c91ea809 100644 --- a/vm_opts.h +++ b/vm_opts.h @@ -41,7 +41,7 @@ #define OPT_BLOCKINLINING 0 /* architecture independent, affects generated code */ -#define OPT_OPERANDS_UNIFICATION 0 +#define OPT_OPERANDS_UNIFICATION 1 #define OPT_INSTRUCTIONS_UNIFICATION 0 #define OPT_UNIFY_ALL_COMBINATION 0 #define OPT_STACK_CACHING 0 @@ -50,7 +50,7 @@ #define SUPPORT_JOKE 0 #ifndef VM_COLLECT_USAGE_DETAILS -#define VM_COLLECT_USAGE_DETAILS 0 +#define VM_COLLECT_USAGE_DETAILS 0 #endif #endif /* RUBY_VM_OPTS_H */ -- cgit v1.2.3