Skip to content
Snippets Groups Projects
Commit 5aa06eed authored by Lyndon Brown's avatar Lyndon Brown
Browse files

packetizer/startcode_helper: optimise AVX2 use with vzeroupper use

helps performance should SSE code also be in use at the same time
parent 4d6adebb
No related branches found
No related tags found
1 merge request!1test
......@@ -119,6 +119,8 @@ static inline const uint8_t * startcode_FindAnnexB_AVX2( const uint8_t *p, const
if( match & 0xF0000000 )
TRY_MATCH(p, 28);
}
__asm__ volatile( "vzeroupper\n" ::: );
}
for (; p <= end; p++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment