1/*
2 * Copyright (c) 2011,2013 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating
9 * to a hardware implementation of the functionality of the software
10 * licensed hereunder. You may use the software subject to the license
11 * terms below provided that you ensure that this notice is replicated

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

629 }
630
631 /** Records an integer register being set to a value. */
632 void setIntRegOperand(const StaticInst *si, int idx, uint64_t val)
633 {
634 setResult<uint64_t>(val);
635 }
636
637 /** Records a CC register being set to a value. */
638 void setCCRegOperand(const StaticInst *si, int idx, uint64_t val)
639 {
640 setResult<uint64_t>(val);
641 }
642
643 /** Records an fp register being set to a value. */
644 void setFloatRegOperand(const StaticInst *si, int idx, FloatReg val,
645 int width)
646 {
647 if (width == 32 || width == 64) {
648 setResult<double>(val);
649 } else {
650 panic("Unsupported width!");

--- 415 unchanged lines hidden ---