2012-07-13 15:43:29 by Henrik Grubbström (Grubba) <firstname.lastname@example.org>
Compiler (amd64): Load fp_reg more consistently.
Some of the opcode implementations use the C-implementation as
a fallback for the more complex cases. These typically use
amd64_call_c_opcode(), which calls maybe_update_pc(), which may
call UPDATE_PC(), which calls amd64_load_fp_reg(), which loads
fp_reg if it isn't thought to be loaded.
This means that the opcodes in question sometimes will enter
with fp_reg not loaded, and exit with fp_reg thought to be
loaded even though it isn't loaded on all code-paths for the
This patch loads fp_reg in the instruction prologue under
the same circumstances where maybe_update_pc() would have
Inside #if defined(PIKE_DEBUG)