The amd64 optimizations (--enable-amd64) are disabled in the imlib2-1.2.1.009 ebuild (and in the 1.2.2 ebuild too). There are a few lines of code there to enable it when appropriate, but it's commented out.
Since I looked it up in the bugzilla, and found nothing, I am curious why this was disabled.


