class BranchPlugin extends ExecutionUnitElementSimple with LearnSource

Implement the branch/jump handeling in the execute stage. Depending if the CPU has a BTB it work completly differently. - If there is no BTB, then the plugin work very "normaly" and just execute the incoming instructions - If there is a BTB, then the goal of the plugin is to check if the predictions done were right, and correct if necessary

In the case there is multiple BranchPlugin on a given execution lane, they will share quite a bit of hardware via the PcCalc Area. Also, only the last instance of BranchPlugin on a given execution lane will feed the LearnPlugin via its LearnSource service. This reduce the hardware area aswell as reducing the possibility of multiple BranchPlugin providing LearnSource request at the same time.

Linear Supertypes
LearnSource, ExecutionUnitElementSimple, FiberPlugin, Hostable, Area, OverridedEqualsHashCode, ValCallbackRec, ValCallback, NameableByComponent, Nameable, ContextUser, ScalaLocated, GlobalDataUser, OwnableRef, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BranchPlugin
  2. LearnSource
  3. ExecutionUnitElementSimple
  4. FiberPlugin
  5. Hostable
  6. Area
  7. OverridedEqualsHashCode
  8. ValCallbackRec
  9. ValCallback
  10. NameableByComponent
  11. Nameable
  12. ContextUser
  13. ScalaLocated
  14. GlobalDataUser
  15. OwnableRef
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BranchPlugin(layer: LaneLayer, aluAt: Int = 0, jumpAt: Int = 1, wbAt: Int = 0, withJalr: Boolean = true)

