From 970d622e8ab1de8fdf5762e23e92a2dea9d7d36c Mon Sep 17 00:00:00 2001
From: aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Mon, 10 Nov 2008 11:10:14 +0000
Subject: [PATCH] target-alpha: fix cmpbge instruction

---
 target-alpha/op_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 393187e..0fa4fe0 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -330,7 +330,7 @@ uint64_t helper_cmpbge (uint64_t op1, uint64_t op2)
     int i;
 
     res = 0;
-    for (i = 0; i < 7; i++) {
+    for (i = 0; i < 8; i++) {
         opa = op1 >> (i * 8);
         opb = op2 >> (i * 8);
         if (opa >= opb)
--
libgit2 0.23.3