projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target-alpha: fix cmpbge instruction
[qemu]
/
target-alpha
/
op_helper.c
diff --git
a/target-alpha/op_helper.c
b/target-alpha/op_helper.c
index
393187e
..
0fa4fe0
100644
(file)
--- 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)