From: Peter Michael Green Date: Sat, 23 Jan 2021 11:22:47 +0000 (+0000) Subject: defuzz replace-movw.patch X-Git-Tag: archive/raspbian/10.0.0+r36-3+rpi1~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=10d99f4f1addff8bcb9a0a39f9ee44531d036fd7;p=android-platform-art.git defuzz replace-movw.patch --- diff --git a/debian/patches/replace-movw.patch b/debian/patches/replace-movw.patch index bdf20f1..413c6da 100644 --- a/debian/patches/replace-movw.patch +++ b/debian/patches/replace-movw.patch @@ -1,11 +1,13 @@ Description: Replace movw with mov and orr Author: Peter Michael Green ---- android-platform-art-8.1.0+r23.orig/runtime/interpreter/mterp/arm/floating_point.S -+++ android-platform-art-8.1.0+r23/runtime/interpreter/mterp/arm/floating_point.S -@@ -7755,12 +7755,14 @@ d2l_doconv: - lsl r2, r1, #1 - lsr r2, r2, #21 +diff --git a/runtime/interpreter/mterp/arm/floating_point.S b/runtime/interpreter/mterp/arm/floating_point.S +index f2b7b3b..2f78fa9 100644 +--- a/runtime/interpreter/mterp/arm/floating_point.S ++++ b/runtime/interpreter/mterp/arm/floating_point.S +@@ -353,12 +353,14 @@ d2l_doconv: + lsl r2, r1, #(32-(11)-(20)) + lsr r2, r2, #((32-(11)) @ end replacement of ubfx r2, r1, #20, #11 @ grab the exponent - movw r3, #0x43e + mov r3, #0x03e