summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:38:24 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-26 20:38:24 +0000
commit2fd71ac0233fb2ee70bd3f502a05da14b8d1c068 (patch)
tree57a328bc5c566932dd774bf18d3792d965d0ae65
parent0fc6894b9ebf39eaf0f06712815c0b705dbc2624 (diff)
Undef helper macros after using them.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202298 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/builtins/fp_lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/builtins/fp_lib.h b/lib/builtins/fp_lib.h
index 661119ae4..31714b194 100644
--- a/lib/builtins/fp_lib.h
+++ b/lib/builtins/fp_lib.h
@@ -83,6 +83,8 @@ static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
// Sum terms contributing to hi with the carry from lo
*hi = hiWord(plohi) + hiWord(philo) + hiWord(r1) + phihi;
}
+#undef loWord
+#undef hiWord
#else
#error Either SINGLE_PRECISION or DOUBLE_PRECISION must be defined.