x86: Add a simple TPL implementation