utility.cc (2706:d88c27f75121) | utility.cc (2980:eab855f06b79) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 14 unchanged lines hidden (view full) --- 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Korey Sewell 29 */ 30 | 1/* 2 * Copyright (c) 2003-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; --- 14 unchanged lines hidden (view full) --- 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Korey Sewell 29 */ 30 |
31#include "arch/mips/isa_traits.hh" | 31#include "arch/mips/regfile.hh" |
32#include "arch/mips/utility.hh" | 32#include "arch/mips/utility.hh" |
33#include "config/full_system.hh" 34#include "cpu/static_inst.hh" 35#include "sim/serialize.hh" | 33#include "base/misc.hh" |
36#include "base/bitfield.hh" 37 38using namespace MipsISA; | 34#include "base/bitfield.hh" 35 36using namespace MipsISA; |
39using namespace std; | |
40 41uint64_t 42MipsISA::fpConvert(ConvertType cvt_type, double fp_val) 43{ 44 45 switch (cvt_type) 46 { 47 case SINGLE_TO_DOUBLE: --- 155 unchanged lines hidden --- | 37 38uint64_t 39MipsISA::fpConvert(ConvertType cvt_type, double fp_val) 40{ 41 42 switch (cvt_type) 43 { 44 case SINGLE_TO_DOUBLE: --- 155 unchanged lines hidden --- |