-mllvm --x86-cmov-converter=0
This commit is contained in:
parent
0e79e9f868
commit
65e246774e
@ -262,8 +262,11 @@ po ← { # parsed options
|
||||
"-DFFI="∾•Repr 2×ffi
|
||||
⟩
|
||||
args∾↩ ccClang⊑⟨
|
||||
⟨"-Wno-parentheses"⟩
|
||||
⟨"-Wno-microsoft-anon-tag", "-Wno-bitwise-instead-of-logical", "-Wno-unknown-warning-option"⟩
|
||||
⟨"-Wno-parentheses"⟩ # gcc
|
||||
⟨ # clang
|
||||
"-Wno-microsoft-anon-tag", "-Wno-bitwise-instead-of-logical", "-Wno-unknown-warning-option"
|
||||
"-mllvm", "--x86-cmov-converter=0" # thing that converts `cmov`s to branching sometimes (?), but we don't want that
|
||||
⟩
|
||||
⟩
|
||||
args∾↩ 0⊑GetLibs@
|
||||
|
||||
|
||||
@ -374,7 +374,7 @@ B GRADE_CAT(c2)(B t, B w, B x) {
|
||||
for (usz i = 0; i < xia; i++) {
|
||||
i32 c = xi[i];
|
||||
i32 *s = wi-1;
|
||||
for (usz l = wia+1, h; (h=l/2)>0; l-=h) s += h * !(c LT s[h]);
|
||||
for (usz l = wia+1, h; (h=l/2)>0; l-=h) { i32* m = s+h; if (!(c LT *m)) s = m; }
|
||||
rp[i] = s - (wi-1);
|
||||
}
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user