[PATCH] D21958: [X86] Add xgetbv/xsetbv intrinsics

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 3 06:43:21 PDT 2016


delena added inline comments.

================
Comment at: lib/Target/X86/X86InstrSystem.td:481
@@ -480,3 +480,3 @@
 let Defs = [EDX, EAX], Uses = [ECX] in
-  def XGETBV : I<0x01, MRM_D0, (outs), (ins), "xgetbv", []>, TB;
+  def XGETBV : I<0x01, MRM_D0, (outs), (ins), "xgetbv", [(X86xgetbv)]>, TB;
 
----------------
can the intrinsic be lowered directly in the .td file without DAG?


http://reviews.llvm.org/D21958





More information about the llvm-commits mailing list