public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jose E. Marchesi <jemarch@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-9081] bpf: Add documentation for the -mcpu option
Date: Tue, 20 Feb 2024 12:34:46 +0000 (GMT)	[thread overview]
Message-ID: <20240220123446.F294B3858D20@sourceware.org> (raw)

https://gcc.gnu.org/g:97f34ad10da8f46a4a1c17af6fdb950b132e1abc

commit r14-9081-g97f34ad10da8f46a4a1c17af6fdb950b132e1abc
Author: Will Hawkins <hawkinsw@obs.cr>
Date:   Tue Feb 20 13:33:38 2024 +0100

    bpf: Add documentation for the -mcpu option
    
    Add documentation describing the meaning and values for the -mcpu
    command-line option.
    
    Tested for bpf-unknown-none on x86_64-linux-gnu host.
    
    gcc/ChangeLog:
    
            * config/bpf/bpf.opt: Add help information for -mcpu.
    
    Signed-off-by: Will Hawkins <hawkinsw@obs.cr>

Diff:
---
 gcc/config/bpf/bpf.opt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/bpf/bpf.opt b/gcc/config/bpf/bpf.opt
index bc5b2220116c..acfddebdad71 100644
--- a/gcc/config/bpf/bpf.opt
+++ b/gcc/config/bpf/bpf.opt
@@ -77,9 +77,11 @@ Enable signed move and memory load instructions.
 
 mcpu=
 Target RejectNegative Joined Var(bpf_isa) Enum(bpf_isa) Init(ISA_V4)
+Select the eBPF ISA version to target in code generation.
 
 Enum
 Name(bpf_isa) Type(enum bpf_isa_version)
+Valid ISA versions (for use with the -mcpu= option)
 
 EnumValue
 Enum(bpf_isa) String(v1) Value(ISA_V1)

                 reply	other threads:[~2024-02-20 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240220123446.F294B3858D20@sourceware.org \
    --to=jemarch@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).