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 {
8787 .Ge => asm volatile (
8888 \\ bl __ltdf2
8989 \\ cmp r0, #0
90 \\ blt 1f
90 \\ bge 1f
9191 \\ movs r0, #0
9292 \\ pop { r4, pc }
9393 \\ 1:
std/special/compiler_rt/arm/aeabi_fcmp.zig+1-1
......@@ -87,7 +87,7 @@ inline fn aeabi_fcmp(comptime cond: ConditionalOperator) void {
8787 .Ge => asm volatile (
8888 \\ bl __ltsf2
8989 \\ cmp r0, #0
90 \\ blt 1f
90 \\ bge 1f
9191 \\ movs r0, #0
9292 \\ pop { r4, pc }
9393 \\ 1: