defuzz replace-movw.patch
authorPeter Michael Green <plugwash@raspbian.org>
Sat, 23 Jan 2021 11:22:47 +0000 (11:22 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 23 Jan 2021 11:22:47 +0000 (11:22 +0000)
debian/patches/replace-movw.patch

index bdf20f15eba66251b8b45f3aeb2fd11969e775b7..413c6da86c7766ae050f52603c0caec7f38670d8 100644 (file)
@@ -1,11 +1,13 @@
 Description: Replace movw with mov and orr
 Author: Peter Michael Green <plugwash@raspbian.org>
 
---- 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