sparc: don't use directcntrl branch flag

this flag is only used for early branch resolution in the O3 model (of pc-relative branches)
but this isnt cleanly working even when the branch target code is added for sparc. For now,
we'll ignore this optimization and add a todo in the SPARC ISA for future developers
This commit is contained in:
Korey Sewell
2011-06-10 22:15:32 -04:00
parent a3862d4c59
commit 4229bce89d

View File

@@ -262,8 +262,9 @@ def format Branch(code, *opt_flags) {{
let {{
def doBranch(name, Name, base, cond,
code, annul_code, fail, annul_fail, opt_flags):
if "IsIndirectControl" not in opt_flags:
opt_flags += ('IsDirectControl', )
#@todo: add flags and branchTarget() for DirectCntrl branches
# the o3 model can take advantage of this annotation if
# done correctly
iop = InstObjParams(name, Name, base,
{"code": code,