summaryrefslogtreecommitdiff
path: root/src/arch/arm/libgcc/umoddi3.c
blob: 0f111f2b135237a787fb541517d616765fc9a25d (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#include "libgcc.h"
uint64_t __umoddi3(uint64_t num, uint64_t den)
{
	uint64_t v;
	(void) __udivmoddi4(num, den, &v);
	return v;
}