authorgravatar for ashergrossman185@gmail.comilovapples <ashergrossman185@gmail.com> 2026-08-06 17:58:56-05:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-07 15:44:32+02:00
log340e53a65e8175b6d98b11ec2f33461395f722d1
tree6a8216c67799037c105eb0e2af6bdbe2ca4ebb96
parentb9852d23089a524dafaa2487f207457b2a183af1

compiler_rt: downgrade ARMv6 Thumb instructions to ARMv4-valid variants


1 files changed, 6 insertions(+), 6 deletions(-)

lib/compiler_rt/int_from_float.zig+6-6
......@@ -119,7 +119,7 @@ fn __aeabi_fixsfti(_: compiler_rt.f32.Abi) callconv(.naked) i128 {
119119 switch (builtin.abi.float()) {
120120 .soft => asm volatile (
121121 \\ push {r0-r4, lr}
122 \\ mov r1, r0
122 \\ movs r1, r0
123123 \\ mov r0, sp
124124 \\ bl %[__fixsfti]
125125 \\ pop {r0-r4, pc}
......@@ -175,8 +175,8 @@ fn __aeabi_fixdfti(_: compiler_rt.f64.Abi) callconv(.naked) i128 {
175175 switch (builtin.abi.float()) {
176176 .soft => asm volatile (
177177 \\ push {r0-r4, lr}
178 \\ mov r3, r1
179 \\ mov r2, r0
178 \\ movs r3, r1
179 \\ movs r2, r0
180180 \\ mov r0, sp
181181 \\ bl %[__fixdfti]
182182 \\ pop {r0-r4, pc}
......@@ -382,7 +382,7 @@ fn __aeabi_fixunssfti(_: compiler_rt.f32.Abi) callconv(.naked) u128 {
382382 switch (builtin.abi.float()) {
383383 .soft => asm volatile (
384384 \\ push {r0-r4, lr}
385 \\ mov r1, r0
385 \\ movs r1, r0
386386 \\ mov r0, sp
387387 \\ bl %[__fixunssfti]
388388 \\ pop {r0-r4, pc}
......@@ -438,8 +438,8 @@ fn __aeabi_fixunsdfti(_: compiler_rt.f64.Abi) callconv(.naked) u128 {
438438 switch (builtin.abi.float()) {
439439 .soft => asm volatile (
440440 \\ push {r0-r4, lr}
441 \\ mov r3, r1
442 \\ mov r2, r0
441 \\ movs r3, r1
442 \\ movs r2, r0
443443 \\ mov r0, sp
444444 \\ bl %[__fixunsdfti]
445445 \\ pop {r0-r4, pc}