Skip to content
Snippets Groups Projects
Commit 9b9df1cd authored by Roland Scheidegger's avatar Roland Scheidegger Committed by Ronald S. Bultje
Browse files

h264: new assembly version of get_cabac for x86_64 with PIC


This adds a hand-optimized assembly version for get_cabac much like the
existing one, but it works if the table offsets are RIP-relative.
Compared to the non-RIP-relative version this adds 2 lea instructions
and it needs one extra register. get_cabac() gets about 40% faster, for
an overall speedup of about 5%.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent 14e9ffc1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment