Separately adapted from permitted Molly Rocket native C (zlib license).
See third_party/meow_hash for the full unmodified notice and provenance.
Reads 64-bit lane INDEX (0 or 1) of a hash register.
#asm { pxor hash:, hash; }
assert(MeowU64From(hash, 0) == 0);Not run: the example is marked ignore.
MeowU64From :: (Hash: reg, $INDEX: int) -> u64
Parameters
- Hash: reg
- $INDEX: int
Returns
- u64