[openfirmware] [commit] r2264 - cpu/arm
repository service
svn at openfirmware.info
Sun Jun 12 10:52:59 CEST 2011
Author: wmb
Date: Sun Jun 12 10:52:58 2011
New Revision: 2264
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2264
Log:
ARM kernel - fixed bug in comp relating to sign of result.
Modified:
cpu/arm/kerncode.fth
Modified: cpu/arm/kerncode.fth
==============================================================================
--- cpu/arm/kerncode.fth Sun Jun 12 10:50:54 2011 (r2263)
+++ cpu/arm/kerncode.fth Sun Jun 12 10:52:58 2011 (r2264)
@@ -1108,18 +1108,10 @@
0<> while
ldrb r2,[r0],#1
ldrb r3,[r1],#1
- cmp r2,r3
-[ifdef] fixme
-0<> if
+ cmp r3,r2
movgt tos,#1
mvnlt tos,#0
nxtne
-then
-[else]
- movgt tos,#1
- mvnlt tos,#0
- nxtne
-[then]
repeat
mov tos,#0
c;
@@ -1143,18 +1135,10 @@
cmp r3,#0x5b \ ascii [
inclt r3,#0x20
then
- cmp r2,r3
-[ifdef] fixme
-0<> if
- movgt tos,#1
- mvnlt tos,#0
- nxtne
-then
-[else]
+ cmp r3,r2
movgt tos,#1
mvnlt tos,#0
nxtne
-[then]
repeat
mov tos,#0
c;
More information about the openfirmware
mailing list