diff options
Diffstat (limited to 'src/arch/arm/isa/templates/branch.isa')
-rw-r--r-- | src/arch/arm/isa/templates/branch.isa | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/isa/templates/branch.isa b/src/arch/arm/isa/templates/branch.isa index 6abf76963..3a8fbb363 100644 --- a/src/arch/arm/isa/templates/branch.isa +++ b/src/arch/arm/isa/templates/branch.isa @@ -120,6 +120,8 @@ def template BranchRegConstructor {{ } else { flags[IsUncondControl] = true; } + if (%(is_ras_pop)s) + flags[IsReturn] = true; } }}; @@ -150,6 +152,8 @@ def template BranchRegCondConstructor {{ } else { flags[IsUncondControl] = true; } + if (%(is_ras_pop)s) + flags[IsReturn] = true; } }}; |