branch.isa (8342:77d12d8f7971) branch.isa (8345:9bb24e6edc35)
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

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

257 decode_block = ROrImmDecode.subst(iop)
258 else:
259 decode_block = BasicDecode.subst(iop)
260}};
261
262let {{
263 def doBranch(name, Name, base, cond,
264 code, annul_code, fail, annul_fail, opt_flags):
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

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

257 decode_block = ROrImmDecode.subst(iop)
258 else:
259 decode_block = BasicDecode.subst(iop)
260}};
261
262let {{
263 def doBranch(name, Name, base, cond,
264 code, annul_code, fail, annul_fail, opt_flags):
265 if "IsIndirectControl" not in opt_flags:
266 opt_flags += ('IsDirectControl', )
265 #@todo: add flags and branchTarget() for DirectCntrl branches
266 # the o3 model can take advantage of this annotation if
267 # done correctly
267
268 iop = InstObjParams(name, Name, base,
269 {"code": code,
270 "fail": fail,
271 "cond": cond
272 },
273 opt_flags)
274 header_output = BasicDeclareWithMnemonic.subst(iop)

--- 72 unchanged lines hidden ---
268
269 iop = InstObjParams(name, Name, base,
270 {"code": code,
271 "fail": fail,
272 "cond": cond
273 },
274 opt_flags)
275 header_output = BasicDeclareWithMnemonic.subst(iop)

--- 72 unchanged lines hidden ---