1// -*- mode:c++ -*- 2 3// Copyright (c) 2003-2005 The Regents of The University of Michigan 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 --- 141 unchanged lines hidden (view full) --- 150 class HwLoadStore : public Memory 151 { 152 protected: 153 154 /// Displacement for EA calculation (signed). 155 int16_t disp; 156 157 /// Constructor |
158 HwLoadStore(const char *mnem, ExtMachInst _machInst, OpClass __opClass); |
159 160 std::string 161 generateDisassembly(Addr pc, const SymbolTable *symtab) const; 162 }; 163}}; 164 165 166output decoder {{ 167 inline 168 HwLoadStore::HwLoadStore(const char *mnem, ExtMachInst _machInst, |
169 OpClass __opClass) 170 : Memory(mnem, _machInst, __opClass), disp(HW_LDST_DISP) |
171 { 172 memAccessFlags.clear(); 173 if (HW_LDST_PHYS) memAccessFlags.set(Request::PHYSICAL); 174 if (HW_LDST_ALT) memAccessFlags.set(Request::ALTMODE); 175 if (HW_LDST_VPTE) memAccessFlags.set(Request::VPTE); 176 if (HW_LDST_LOCK) memAccessFlags.set(Request::LLSC); 177 } 178 --- 96 unchanged lines hidden --- |