(msort_with_tmp): Fixed alignment test. B1 and B2 are always congruent; just test that B1 is aligned.
This commit is contained in:
parent
1571a01695
commit
cbf48a6ba0
|
@ -45,7 +45,7 @@ DEFUN(msort_with_tmp, (b, n, s, cmp, t),
|
||||||
|
|
||||||
tmp = t;
|
tmp = t;
|
||||||
|
|
||||||
if (s == OPSIZ && (b1 - b2) % OPSIZ == 0)
|
if (s == OPSIZ && (b1 - (char *) 0) % OPSIZ == 0)
|
||||||
/* We are operating on aligned words. Use direct word stores. */
|
/* We are operating on aligned words. Use direct word stores. */
|
||||||
while (n1 > 0 && n2 > 0)
|
while (n1 > 0 && n2 > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue