[Gluster-devel] NetBSD autobuild and cmockery2

Emmanuel Dreyfus manu at netbsd.org
Thu Jul 24 04:05:16 UTC 2014


Harshavardhana <harsha at harshavardhana.net> wrote:

> > The change just disable cluster/ec when MMX is not there. If you have
> > MMX you have cluster/ec.
> Unsure - there is assembly code which depends on it but really not sure why!

I understand this is an optimized computation:
 * Multiplications in a GF(2^8) with modulus 0x11D using XOR's

Optimization are desirable, but relying on a CPU-specific assembly seems
wrong to me, as it kills portability (what about if you want to run on
ARM?)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list