From c33603e3249ee69bd6c698a99d3248257bf60bd7 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 14 Jul 2019 13:05:52 -0700 Subject: [PATCH] 'bound' register was clobbered modified: stub/src/arch/arm64/v8/lzma_d-arm.S --- src/stub/src/arch/arm64/v8/lzma_d-arm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/src/arch/arm64/v8/lzma_d-arm.S b/src/stub/src/arch/arm64/v8/lzma_d-arm.S index a6ea41e8..e9d55041 100644 --- a/src/stub/src/arch/arm64/v8/lzma_d-arm.S +++ b/src/stub/src/arch/arm64/v8/lzma_d-arm.S @@ -503,8 +503,8 @@ rcGetBitCont: mul bound,starp,y0tmp cmp Code,bound; bhs rcGB1 rcGB0: // Code < bound + mov Range,bound // 'bound' dies mov y0tmp,#kBitModelTotal - mov Range,bound sub y0tmp,y0tmp,starp adcs mo,mi,mi // mo = (mi<<1) | (Code >= bound); set CC add starp,starp,y0tmp, lsr #kNumMoveBits