From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7890) id 362CC3858412; Mon, 16 Jan 2023 10:48:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 362CC3858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673866088; bh=ZbyIEkBOCBD/kq1PYnnDPEaZQ0qMAi8lo0tNJA1okVI=; h=From:To:Subject:Date:From; b=GT50RuV337f7GHG/nroDcAYbZDyZXibi9Qq9uPEkeu7/DGf8SihMhIEP6VbB8PquA Ez0nmAXtpSl4pF+hKdFRwFhR08ayABk3zXztxlYHRqNuzyzUZxsnrYamSE/L0DQXPR MuqZ3o7eKioheu10WHl5jKmanD0k8KN38XVVj9vk= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Andrew Carlotti To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5194] docs: Add popcount, clz and ctz target attributes X-Act-Checkin: gcc X-Git-Author: Andrew Carlotti X-Git-Refname: refs/heads/master X-Git-Oldrev: d347fbf774dc50bf7511f4dc6bc74547ed364995 X-Git-Newrev: 0419b9b80065ac2e01e4137b7efc149ee3b1bdd6 Message-Id: <20230116104808.362CC3858412@sourceware.org> Date: Mon, 16 Jan 2023 10:48:08 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0419b9b80065ac2e01e4137b7efc149ee3b1bdd6 commit r13-5194-g0419b9b80065ac2e01e4137b7efc149ee3b1bdd6 Author: Andrew Carlotti Date: Mon Dec 12 13:54:47 2022 +0000 docs: Add popcount, clz and ctz target attributes gcc/ChangeLog: * doc/sourcebuild.texi: Add missing target attributes. Diff: --- gcc/doc/sourcebuild.texi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 562be485ce8..aefafc87e27 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2515,6 +2515,24 @@ Target supports the execution of @code{amx-fp16} instructions. @item cell_hw Test system can execute AltiVec and Cell PPU instructions. +@item clz +Target supports a clz optab on int. + +@item clzl +Target supports a clz optab on long. + +@item clzll +Target supports a clz optab on long long. + +@item ctz +Target supports a ctz optab on int. + +@item ctzl +Target supports a ctz optab on long. + +@item ctzll +Target supports a ctz optab on long long. + @item cmpccxadd Target supports the execution of @code{cmpccxadd} instructions. @@ -2536,6 +2554,15 @@ Target does not require strict alignment. @item pie_copyreloc The x86-64 target linker supports PIE with copy reloc. +@item popcount +Target supports a popcount optab on int. + +@item popcountl +Target supports a popcount optab on long. + +@item popcountll +Target supports a popcount optab on long long. + @item prefetchi Target supports the execution of @code{prefetchi} instructions.