From 4229bce89d6683679fae3ebbeda3ef675f73069f Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Fri, 10 Jun 2011 22:15:32 -0400 Subject: 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 --- src/arch/sparc/isa/formats/branch.isa | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/arch') diff --git a/src/arch/sparc/isa/formats/branch.isa b/src/arch/sparc/isa/formats/branch.isa index 014c0d486..b34704f06 100644 --- a/src/arch/sparc/isa/formats/branch.isa +++ b/src/arch/sparc/isa/formats/branch.isa @@ -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, -- cgit v1.2.3