diff options
-rw-r--r-- | target-alpha/op_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index 393187eb79..0fa4fe015a 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) |