Example my assembly with gcc -02 flag
Before:

After:

--
v5: d3dcompiler_43: micro-optimization using strstr -> strchr implementation if possible
wusa: micro-optimization using strstr -> strchr implementation if possible
oledb32: micro-optimization using strstr -> strchr implementation if possible
wbemprox: micro-optimization using strstr -> strchr implementation if possible
oledb32: micro-optimization using strstr -> strchr implementation if possible
wusa: micro-optimization using strstr -> strchr implementation if possible
msidb: micro-optimization using strstr -> strchr implementation if possible
https://gitlab.winehq.org/wine/wine/-/merge_requests/6158