Type Members

  1. abstract type RefOwnerType
    Definition Classes
    OwnableRef
  2. class Logic extends Api with Area with PostInitCallback
    Definition Classes
    ExecutionUnitElementSimple

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val SEL: NamedType[Bool]
    Definition Classes
    ExecutionUnitElementSimple
  5. val _context: Capture
    Definition Classes
    Area
  6. def addService[T](that: T): T
    Definition Classes
    FiberPlugin
  7. var aluAt: Int
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def awaitBuild(): Unit
    Definition Classes
    FiberPlugin
  10. def buildBefore(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  11. var buildCount: Int
    Definition Classes
    FiberPlugin
  12. def catchMissaligned: Boolean
  13. def childNamePriority: Byte
    Definition Classes
    Area
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  15. def component: Component
    Definition Classes
    ContextUser
  16. def during: AnyRef { ... /* 2 definitions in type refinement */ }
    Definition Classes
    FiberPlugin
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(obj: Any): Boolean
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  19. def foreachReflectableNameables(doThat: (Any) ⇒ Unit): Unit
    Definition Classes
    Nameable
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def getDisplayName(): String
    Definition Classes
    Nameable
  22. def getInstanceCounter: Int
    Definition Classes
    ContextUser
  23. def getLearnPort(): Option[Stream[LearnCmd]]
    Definition Classes
    BranchPluginLearnSource
  24. def getMode: Byte
    Attributes
    protected
    Definition Classes
    Nameable
  25. def getName(default: String): String
    Definition Classes
    NameableByComponent → Nameable
  26. def getName(): String
    Definition Classes
    NameableByComponent → Nameable
  27. def getPartialName(): String
    Definition Classes
    Nameable
  28. def getPath(from: Component, to: Component): Seq[Component]
    Definition Classes
    NameableByComponent
  29. def getRefOwnersChain(): List[Any]
    Definition Classes
    OwnableRef
  30. def getScalaLocationLong: String
    Definition Classes
    ScalaLocated
  31. def getScalaLocationShort: String
    Definition Classes
    ScalaLocated
  32. def getScalaTrace(): Throwable
    Definition Classes
    ScalaLocated
  33. val globalData: GlobalData
    Definition Classes
    GlobalDataUser
  34. def hashCode(): Int
    Definition Classes
    OverridedEqualsHashCode → AnyRef → Any
  35. var host: PluginHost
    Definition Classes
    FiberPlugin
  36. val hostLock: Lock
    Definition Classes
    FiberPlugin
  37. def isCompletelyUnnamed: Boolean
    Definition Classes
    Nameable
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. final def isNamed: Boolean
    Definition Classes
    Nameable
  40. def isPriorityApplicable(namePriority: Byte): Boolean
    Definition Classes
    Nameable
  41. def isUnnamed: Boolean
    Definition Classes
    NameableByComponent → Nameable
  42. var jumpAt: Int
  43. val layer: LaneLayer
  44. val lockables: LinkedHashSet[() ⇒ Lock]
    Definition Classes
    FiberPlugin
  45. val logic: Handle[Logic { ... /* 26 definitions in type refinement */ }]
  46. val name: String
    Definition Classes
    Nameable
  47. val nameableRef: Nameable
    Attributes
    protected
    Definition Classes
    Nameable
    Annotations
    @DontName()
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  51. def overrideLocalName(name: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  52. val parentScope: ScopeStatement
    Definition Classes
    ContextUser
  53. val pcCalc: Handle[PcCalc]
  54. var pluginEnabled: Boolean
    Definition Classes
    FiberPlugin
  55. def pluginsOnLane: Seq[BranchPlugin]
  56. val refOwner: RefOwnerType
    Definition Classes
    OwnableRef
    Annotations
    @DontName()
  57. def reflectNames(): Unit
    Definition Classes
    Nameable
  58. def retains(head: Any, tail: Any*): RetainerGroup
    Definition Classes
    FiberPlugin
  59. def retains(that: Seq[Any]): RetainerGroup
    Definition Classes
    FiberPlugin
  60. def rework[T](body: ⇒ T): T
    Definition Classes
    Area
  61. val scalaTrace: Throwable
    Definition Classes
    ScalaLocated
  62. def setCompositeName(nameable: Nameable, postfix: String, namePriority: Byte): BranchPlugin.this.type
    Definition Classes
    Nameable
  63. def setCompositeName(nameable: Nameable, postfix: String, weak: Boolean): BranchPlugin.this.type
    Definition Classes
    Nameable
  64. def setCompositeName(nameable: Nameable, postfix: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  65. def setCompositeName(nameable: Nameable, namePriority: Byte): BranchPlugin.this.type
    Definition Classes
    Nameable
  66. def setCompositeName(nameable: Nameable, weak: Boolean): BranchPlugin.this.type
    Definition Classes
    Nameable
  67. def setCompositeName(nameable: Nameable): BranchPlugin.this.type
    Definition Classes
    Nameable
  68. def setHost(h: PluginHost): Unit
    Definition Classes
    FiberPlugin → Hostable
  69. def setLambdaName(isNameBody: ⇒ Boolean)(nameGen: ⇒ String): BranchPlugin.this.type
    Definition Classes
    Nameable
  70. def setName(name: String, namePriority: Byte): BranchPlugin.this.type
    Definition Classes
    Nameable
  71. def setName(name: String, weak: Boolean): BranchPlugin.this.type
    Definition Classes
    Nameable
  72. def setName(name: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  73. def setNameAsWeak(): BranchPlugin.this.type
    Definition Classes
    Nameable
  74. def setPartialName(name: String, namePriority: Byte, owner: Any): BranchPlugin.this.type
    Definition Classes
    Nameable
  75. def setPartialName(name: String, namePriority: Byte): BranchPlugin.this.type
    Definition Classes
    Nameable
  76. def setPartialName(name: String, weak: Boolean): BranchPlugin.this.type
    Definition Classes
    Nameable
  77. def setPartialName(owner: Nameable, name: String, namePriority: Byte): BranchPlugin.this.type
    Definition Classes
    Nameable
  78. def setPartialName(owner: Nameable, name: String, weak: Boolean): BranchPlugin.this.type
    Definition Classes
    Nameable
  79. def setPartialName(name: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  80. def setPartialName(owner: Nameable, name: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  81. def setPartialName(owner: Nameable): BranchPlugin.this.type
    Definition Classes
    Nameable
  82. def setRefOwner(that: Any): Unit
    Definition Classes
    OwnableRef
  83. def setScalaLocated(source: ScalaLocated): BranchPlugin.this.type
    Definition Classes
    ScalaLocated
  84. def setWeakName(name: String): BranchPlugin.this.type
    Definition Classes
    Nameable
  85. def setupRetain(l: ⇒ Lock): Unit
    Definition Classes
    FiberPlugin
  86. val subservices: ArrayBuffer[Any]
    Definition Classes
    FiberPlugin
  87. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  88. def toString(): String
    Definition Classes
    Area → Nameable → AnyRef → Any
  89. def unsetName(): BranchPlugin.this.type
    Definition Classes
    Nameable
  90. def valCallback[T](ref: T, name: String): T
    Definition Classes
    ValCallbackRec → ValCallback
  91. def valCallbackOn(ref: Any, name: String, refs: Set[Any]): Unit
    Definition Classes
    ValCallbackRec
  92. def valCallbackRec(obj: Any, name: String): Unit
    Definition Classes
    Area → ValCallbackRec
  93. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  95. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. var wbAt: Int
  97. var withJalr: Boolean
  98. def withPrefix(prefix: String): FiberPlugin
    Definition Classes
    FiberPlugin

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from LearnSource

Inherited from FiberPlugin

Inherited from Hostable

Inherited from Area

Inherited from OverridedEqualsHashCode

Inherited from ValCallbackRec

Inherited from ValCallback

Inherited from NameableByComponent

Inherited from Nameable

Inherited from ContextUser

Inherited from ScalaLocated

Inherited from GlobalDataUser

Inherited from OwnableRef

Inherited from AnyRef

Inherited from Any

Ungrouped