2a3
> * Copyright (c) 2013 Advanced Micro Devices, Inc.
53d53
< const int NumMiscArchRegs = NUM_MISCREGS;
61c61,62
< //Each 128 bit xmm register is broken into two effective 64 bit registers.
---
> // Each 128 bit xmm register is broken into two effective 64 bit registers.
> // Add 8 for the indices that are mapped over the fp stack
63,64c64
< NumMMXRegs + 2 * NumXMMRegs + NumMicroFpRegs;
< const int NumFloatArchRegs = NumFloatRegs + 8;
---
> NumMMXRegs + 2 * NumXMMRegs + NumMicroFpRegs + 8;
68,69c68,70
< //There are 16 microcode registers at the moment. This is an
< //unusually large constant to make sure there isn't overflow.
---
> // FP_Base_DepTag must be large enough to be bigger than any integer
> // register index which has the IntFoldBit (1 << 6) set. To be safe
> // we just start at (1 << 7) == 128.
71,80c72
< Ctrl_Base_DepTag =
< FP_Base_DepTag +
< //mmx/x87 registers
< 8 +
< //xmm registers
< 16 * 2 +
< //The microcode fp registers
< 8 +
< //The indices that are mapped over the fp stack
< 8,
---
> Ctrl_Base_DepTag = FP_Base_DepTag + NumFloatRegs,