[PATCH] D49463: [ARM] Add new feature to enable optimizing the VFD registers

silviu.baranga@arm.com via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 01:05:44 PDT 2018


sbaranga added a comment.

If this is no longer only used by Cortex-A15, I think the regression tests need to be updated to use the new feature instead of the passing the cpu.

Otherwise, I have no objections to turning this on for other cores if that's beneficial.



================
Comment at: llvm/lib/Target/ARM/ARM.td:200
+// VFP register widths.
+def FeatureStrictVFPWidth : SubtargetFeature<"strict-vfp-sd",
+                                             "StrictVFPWidth", "true",
----------------
I think the description/name is somewhat confusing.

This enables using vdup instructions to move from the vfp execution domain to neon, which on some cores (at least Cortex-A15) is faster.


Repository:
  rL LLVM

https://reviews.llvm.org/D49463





More information about the llvm-commits mailing list