diff options
author | John van Groningen | 2011-11-18 16:15:52 +0000 |
---|---|---|
committer | John van Groningen | 2011-11-18 16:15:52 +0000 |
commit | f035c431f95469f0212507515aaade5a4874c7da (patch) | |
tree | 173b48d6c9132a72d643f4dd025b6796537375f9 | |
parent | also optimize division by large constants (>32 bits) on 64 bit processors (diff) |
use movq instead of movl for a 64 bit constant in w_as_div_rem_i_instruction
-rw-r--r-- | cgawas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2130,7 +2130,7 @@ static void w_as_div_rem_i_instruction (struct instruction *instruction,int comp w_as_opcode (intel_asm ? "imul" : "imull"); w_as_immediate_register_newline (i,REGISTER_A1); } else { - w_as_opcode_movl(); + w_as_opcode_movq(); w_as_immediate_register_newline (i,s_reg2); w_as_opcode_register_register_newline (intel_asm ? "imul" : "imull",s_reg2,REGISTER_A1); |