diff options
author | 2020-08-10 21:14:10 +0000 | |
---|---|---|
committer | 2020-08-10 21:14:10 +0000 | |
commit | f2119caf99b8ed409235597050ceebdc9102f562 (patch) | |
tree | cfb90cfe994f47cfaf95506823ca0dac2d08b04d /lib/libcompiler_rt/udivmodsi4.c | |
parent | Un-hook and re-hook libcompiler_rt. (diff) | |
download | wireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.tar.xz wireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.zip |
Tedu compiler-rt 8.0.1.
Diffstat (limited to 'lib/libcompiler_rt/udivmodsi4.c')
-rw-r--r-- | lib/libcompiler_rt/udivmodsi4.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/libcompiler_rt/udivmodsi4.c b/lib/libcompiler_rt/udivmodsi4.c deleted file mode 100644 index 789c4b5061e..00000000000 --- a/lib/libcompiler_rt/udivmodsi4.c +++ /dev/null @@ -1,27 +0,0 @@ -/*===-- udivmodsi4.c - Implement __udivmodsi4 ------------------------------=== - * - * The LLVM Compiler Infrastructure - * - * This file is dual licensed under the MIT and the University of Illinois Open - * Source Licenses. See LICENSE.TXT for details. - * - * ===----------------------------------------------------------------------=== - * - * This file implements __udivmodsi4 for the compiler_rt library. - * - * ===----------------------------------------------------------------------=== - */ - -#include "int_lib.h" - -/* Returns: a / b, *rem = a % b */ - -COMPILER_RT_ABI su_int -__udivmodsi4(su_int a, su_int b, su_int* rem) -{ - si_int d = __udivsi3(a,b); - *rem = a - (d*b); - return d; -} - - |