The diff below adds test cases.
Index: none/tests/amd64/pcmpstr64.c =================================================================== --- none/tests/amd64/pcmpstr64.c (revision 12776) +++ none/tests/amd64/pcmpstr64.c (working copy) @@ -639,6 +639,11 @@ try_istri(wot,h,s, "1111111111111234", "1111111111111234"); try_istri(wot,h,s, "a111111111111111", "000000000000000a"); try_istri(wot,h,s, "b111111111111111", "000000000000000a"); + + try_istri(wot,h,s, "b111111111111111", "0000000000000000"); + try_istri(wot,h,s, "0000000000000000", "0000000000000000"); + try_istri(wot,h,s, "123456789abcdef1", "0000000000000000"); + try_istri(wot,h,s, "0000000000000000", "123456789abcdef1"); }
Index: none/tests/amd64/pcmpstr64w.c =================================================================== --- none/tests/amd64/pcmpstr64w.c (revision 12776) +++ none/tests/amd64/pcmpstr64w.c (working copy) @@ -638,6 +638,11 @@ try_istri(wot,h,s, "1111111111111234", "1111111111111234"); try_istri(wot,h,s, "0a11111111111111", "000000000000000a"); try_istri(wot,h,s, "0b11111111111111", "000000000000000a"); + + try_istri(wot,h,s, "b111111111111111", "0000000000000000"); + try_istri(wot,h,s, "0000000000000000", "0000000000000000"); + try_istri(wot,h,s, "123456789abcdef1", "0000000000000000"); + try_istri(wot,h,s, "0000000000000000", "123456789abcdef1"); }
The diff below adds test cases.
Index: none/tests/ amd64/pcmpstr64 .c ======= ======= ======= ======= ======= ======= ======= ======= ==== amd64/pcmpstr64 .c (revision 12776) amd64/pcmpstr64 .c (working copy) istri(wot, h,s, "1111111111111234", "11111111111112 34"); istri(wot, h,s, "a111111111111111", "00000000000000 0a"); istri(wot, h,s, "b111111111111111", "00000000000000 0a"); 00"); 00"); 00"); f1");
=======
--- none/tests/
+++ none/tests/
@@ -639,6 +639,11 @@
try_
try_
try_
+
+ try_istri(wot,h,s, "b111111111111111", "00000000000000
+ try_istri(wot,h,s, "0000000000000000", "00000000000000
+ try_istri(wot,h,s, "123456789abcdef1", "00000000000000
+ try_istri(wot,h,s, "0000000000000000", "123456789abcde
}
Index: none/tests/ amd64/pcmpstr64 w.c ======= ======= ======= ======= ======= ======= ======= ======= ==== amd64/pcmpstr64 w.c (revision 12776) amd64/pcmpstr64 w.c (working copy) istri(wot, h,s, "1111111111111234", "11111111111112 34"); istri(wot, h,s, "0a11111111111111", "00000000000000 0a"); istri(wot, h,s, "0b11111111111111", "00000000000000 0a"); 00"); 00"); 00"); f1");
=======
--- none/tests/
+++ none/tests/
@@ -638,6 +638,11 @@
try_
try_
try_
+
+ try_istri(wot,h,s, "b111111111111111", "00000000000000
+ try_istri(wot,h,s, "0000000000000000", "00000000000000
+ try_istri(wot,h,s, "123456789abcdef1", "00000000000000
+ try_istri(wot,h,s, "0000000000000000", "123456789abcde
}