Deleted Added
sdiff udiff text old ( 4352:52f11aaf7d19 ) new ( 4642:d7b2de2d72f1 )
full compact
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 165 unchanged lines hidden (view full) ---

174 // Remove the base Float reg dependency.
175 reg_idx = reg_idx - numPhysicalIntRegs;
176
177 assert(reg_idx < numPhysicalFloatRegs);
178
179 DPRINTF(IEW, "RegFile: Setting float register %i to %#x\n",
180 int(reg_idx), (uint64_t)val);
181
182 if (reg_idx != TheISA::ZeroReg)
183 floatRegFile[reg_idx].d = val;
184 }
185
186 /** Sets a double precision floating point register to the given value. */
187 void setFloatReg(PhysRegIndex reg_idx, FloatReg val)
188 {
189 // Remove the base Float reg dependency.
190 reg_idx = reg_idx - numPhysicalIntRegs;
191
192 assert(reg_idx < numPhysicalFloatRegs);
193
194 DPRINTF(IEW, "RegFile: Setting float register %i to %#x\n",
195 int(reg_idx), (uint64_t)val);
196
197 if (reg_idx != TheISA::ZeroReg)
198 floatRegFile[reg_idx].d = val;
199 }
200
201 /** Sets a floating point register to the given integer value. */
202 void setFloatRegBits(PhysRegIndex reg_idx, FloatRegBits val, int width)
203 {
204 // Remove the base Float reg dependency.
205 reg_idx = reg_idx - numPhysicalIntRegs;

--- 89 unchanged lines hidden ---