Author: quozl Date: Mon Nov 24 23:48:54 2014 New Revision: 3748 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3748
Log: [ARM] fixed signed double conversion, from Matthijs van Duin matthijsvanduin@gmail.com, 24th November 2014, fixes a regression introduced in r3740, affected d<= and d> only.
Modified: cpu/arm/kerncode.fth
Modified: cpu/arm/kerncode.fth ============================================================================== --- cpu/arm/kerncode.fth Thu Nov 20 00:05:11 2014 (r3747) +++ cpu/arm/kerncode.fth Mon Nov 24 23:48:54 2014 (r3748) @@ -822,17 +822,17 @@ c; code d> ( d1 d2 -- f ) ldmia sp!,{r0,r1,r2} \ tos r0 r1 r2 - subs r2,r2,r0 - sbcs r1,r1,tos - movle tos,#0 - mvngt tos,#0 + subs r2,r0,r2 + sbcs r1,tos,r1 + movge tos,#0 + mvnlt tos,#0 c; code d<= ( d1 d2 -- f ) ldmia sp!,{r0,r1,r2} \ tos r0 r1 r2 - subs r2,r2,r0 - sbcs tos,r1,tos - movgt tos,#0 - mvnle tos,#0 + subs r2,r0,r2 + sbcs r1,tos,r1 + movlt tos,#0 + mvnge tos,#0 c; code du< ( d1 d2 -- f ) ldmia sp!,{r0,r1,r2} \ tos r0 r1 r2
openfirmware@openfirmware.info