vec_search_string_cc: Vector Search String
e = vec_search_string_cc(a, b, c, d)
Returns the starting byte index, in element index 7, for searching the substring, or partial
substring (at the end), b, of length c[7] in bytes, in vector
a.
If the substring is not found, e[7] equals 16. All other elements of the return
vector are 0.
The condition code from the VSTRS instruction is returned in *d.
Notes:
c[7]must contain a value that is a multiple of the corresponding inputsa/bvector element size, within the range of 0 to 16 inclusive.- If
c[7]equals 0,e[7]equals 0.
| e | a | b | c | d | MIN ARCH |
|---|---|---|---|---|---|
| vector unsigned char | vector bool char | vector bool char | vector unsigned char | int * | ARCH(13) |
| vector unsigned char | vector unsigned char | ||||
| vector signed char | vector signed char | ||||
| vector bool short | vector bool short | ||||
| vector unsigned short | vector unsigned short | ||||
| vector signed short | vector signed short | ||||
| vector bool int | vector bool int | ||||
| vector unsigned int | vector unsigned int | ||||
| vector signed int | vector signed int |
