pal.isa (7799:5d0f62927d75) pal.isa (10823:64cd1dcd61a5)
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

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

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);
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

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

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);
174 if (HW_LDST_ALT) memAccessFlags.set(AlphaRequestFlags::ALTMODE);
175 if (HW_LDST_VPTE) memAccessFlags.set(AlphaRequestFlags::VPTE);
176 if (HW_LDST_LOCK) memAccessFlags.set(Request::LLSC);
177 }
178
179 std::string
180 HwLoadStore::generateDisassembly(Addr pc, const SymbolTable *symtab) const
181 {
182#ifdef SS_COMPATIBLE_DISASSEMBLY
183 return csprintf("%-10s r%d,%d(r%d)", mnemonic, RA, disp, RB);

--- 91 unchanged lines hidden ---
176 if (HW_LDST_LOCK) memAccessFlags.set(Request::LLSC);
177 }
178
179 std::string
180 HwLoadStore::generateDisassembly(Addr pc, const SymbolTable *symtab) const
181 {
182#ifdef SS_COMPATIBLE_DISASSEMBLY
183 return csprintf("%-10s r%d,%d(r%d)", mnemonic, RA, disp, RB);

--- 91 unchanged lines hidden ---