Displaying 5 results from an estimated 5 matches for "x864_64".
Did you mean:
x84_64
2018 Mar 27
2
murmurhash3 test failures on big-endian systems
...turns out there's a missing byte-inversion when loading the blocks
> which should be addressed in getblock{32,64}. Murmurhash treats each
> block as an integer expecting little-endian storage. Applying this
> additional change fixes the build on s390x (and does not break it on
> x864_64):
>
> --- b/src/lib/murmurhash3.c
> +++ b/src/lib/murmurhash3.c
> @@ -23,7 +23,7 @@
>
> static inline uint32_t getblock32(const uint32_t *p, int i)
> {
> - return p[i];
> + return cpu32_to_le(p[i]);
? or perhaps le32_to_cpu, although it should be the same in the en...
2018 Mar 27
2
murmurhash3 test failures on big-endian systems
Hi,
On 12:55 Mon 26 Mar , Josef 'Jeff' Sipek wrote:
> On Mon, Mar 26, 2018 at 15:57:01 +0300, Apollon Oikonomopoulos wrote:
> ...
> > I'd be happy to test the patch, thanks!
>
> Ok, try the attached patch. (It is a first pass at the issue, so it may not
> be the final diff that'll end up getting committed. It'd be good to know if
> it actually
2018 Mar 27
0
murmurhash3 test failures on big-endian systems
......... : FAILED
It turns out there's a missing byte-inversion when loading the blocks
which should be addressed in getblock{32,64}. Murmurhash treats each
block as an integer expecting little-endian storage. Applying this
additional change fixes the build on s390x (and does not break it on
x864_64):
--- b/src/lib/murmurhash3.c
+++ b/src/lib/murmurhash3.c
@@ -23,7 +23,7 @@
static inline uint32_t getblock32(const uint32_t *p, int i)
{
- return p[i];
+ return cpu32_to_le(p[i]);
}
//-----------------------------------------------------------------------------
@@ -105,7 +105,7 @@
stati...
2018 Mar 27
0
murmurhash3 test failures on big-endian systems
...s a missing byte-inversion when loading the blocks
> > which should be addressed in getblock{32,64}. Murmurhash treats each
> > block as an integer expecting little-endian storage. Applying this
> > additional change fixes the build on s390x (and does not break it on
> > x864_64):
> >
> > --- b/src/lib/murmurhash3.c
> > +++ b/src/lib/murmurhash3.c
> > @@ -23,7 +23,7 @@
> >
> > static inline uint32_t getblock32(const uint32_t *p, int i)
> > {
> > - return p[i];
> > + return cpu32_to_le(p[i]);
>
> ? or perhap...
2018 Mar 28
1
murmurhash3 test failures on big-endian systems
...ersion when loading the blocks
> > > which should be addressed in getblock{32,64}. Murmurhash treats each
> > > block as an integer expecting little-endian storage. Applying this
> > > additional change fixes the build on s390x (and does not break it on
> > > x864_64):
> > >
> > > --- b/src/lib/murmurhash3.c
> > > +++ b/src/lib/murmurhash3.c
> > > @@ -23,7 +23,7 @@
> > >
> > > static inline uint32_t getblock32(const uint32_t *p, int i)
> > > {
> > > - return p[i];
> > > + ret...