/[qemu]
ViewVC logotype

Revision 5667


Jump to revision: Previous Next
Author: aurel32
Date: Mon Nov 10 11:10:14 2008 UTC (15 years ago)
Changed paths: 1
Log Message:
target-alpha: fix cmpbge instruction

The cmpbge instruction should compare all 8 bytes of one 64-bit value with
another.  However, we were looping with a < 7 condition which was skipping
the top byte.  So if we were doing a compare where the top byte was
important, we could get the wrong result (this notably breaks the strlen()
function with certain sized strings).

(Vince Weaver)

Changed paths:

Path Details
Directorytrunk/target-alpha/op_helper.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5