From 8e2a8fbb7e4751260c88fccd19ebe8d1138d0695 Mon Sep 17 00:00:00 2001 From: Nathanael Premillieu Date: Wed, 21 Mar 2012 10:34:06 -0500 Subject: ARM: Fix case where cond/uncond control is mis-specified --- src/arch/arm/isa/templates/pred.isa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/arm/isa') diff --git a/src/arch/arm/isa/templates/pred.isa b/src/arch/arm/isa/templates/pred.isa index 8d9d16492..efb8e470b 100644 --- a/src/arch/arm/isa/templates/pred.isa +++ b/src/arch/arm/isa/templates/pred.isa @@ -112,9 +112,9 @@ def template DataRegConstructor {{ flags[IsControl] = true; flags[IsIndirectControl] = true; if (condCode == COND_AL || condCode == COND_UC) - flags[IsCondControl] = true; - else flags[IsUncondControl] = true; + else + flags[IsCondControl] = true; } if (%(is_ras_pop)s) { -- cgit v1.2.3