From: liuhongt Date: Wed, 16 Aug 2023 02:07:15 +0000 (+0800) Subject: Support -m[no-]gather to enable/disable vectorization for all gather instructions X-Git-Tag: releases/gcc-11.5.0~631 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff4590bb91c80f119dfeb465bf41441d35ef49d2;p=thirdparty%2Fgcc.git Support -m[no-]gather to enable/disable vectorization for all gather instructions gcc/ChangeLog: * config/i386/i386.opt: Add new option mgather. --- diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 098a9ca20731..9381025b667d 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -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.