branch.isa (3985:28c305c0c56f) branch.isa (4004:d551cf1bba0d)
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

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

206 }
207}};
208
209let {{
210 handle_annul = '''
211 {
212 if(A)
213 {
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

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

206 }
207}};
208
209let {{
210 handle_annul = '''
211 {
212 if(A)
213 {
214 NPC = xc->readNextNPC();
215 NNPC = NPC + 4;
214 NNPC = NPC + 8;
215 NPC = NPC + 4;
216 }
217 else
218 {
216 }
217 else
218 {
219 NPC = xc->readNextPC();
220 NNPC = xc->readNextNPC();
219 NPC = NPC;
220 NNPC = NNPC;
221 }
222 }'''
223}};
224
225// Primary format for branch instructions:
226def format Branch(code, *opt_flags) {{
227 (usesImm, code, immCode,
228 rString, iString) = splitOutImm(code)

--- 42 unchanged lines hidden ---
221 }
222 }'''
223}};
224
225// Primary format for branch instructions:
226def format Branch(code, *opt_flags) {{
227 (usesImm, code, immCode,
228 rString, iString) = splitOutImm(code)

--- 42 unchanged lines hidden ---