]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Support -m[no-]gather to enable/disable vectorization for all gather instructions
authorliuhongt <hongtao.liu@intel.com>
Wed, 16 Aug 2023 02:07:15 +0000 (10:07 +0800)
committerliuhongt <hongtao.liu@intel.com>
Wed, 16 Aug 2023 05:51:30 +0000 (13:51 +0800)
gcc/ChangeLog:

* config/i386/i386.opt: Add new option mgather.

gcc/config/i386/i386.opt

index 098a9ca2073126b300f4595cd843edb04870b7dc..9381025b667d48b33c5da5681acffe5a9e2dc643 100644 (file)
@@ -1194,3 +1194,7 @@ Emit GNU_PROPERTY_X86_ISA_1_NEEDED GNU property.
 mmwait
 Target Mask(ISA2_MWAIT) Var(ix86_isa_flags2) Save
 Support MWAIT and MONITOR built-in functions and code generation.
+
+mgather
+Target Alias(mtune-ctrl=, use_gather, ^use_gather)
+Enable vectorization for gather instruction.