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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user