static_inst.hh (10474:799c8ee4ecba) static_inst.hh (10537:47fe87b0cf97)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

242
243 /// Constructor.
244 /// It's important to initialize everything here to a sane
245 /// default, since the decoder generally only overrides
246 /// the fields that are meaningful for the particular
247 /// instruction.
248 StaticInst(const char *_mnemonic, ExtMachInst _machInst, OpClass __opClass)
249 : _opClass(__opClass), _numSrcRegs(0), _numDestRegs(0),
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

242
243 /// Constructor.
244 /// It's important to initialize everything here to a sane
245 /// default, since the decoder generally only overrides
246 /// the fields that are meaningful for the particular
247 /// instruction.
248 StaticInst(const char *_mnemonic, ExtMachInst _machInst, OpClass __opClass)
249 : _opClass(__opClass), _numSrcRegs(0), _numDestRegs(0),
250 _numFPDestRegs(0), _numIntDestRegs(0),
250 _numFPDestRegs(0), _numIntDestRegs(0), _numCCDestRegs(0),
251 machInst(_machInst), mnemonic(_mnemonic), cachedDisassembly(0)
252 { }
253
254 public:
255 virtual ~StaticInst();
256
257 virtual Fault execute(ExecContext *xc,
258 Trace::InstRecord *traceData) const = 0;

--- 70 unchanged lines hidden ---
251 machInst(_machInst), mnemonic(_mnemonic), cachedDisassembly(0)
252 { }
253
254 public:
255 virtual ~StaticInst();
256
257 virtual Fault execute(ExecContext *xc,
258 Trace::InstRecord *traceData) const = 0;

--- 70 unchanged lines hidden ---