Skip to content

Commit 9f43a34

Browse files
committed
Restore original code for __hexagon_subdf3
I was under the mistaken assumption I needed a `call` here but an extended jump will suffice. The call on its own would have failed without an allocframe/dealloc. Signed-off-by: Brian Cain <[email protected]>
1 parent 711b7cb commit 9f43a34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/compiler_rt/hexagon.zig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,8 @@ fn __hexagon_subdf3() align(32) callconv(.naked) noreturn {
814814
asm volatile (
815815
\\ {
816816
\\ r3 = togglebit(r3,#31)
817-
\\ call __hexagon_adddf3
817+
\\ jump ##__hexagon_adddf3
818818
\\ }
819-
\\ jumpr r31
820819
);
821820
}
822821

0 commit comments

Comments
 (0)