authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-05-06 21:43:34+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-05-07 11:47:23+02:00
log94b504c9e41c84825708701a2bf7a3cc7bdca375
treee315752eb4e799073c49bda248a93f7df832aa23
parenta3beda27fc9093b6d4d5538104d2704590d7cf2b

Fix float comparison result in __aeabi_{f,d}cmp*


2 files changed, 2 insertions(+), 2 deletions(-)

std/special/compiler_rt/arm/aeabi_dcmp.zig+1-1
...@@ -87,7 +87,7 @@ inline fn aeabi_dcmp(comptime cond: ConditionalOperator) void {...@@ -87,7 +87,7 @@ inline fn aeabi_dcmp(comptime cond: ConditionalOperator) void {
87 .Ge => asm volatile (87 .Ge => asm volatile (
88 \\ bl __ltdf288 \\ bl __ltdf2
89 \\ cmp r0, #089 \\ cmp r0, #0
90 \\ blt 1f90 \\ bge 1f
91 \\ movs r0, #091 \\ movs r0, #0
92 \\ pop { r4, pc }92 \\ pop { r4, pc }
93 \\ 1:93 \\ 1:
std/special/compiler_rt/arm/aeabi_fcmp.zig+1-1
...@@ -87,7 +87,7 @@ inline fn aeabi_fcmp(comptime cond: ConditionalOperator) void {...@@ -87,7 +87,7 @@ inline fn aeabi_fcmp(comptime cond: ConditionalOperator) void {
87 .Ge => asm volatile (87 .Ge => asm volatile (
88 \\ bl __ltsf288 \\ bl __ltsf2
89 \\ cmp r0, #089 \\ cmp r0, #0
90 \\ blt 1f90 \\ bge 1f
91 \\ movs r0, #091 \\ movs r0, #0
92 \\ pop { r4, pc }92 \\ pop { r4, pc }
93 \\ 1:93 \\ 1: