changeset 71f11a6aa8a9 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=71f11a6aa8a9
description:
gcc: work around a bogus gcc error
diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
src/arch/arm/isa/util.isa | 16 ++++++++--------
diffs (47 lines):
diff -r 39d8a2197b77 -r 71f11a6aa8a9 src/arch/arm/isa/util.isa
--- a/src/arch/arm/isa/util.isa Tue May 12 22:33:05 2009 -0700
+++ b/src/arch/arm/isa/util.isa Tue May 12 22:33:05 2009 -0700
@@ -242,8 +242,8 @@
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 @@
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 @@
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 @@
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;
}
}};
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev