base_dyn_inst.hh (3125:febd811bccc6) base_dyn_inst.hh (3126:756092c6383c)
1/*
2 * Copyright (c) 2004-2006 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;

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

404 {
405 instResult.integer = val;
406 }
407
408 /** Records an fp register being set to a value. */
409 void setFloatReg(const StaticInst *si, int idx, FloatReg val, int width)
410 {
411 if (width == 32)
1/*
2 * Copyright (c) 2004-2006 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;

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

404 {
405 instResult.integer = val;
406 }
407
408 /** Records an fp register being set to a value. */
409 void setFloatReg(const StaticInst *si, int idx, FloatReg val, int width)
410 {
411 if (width == 32)
412 instResult.fp = val;
412 instResult.dbl = (double)val;
413 else if (width == 64)
414 instResult.dbl = val;
415 else
416 panic("Unsupported width!");
417 }
418
419 /** Records an fp register being set to a value. */
420 void setFloatReg(const StaticInst *si, int idx, FloatReg val)

--- 312 unchanged lines hidden ---
413 else if (width == 64)
414 instResult.dbl = val;
415 else
416 panic("Unsupported width!");
417 }
418
419 /** Records an fp register being set to a value. */
420 void setFloatReg(const StaticInst *si, int idx, FloatReg val)

--- 312 unchanged lines hidden ---