util.isa (4040:eb894f3fc168) util.isa (4224:7e828583f2cb)
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

219 DPRINTF(Sparc, "%s: The address is 0x%x\n", mnemonic, EA);
220 %(fault_check)s;
221 if(fault == NoFault)
222 {
223 %(code)s;
224 }
225 if(storeCond && fault == NoFault)
226 {
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

219 DPRINTF(Sparc, "%s: The address is 0x%x\n", mnemonic, EA);
220 %(fault_check)s;
221 if(fault == NoFault)
222 {
223 %(code)s;
224 }
225 if(storeCond && fault == NoFault)
226 {
227 fault = xc->write((uint%(mem_acc_size)s_t)Mem,
227 fault = xc->write((%(mem_acc_type)s%(mem_acc_size)s_t)Mem,
228 EA, %(asi_val)s, 0);
229 }
230 if(fault == NoFault)
231 {
232 //Write the resulting state to the execution context
233 %(op_wb)s;
234 }
235

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

252 DPRINTF(Sparc, "%s: The address is 0x%x\n", mnemonic, EA);
253 %(fault_check)s;
254 if(fault == NoFault)
255 {
256 %(code)s;
257 }
258 if(storeCond && fault == NoFault)
259 {
228 EA, %(asi_val)s, 0);
229 }
230 if(fault == NoFault)
231 {
232 //Write the resulting state to the execution context
233 %(op_wb)s;
234 }
235

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

252 DPRINTF(Sparc, "%s: The address is 0x%x\n", mnemonic, EA);
253 %(fault_check)s;
254 if(fault == NoFault)
255 {
256 %(code)s;
257 }
258 if(storeCond && fault == NoFault)
259 {
260 fault = xc->write((uint%(mem_acc_size)s_t)Mem,
260 fault = xc->write((%(mem_acc_type)s%(mem_acc_size)s_t)Mem,
261 EA, %(asi_val)s, 0);
262 }
263 if(fault == NoFault)
264 {
265 //Write the resulting state to the execution context
266 %(op_wb)s;
267 }
268 return fault;

--- 85 unchanged lines hidden ---
261 EA, %(asi_val)s, 0);
262 }
263 if(fault == NoFault)
264 {
265 //Write the resulting state to the execution context
266 %(op_wb)s;
267 }
268 return fault;

--- 85 unchanged lines hidden ---