Displaying 17 results from an estimated 17 matches for "__ppc64__".
Did you mean:
__lp64__
2013 Jul 27
1
[LLVMdev] arch-specific predefines in LLVM's source
...since the system gcc only
>>>> provided
>>>> __ppc__. I was wondering if this justifies using simpler macros
>>>> like
>>>>
>>>> #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...)
>>>> #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__)
>>>> ...)
>> or define more clearly:
>>
>> #define LLVM_PPC32 (((defined(__ppc__) || defined(__powerpc__)) &&
>> !LLVM_PPC64)
>> #define LLVM_PPC_ANY (LLVM_PPC32 || LLVM_PPC64)
>>
>> or
>>
>> #defin...
2013 Jul 26
2
[LLVMdev] arch-specific predefines in LLVM's source
...ich broke my
>> powerpc-apple-darwin8 stage1 tests, since the system gcc only
>> provided
>> __ppc__. I was wondering if this justifies using simpler macros like
>>
>> #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...)
>> #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) ...)
>
> A general note: Given all of the compiler variance out there regarding whether the 32-bit macros are also defined on the 64-bit systems, I really think that you'll need to arrange these as:
>
> #define LLVM_PPC64 (defined(__ppc64__) || defined(__p...
2013 Jul 27
0
[LLVMdev] arch-specific predefines in LLVM's source
...win8 stage1 tests, since the system gcc only
> >> provided
> >> __ppc__. I was wondering if this justifies using simpler macros
> >> like
> >>
> >> #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...)
> >> #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__)
> >> ...)
> >
> > A general note: Given all of the compiler variance out there
> > regarding whether the 32-bit macros are also defined on the 64-bit
> > systems, I really think that you'll need to arrange these as:
> >
> >...
2013 Jul 25
2
[LLVMdev] arch-specific predefines in LLVM's source
...check for __ppc__ (only checking __powerpc__), which broke my
powerpc-apple-darwin8 stage1 tests, since the system gcc only provided
__ppc__. I was wondering if this justifies using simpler macros like
#define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...)
#define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) ...)
I've even seen __POWERPC__, _POWER, _ARCH_PPC being tested in
conditionals.
These proposed standardized macros would only be used in LLVM project
sources; there's no reason to exported them.
The standardized macros would simplify conditionals and make th...
2013 Jul 26
0
[LLVMdev] arch-specific predefines in LLVM's source
...ecking __powerpc__), which broke my
> powerpc-apple-darwin8 stage1 tests, since the system gcc only
> provided
> __ppc__. I was wondering if this justifies using simpler macros like
>
> #define LLVM_PPC (defined(__ppc__) || defined(__powerpc__) ...)
> #define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) ...)
A general note: Given all of the compiler variance out there regarding whether the 32-bit macros are also defined on the 64-bit systems, I really think that you'll need to arrange these as:
#define LLVM_PPC64 (defined(__ppc64__) || defined(__powerpc64__) ...)
#...
2019 Dec 17
2
Build failure on powerpc64
...ndex: src/main/arithmetic.c
===================================================================
--- src/main/arithmetic.c (Revision 77586)
+++ src/main/arithmetic.c (Revision 77587)
@@ -176,8 +176,14 @@
#endif
}
+
#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
+# ifdef __PPC64__
+ // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
+# define q_1_eps (1 / LDBL_EPSILON)
+# else
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
+# endif
#else
static double q_1_eps = 1 / DBL_EPSILON;
#endif
------------- ------------- -------------
Thank you (an...
2020 Mar 25
1
Build failure on powerpc64
...======================
>> --- src/main/arithmetic.c (Revision 77586)
>> +++ src/main/arithmetic.c (Revision 77587)
>> @@ -176,8 +176,14 @@
>> #endif
>> }
>
>> +
>> #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
>> +# ifdef __PPC64__
>> + // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
>> +# define q_1_eps (1 / LDBL_EPSILON)
>> +# else
>> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
>> +# endif
>> #else
>> static double q_1_eps = 1 / DBL_EPSILON;
>&...
2020 Mar 25
0
Build failure on powerpc64
...==========================
> --- src/main/arithmetic.c (Revision 77586)
> +++ src/main/arithmetic.c (Revision 77587)
> @@ -176,8 +176,14 @@
> #endif
> }
> +
> #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
> +# ifdef __PPC64__
> + // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
> +# define q_1_eps (1 / LDBL_EPSILON)
> +# else
> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
> +# endif
> #else
> static double q_1_eps = 1 / DBL_EPSILON;
&...
2008 May 22
1
[LLVMdev] [PATCH] fix for FreeBSD/powerpc build breakage
...==================
--- lib/Target/PowerPC/PPCJITInfo.cpp (revision 51432)
+++ lib/Target/PowerPC/PPCJITInfo.cpp (working copy)
@@ -72,7 +72,7 @@
extern "C" void PPC64CompilationCallback();
#if (defined(__POWERPC__) || defined (__ppc__) || defined(_POWER))
&& \
- !defined(__ppc64__)
+ !(defined(__ppc64__) || defined(__FreeBSD__))
// CompilationCallback stub - We can't use a C function with inline
assembly in
// it, because we the prolog/epilog inserted by GCC won't work for
us. Instead,
// write our own wrapper, which does things our way, so we have
co...
2010 Sep 29
1
location of Rconfig.h when using architecture-dependent subdirs
...ig.h. What step am I missing that causes this file
to be generated?
Thanks,
Kjell
/* This is an automatically generated universal stub for
architecture-dependent headers. */
#ifdef __i386__
#include "i386/Rconfig.h"
#elif defined __ppc__
#include "ppc/Rconfig.h"
#elif defined __ppc64__
#include "ppc64/Rconfig.h"
#elif defined __x86_64__
#include "x86_64/Rconfig.h"
#elif defined __arm__
#include "arm/Rconfig.h"
#else
#error "Unsupported architecture."
#endif
2019 Dec 13
3
Build failure on powerpc64
...amp;& (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
> +/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
> + * of issues constant folding 128bit IBM long doubles.
> + */
> +#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) && !__PPC64__
> static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
> #else
> static double q_1_eps = 1 / DBL_EPSILON;
> Hope that helps someone else.
> Tom
Thank you, Tom. That is "interesting" ...
The piece in question had been added by me,
---------------------------...
2019 Dec 12
0
Build failure on powerpc64
...#endif
}
-#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
+/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
+ * of issues constant folding 128bit IBM long doubles.
+ */
+#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) && !__PPC64__
static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
#else
static double q_1_eps = 1 / DBL_EPSILON;
Hope that helps someone else.
Tom
[[alternative HTML version deleted]]
2019 Dec 13
0
Build failure on powerpc64
...UBLE > SIZEOF_DOUBLE)
> > +/* PowerPC 64 (when gcc has -mlong-double-128) breaks here because
> > + * of issues constant folding 128bit IBM long doubles.
> > + */
> > +#if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE) &&
> !__PPC64__
> > static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
> > #else
> > static double q_1_eps = 1 / DBL_EPSILON;
>
>
> > Hope that helps someone else.
> > Tom
>
> Thank you, Tom. That is "interesting" ...
>
> The piece in questio...
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using
experimental compression that isn''t in mainline kernels, be prepared to backup
and restore or decompress before upgrading, and have backups in case it eats
data (which appears not to be a problem any more, but has been during
development).
These patches add lz4 and lz4hc compression
2013 Sep 23
28
[PATCH 0/2] add LZ4 kernel decompression support
Linux 3.11 added respective support, so I think we should follow
suit.
1: xen: add LZ4 decompression support
2: libxc: add LZ4 decompression support
Signed-off-by: Jan Beulich <jbeulich@suse.com>
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi,
so here it is, LZ4 compression method inside btrfs. The patchset is based on
top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from
Li Zefan. Passes xfstests and stresstests.
I haven''t measured performance on wide range of hardware or workloads, rather
wanted to publish the patches before I get distracted again. I''d like to ask
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...function returned negative).
+ */
+ return (LZ4_uncompress_unknownOutputSize(s_start + 4, d_start, bufsiz,
+ d_len) < 0);
+}
+
+/*
+ * CPU Feature Detection
+ */
+
+/* 32 or 64 bits ? */
+#if (defined(__x86_64__) || defined(__x86_64) || defined(__amd64__) || \
+ defined(__amd64) || defined(__ppc64__) || defined(_WIN64) || \
+ defined(__LP64__) || defined(_LP64))
+#define LZ4_ARCH64 1
+#else
+#define LZ4_ARCH64 0
+#endif
+
+/*
+ * Little Endian or Big Endian?
+ * Note: overwrite the below #define if you know your architecture endianess.
+ */
+#if (defined(__BIG_ENDIAN__) || defined(__BIG_ENDIAN...