Skip to content

Commit 7abf2b7

Browse files
committed
Move 16-bit arithmetic helpers to msp430/ directory
1 parent 1d7a881 commit 7abf2b7

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,10 +539,10 @@ set(mips64el_SOURCES ${GENERIC_TF_SOURCES}
539539
set(msp430_SOURCES
540540
msp430/sim_abort.c
541541
# 16-bit integer div/mod
542-
divhi3.c
543-
udivhi3.c
544-
modhi3.c
545-
umodhi3.c
542+
msp430/divhi3.c
543+
msp430/udivhi3.c
544+
msp430/modhi3.c
545+
msp430/umodhi3.c
546546
# MSP430-specific LibCalls
547547
msp430/mspabi_func_epilog.S
548548
msp430/mspabi_slli.S

compiler-rt/lib/builtins/divhi3.c renamed to compiler-rt/lib/builtins/msp430/divhi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "int_lib.h"
13+
#include "../int_lib.h"
1414

1515
// Returns: a / b
1616

compiler-rt/lib/builtins/modhi3.c renamed to compiler-rt/lib/builtins/msp430/modhi3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "int_lib.h"
13+
#include "../int_lib.h"
1414

1515
// Returns: a % b
1616

compiler-rt/lib/builtins/udivhi3.c renamed to compiler-rt/lib/builtins/msp430/udivhi3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "int_lib.h"
13+
#include "../int_lib.h"
1414

1515
typedef hu_int fixuint_t;
1616
typedef hi_int fixint_t;
17-
#include "int_div_impl.inc"
17+
#include "../int_div_impl.inc"
1818

1919
// Returns: a / b
2020

compiler-rt/lib/builtins/umodhi3.c renamed to compiler-rt/lib/builtins/msp430/umodhi3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "int_lib.h"
13+
#include "../int_lib.h"
1414

1515
typedef hu_int fixuint_t;
1616
typedef hi_int fixint_t;
17-
#include "int_div_impl.inc"
17+
#include "../int_div_impl.inc"
1818

1919
// Returns: a % b
2020

0 commit comments

Comments
 (0)