8458 // matched but the rest of it was not so we need to search |
8458 // matched but the rest of it was not so we need to search |
8459 // again. Start from the next element after the previous match. |
8459 // again. Start from the next element after the previous match. |
8460 subptr(str1, result); // Restore counter |
8460 subptr(str1, result); // Restore counter |
8461 shrl(str1, 1); |
8461 shrl(str1, 1); |
8462 addl(cnt1, str1); |
8462 addl(cnt1, str1); |
|
8463 decrementl(cnt1); |
8463 lea(str1, Address(result, 2)); // Reload string |
8464 lea(str1, Address(result, 2)); // Reload string |
8464 |
8465 |
8465 // Load substr |
8466 // Load substr |
8466 bind(PREP_FOR_SCAN); |
8467 bind(PREP_FOR_SCAN); |
8467 movdqu(vec, Address(str2, 0)); |
8468 movdqu(vec, Address(str2, 0)); |