1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
6 #include <linux/linkage.h>
8 SYM_FUNC_START(__hexagon_divsi3)
28 if (p0.new) jumpr:nt r31
34 r6 = add(#1,lsr(r6,#1))
50 if (!p0.new) r0 = add(r0,r5)
51 if (!p0.new) r2 = sub(r2,r4)
56 if (!p0.new) r0 = add(r0,r7)
57 if (!p0.new) r2 = sub(r2,r6)
61 if (!p0) r0 = add(r0,r7)
64 if (p3) r0 = sub(r1,r0)
67 SYM_FUNC_END(__hexagon_divsi3)