| commit | 938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80 | [log] [tgz] |
|---|---|---|
| author | Joerg Sonnenberger <joerg@bec.de> | Fri Feb 21 23:53:03 2014 +0000 |
| committer | Joerg Sonnenberger <joerg@bec.de> | Fri Feb 21 23:53:03 2014 +0000 |
| tree | fa0918b5bbc26e08c2f7f3d094fcf831e7a7dcd1 | |
| parent | e245715fca522169779834c6d5bd2fbb65fbdffe [diff] [blame] |
Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms. Use it to enable the various functions for TI mode. llvm-svn: 201909
diff --git a/compiler-rt/lib/builtins/negti2.c b/compiler-rt/lib/builtins/negti2.c index f7e4ad3..28ef941 100644 --- a/compiler-rt/lib/builtins/negti2.c +++ b/compiler-rt/lib/builtins/negti2.c
@@ -14,7 +14,7 @@ #include "int_lib.h" -#if __x86_64 +#ifdef CRT_HAS_128BIT /* Returns: -a */ @@ -27,4 +27,4 @@ return -a; } -#endif +#endif /* CRT_HAS_128BIT */