mirror of
https://github.com/termux/termux-packages.git
synced 2025-03-02 19:15:59 +00:00
137 lines
4.1 KiB
Diff
137 lines
4.1 KiB
Diff
From 6a125e5bdaa15675ebf97e4740de18e6ddf46c5a Mon Sep 17 00:00:00 2001
|
|
From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com>
|
|
Date: Wed, 30 Jun 2021 14:28:14 +0700
|
|
Subject: [PATCH] Remove pre-UAL aliases
|
|
|
|
---
|
|
src/hotspot/os_cpu/linux_arm/linux_arm_32.S | 40 ++++++++++-----------
|
|
1 file changed, 20 insertions(+), 20 deletions(-)
|
|
|
|
diff --git a/src/hotspot/os_cpu/linux_arm/linux_arm_32.S b/src/hotspot/os_cpu/linux_arm/linux_arm_32.S
|
|
index c1c8fd428154..626982e13db0 100644
|
|
--- a/src/hotspot/os_cpu/linux_arm/linux_arm_32.S
|
|
+++ b/src/hotspot/os_cpu/linux_arm/linux_arm_32.S
|
|
@@ -94,7 +94,7 @@ dw_f2b_loop_32:
|
|
stmia to!, {r3 - r9, ip}
|
|
bgt dw_f2b_loop_32
|
|
dw_f2b_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq disjoint_words_finish
|
|
cmp r2, #16
|
|
blt disjoint_words_small
|
|
@@ -142,7 +142,7 @@ cw_f2b_loop_32:
|
|
stmia to!, {r3 - r9, ip}
|
|
bgt cw_f2b_loop_32
|
|
cw_f2b_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_words_finish
|
|
cmp r2, #16
|
|
blt conjoint_words_small
|
|
@@ -175,7 +175,7 @@ cw_b2f_loop_32:
|
|
stmdb to!, {r3-r9,ip}
|
|
bgt cw_b2f_loop_32
|
|
cw_b2f_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_words_finish
|
|
cmp r2, #16
|
|
blt cw_b2f_copy_small
|
|
@@ -227,7 +227,7 @@ cs_f2b_loop_32:
|
|
stmia to!, {r3 - r9, ip}
|
|
bgt cs_f2b_loop_32
|
|
cs_f2b_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_shorts_finish
|
|
movs r6, r2, lsr #3
|
|
.align 3
|
|
@@ -243,11 +243,11 @@ cs_f2b_4:
|
|
beq conjoint_shorts_finish
|
|
cmp r2, #4
|
|
ldrh r3, [from], #2
|
|
- ldrgeh r4, [from], #2
|
|
- ldrgth r5, [from], #2
|
|
+ ldrhge r4, [from], #2
|
|
+ ldrhgt r5, [from], #2
|
|
strh r3, [to], #2
|
|
- strgeh r4, [to], #2
|
|
- strgth r5, [to], #2
|
|
+ strhge r4, [to], #2
|
|
+ strhgt r5, [to], #2
|
|
b conjoint_shorts_finish
|
|
|
|
# Destination not aligned
|
|
@@ -305,11 +305,11 @@ cs_f2b_4_u:
|
|
beq conjoint_shorts_finish
|
|
cmp r2, #4
|
|
ldrh r3, [from], #2
|
|
- ldrgeh r4, [from], #2
|
|
- ldrgth r5, [from], #2
|
|
+ ldrhge r4, [from], #2
|
|
+ ldrhgt r5, [from], #2
|
|
strh r3, [to], #2
|
|
- strgeh r4, [to], #2
|
|
- strgth r5, [to], #2
|
|
+ strhge r4, [to], #2
|
|
+ strhgt r5, [to], #2
|
|
b conjoint_shorts_finish
|
|
|
|
# Src and dest overlap, copy in a descending order
|
|
@@ -332,7 +332,7 @@ cs_b2f_loop_32:
|
|
stmdb to!, {r3-r9,ip}
|
|
bgt cs_b2f_loop_32
|
|
cs_b2f_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_shorts_finish
|
|
cmp r2, #24
|
|
blt cs_b2f_16
|
|
@@ -358,11 +358,11 @@ cs_b2f_8:
|
|
cs_b2f_all_copy:
|
|
cmp r2, #4
|
|
ldrh r3, [from, #-2]!
|
|
- ldrgeh r4, [from, #-2]!
|
|
- ldrgth r5, [from, #-2]!
|
|
+ ldrhge r4, [from, #-2]!
|
|
+ ldrhgt r5, [from, #-2]!
|
|
strh r3, [to, #-2]!
|
|
- strgeh r4, [to, #-2]!
|
|
- strgth r5, [to, #-2]!
|
|
+ strhge r4, [to, #-2]!
|
|
+ strhgt r5, [to, #-2]!
|
|
b conjoint_shorts_finish
|
|
|
|
# Destination not aligned
|
|
@@ -397,7 +397,7 @@ cs_b2f_16_loop_u:
|
|
bgt cs_b2f_16_loop_u
|
|
beq conjoint_shorts_finish
|
|
cs_b2f_16_loop_u_finished:
|
|
- addlts r2, #16
|
|
+ addslt r2, #16
|
|
ldr r3, [from]
|
|
cmp r2, #10
|
|
blt cs_b2f_2_u_loop
|
|
@@ -460,7 +460,7 @@ cl_f2b_loop_32:
|
|
stmia to!, {r3 - r9, ip}
|
|
bgt cl_f2b_loop_32
|
|
cl_f2b_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_longs_finish
|
|
conjoint_longs_small:
|
|
cmp r2, #16
|
|
@@ -493,7 +493,7 @@ cl_b2f_loop_32:
|
|
stmdb to!, {r3 - r9, ip}
|
|
bgt cl_b2f_loop_32
|
|
cl_b2f_loop_32_finish:
|
|
- addlts r2, #32
|
|
+ addslt r2, #32
|
|
beq conjoint_longs_finish
|
|
cmp r2, #16
|
|
blt cl_b2f_copy_8
|
|
--
|
|
2.44.0
|
|
|