This is an archive of the discontinued LLVM Phabricator instance.

[X86] Pre-define __MOVBE__ when the target supports it.
AbandonedPublic

Authored by erikjv on Aug 4 2015, 5:23 AM.

Details

Diff Detail

Event Timeline

erikjv updated this revision to Diff 31316.Aug 4 2015, 5:23 AM
erikjv retitled this revision from to [X86] Pre-define __MOVBE__ when the target supports it..
erikjv updated this object.
erikjv added a reviewer: nicholas.
erikjv added a subscriber: cfe-commits.
craig.topper edited edge metadata.Aug 10 2015, 11:09 PM

What utility does MOVBE serve? We don't have an instrinsic headers that needs this like the others. As far as I can tell gcc doesn't define this.

erikjv added a comment.Nov 4 2015, 4:14 AM

GCC doesn't define this, but icc does. Just like e.g. AVX512CD, it can be used to conditionally enable code that uses the instruction as a fast implementation for an algorithm.

Does icc have an intrinsic for it?

mkuper resigned from this revision.Apr 21 2016, 6:23 PM
mkuper removed a reviewer: mkuper.
erikjv abandoned this revision.Oct 18 2016, 7:17 AM