[x264-devel] x86inc: Drop tzcnt workaround

Henrik Gramner git at videolan.org
Wed Jan 9 19:32:23 CET 2013


x264 | branch: master | Henrik Gramner <hengar-6 at student.ltu.se> | Mon Dec 17 21:54:00 2012 +0100| [3508f4a1446c408dcc0febe1a349ad303ae6628c] | committer: Jason Garrett-Glaser

x86inc: Drop tzcnt workaround

It is no longer needed now that we've bumped the version requirement of yasm to 1.2.0.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3508f4a1446c408dcc0febe1a349ad303ae6628c
---

 common/x86/x86inc.asm |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/common/x86/x86inc.asm b/common/x86/x86inc.asm
index 2d99333..d908f33 100644
--- a/common/x86/x86inc.asm
+++ b/common/x86/x86inc.asm
@@ -1358,10 +1358,6 @@ FMA_INSTR  pmacsdd,  pmulld, paddd
 FMA_INSTR  pmacsww,  pmullw, paddw
 FMA_INSTR pmadcswd, pmaddwd, paddd
 
-; tzcnt is equivalent to "rep bsf" and is backwards-compatible with bsf.
-; This lets us use tzcnt without bumping the yasm version requirement yet.
-%define tzcnt rep bsf
-
 ; convert FMA4 to FMA3 if possible
 %macro FMA4_INSTR 4
     %macro %1 4-8 %1, %2, %3, %4



More information about the x264-devel mailing list