This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Generate a hash using the values in Zmm0 and return Zmm0 | |
/// | |
/// Clobbers Zmm1!!! | |
fn hash_zmm0(outasm: &mut falkasm::AsmStream, conststore: &mut ConstStore) | |
{ | |
let kmask = Operand::KmaskRegister(KmaskType::Merge(KmaskReg::K1)); | |
let thirt = Membc(Some(R10), None, conststore.add_const(13) | |
.unwind("Out of room for constant storage") as i64 * 4); | |
let sevent = Membc(Some(R10), None, conststore.add_const(17) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob, json, os, sys, urlparse, hashlib, urllib | |
CRATES_IO_GIT = "https://github.com/rust-lang/crates.io-index" | |
DOWNLOAD_BASE = "https://crates.io/api/v1/crates" | |
def parse_index(): | |
if os.path.exists("crates.io-index"): | |
print "Updating crates.io-index git repo" | |
os.system("cd crates.io-index ; git pull") | |
else: |
NewerOlder