]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386: [APX] Add missing document for APX
authorHongyu Wang <hongyu.wang@intel.com>
Mon, 8 Jan 2024 03:01:54 +0000 (11:01 +0800)
committerHongyu Wang <hongyu.wang@intel.com>
Mon, 8 Jan 2024 03:02:43 +0000 (11:02 +0800)
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.

gcc/config/i386/i386.opt
gcc/doc/extend.texi

index 1bfff1e0d8277b9fbcde8cfd52c96d8efa4d96af..a38e92baf9260dd88137ac4a38fb469c885cbb49 100644 (file)
@@ -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
index 9e61ba9507dd11050c49b8cff0a4987510d7a16e..84eef411e2d9fe4fcdfd49540d577f2903a4883e 100644 (file)
@@ -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