From 82c9e6a5fc9bd2b68e19e00381e5e87f291da659 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 12 May 2009 22:33:05 -0700 Subject: [PATCH] gcc: work around a bogus gcc error --- src/arch/arm/isa/util.isa | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/arch/arm/isa/util.isa b/src/arch/arm/isa/util.isa index 4fe0d732c..20eb80ecf 100644 --- a/src/arch/arm/isa/util.isa +++ b/src/arch/arm/isa/util.isa @@ -242,8 +242,8 @@ output exec {{ return ((arm_NEG(lhs) && arm_NEG(rhs)) || (arm_NEG(lhs) && arm_POS(result)) || (arm_NEG(rhs) && arm_POS(result))); - else - return 0; + + return 0; } // Generate the appropriate carry bit for a subtraction operation @@ -254,8 +254,8 @@ output exec {{ return ((arm_NEG(lhs) && arm_POS(rhs)) || (arm_NEG(lhs) && arm_POS(result)) || (arm_POS(rhs) && arm_POS(result))); - else - return 0; + + return 0; } inline int32_t @@ -264,8 +264,8 @@ output exec {{ if ((lhs | rhs) >> 30) return ((arm_NEG(lhs) && arm_NEG(rhs) && arm_POS(result)) || (arm_POS(lhs) && arm_POS(rhs) && arm_NEG(result))); - else - return 0; + + return 0; } inline int32_t @@ -274,8 +274,8 @@ output exec {{ if ((lhs >= rhs) || ((rhs | lhs) >> 31)) return ((arm_NEG(lhs) && arm_POS(rhs) && arm_POS(result)) || (arm_POS(lhs) && arm_NEG(rhs) && arm_NEG(result))); - else - return 0; + + return 0; } }}; -- 2.30.2