From: Hongyu Wang Date: Mon, 8 Jan 2024 03:01:54 +0000 (+0800) Subject: i386: [APX] Add missing document for APX X-Git-Tag: basepoints/gcc-15~3145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b5fd013a97615f1e0a2e762d2649539e27aab7;p=thirdparty%2Fgcc.git i386: [APX] Add missing document for APX The supported sub-features for APX was missing in option document and target attribute section. Add those missing ones. gcc/ChangeLog: * config/i386/i386.opt: Add supported sub-features. * doc/extend.texi: Add description for target attribute. --- diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 1bfff1e0d827..a38e92baf926 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -1328,7 +1328,8 @@ Enable vectorization for scatter instruction. mapxf Target Mask(ISA2_APX_F) Var(ix86_isa_flags2) Save -Support APX code generation. +Support code generation for APX features, including EGPR, PUSH2POP2, +NDD and PPX. mapx-features= Target Undocumented Joined Enum(apx_features) EnumSet Var(ix86_apx_features) Init(apx_none) Save diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 9e61ba9507dd..84eef411e2d9 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -7344,6 +7344,12 @@ Enable/disable the generation of the SM4 instructions. @itemx no-usermsr Enable/disable the generation of the USER_MSR instructions. +@cindex @code{target("apxf")} function attribute, x86 +@item apxf +@itemx no-apxf +Enable/disable the generation of the APX features, including +EGPR, PUSH2POP2, NDD and PPX. + @cindex @code{target("avx10.1")} function attribute, x86 @item avx10.1 @itemx no-avx10.1