31d30
< #include "arch/x86/floatregs.hh"
358,366d356
< int
< ISA::flattenIntIndex(int reg)
< {
< //If we need to fold over the index to match byte semantics, do that.
< //Otherwise, just strip off any extra bits and pass it through.
< if (reg & (1 << 6))
< return (reg & (~(1 << 6) - 0x4));
< else
< return (reg & ~(1 << 6));
368,379d357
<
< int
< ISA::flattenFloatIndex(int reg)
< {
< if (reg >= NUM_FLOATREGS) {
< int top = readMiscRegNoEffect(MISCREG_X87_TOP);
< reg = FLOATREG_STACK(reg - NUM_FLOATREGS, top);
< }
< return reg;
< }
<
< }