WONKY



LOG | FILES | OVERVIEW


F diff --git a/src/backend/asm/intel/intel_compile.c b/src/backend/asm/intel/intel_compile.c --- a/src/backend/asm/intel/intel_compile.c +++ b/src/backend/asm/intel/intel_compile.c
compile_ast_to_intel_asm(compile_data,(struct AST*)call->id);
- push_intel_asm_instruction(compile_data,intel_asm_get_pop(INTEL_ASM_REGISTER_RDX));
+ push_intel_asm_instruction(compile_data,intel_asm_get_pop(INTEL_ASM_REGISTER_R11));
push_intel_asm_instruction(compile_data,get_intel_asm_binary_instruction(
get_intel_asm_register(INTEL_ASM_REGISTER_EAX),
get_intel_asm_register(INTEL_ASM_REGISTER_EAX),
INTEL_ASM_OP_XOR));
- push_intel_asm_instruction(compile_data,get_intel_asm_unary_instruction(get_intel_asm_register(INTEL_ASM_REGISTER_RDX),INTEL_ASM_OP_CALL));
+ push_intel_asm_instruction(compile_data,get_intel_asm_unary_instruction(get_intel_asm_register(INTEL_ASM_REGISTER_R11),INTEL_ASM_OP_CALL));
push_intel_asm_instruction(compile_data,intel_asm_get_push(INTEL_ASM_REGISTER_RAX));
F diff --git a/src/backend/asm/intel/intel_location.c b/src/backend/asm/intel/intel_location.c --- a/src/backend/asm/intel/intel_location.c +++ b/src/backend/asm/intel/intel_location.c
[INTEL_ASM_REGISTER_RCX]="RCX",
[INTEL_ASM_REGISTER_R8]="R8",
[INTEL_ASM_REGISTER_R9]="R9",
+ [INTEL_ASM_REGISTER_R11]="R11",
[INTEL_ASM_REGISTER_RAX]="RAX",
[INTEL_ASM_REGISTER_RBP]="RBP",
};
F diff --git a/src/backend/asm/intel/intel_location.hh b/src/backend/asm/intel/intel_location.hh --- a/src/backend/asm/intel/intel_location.hh +++ b/src/backend/asm/intel/intel_location.hh
INTEL_ASM_REGISTER_RCX,
INTEL_ASM_REGISTER_R8,
INTEL_ASM_REGISTER_R9,
+ INTEL_ASM_REGISTER_R11,
INTEL_ASM_REGISTER_RBP,