masked version of dverm

This commit is contained in:
Alex Coyte
2016-03-21 16:19:46 +11:00
committed by Matthew Barr
parent 89d7728f77
commit b4727cf1ea
11 changed files with 371 additions and 13 deletions

View File

@@ -96,10 +96,12 @@ struct AccelScheme {
return a.double_byte.size() < b.double_byte.size();
}
bool cd_a = isCaselessDouble(a.double_byte);
bool cd_b = isCaselessDouble(b.double_byte);
if (cd_a != cd_b) {
return cd_a > cd_b;
if (!a_dcount) {
bool cd_a = buildDvermMask(a.double_byte);
bool cd_b = buildDvermMask(b.double_byte);
if (cd_a != cd_b) {
return cd_a > cd_b;
}
}
ORDER_CHECK(double_byte.size());
ORDER_CHECK(double_offset);