[PATCH] Add intrinsic definitions for unary op AVX instructions [x86]
Elena Demikhovsky
elena.demikhovsky at intel.com
Thu Feb 19 04:09:21 PST 2015
You actually can use one class to define all instruction (FR32, FR64) and intrinsics (VR128) using COPY_TO_REGCLASS. in order to convert VR128 to FR32 or FR64.
See http://reviews.llvm.org/rL229837.
You also can define V#NAME#SDm_Int, if you don't like the COPY_TO_REGCLASS patterns.
There are too many intrinsics. I don't think that we should put them all in the peephole optimization pass.
http://reviews.llvm.org/D6958
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list