diff options
author | Will Hawkins <hawkinsw@obs.cr> | 2024-02-20 13:33:38 +0100 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2024-02-20 13:34:37 +0100 |
commit | 97f34ad10da8f46a4a1c17af6fdb950b132e1abc (patch) | |
tree | e6a4a24c2e4f3afd706f6c261442d6114e96e813 | |
parent | 98702303e2b0e540b25c94805ca015688f78250e (diff) | |
download | gcc-97f34ad10da8f46a4a1c17af6fdb950b132e1abc.zip gcc-97f34ad10da8f46a4a1c17af6fdb950b132e1abc.tar.gz gcc-97f34ad10da8f46a4a1c17af6fdb950b132e1abc.tar.bz2 |
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>
-rw-r--r-- | gcc/config/bpf/bpf.opt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/bpf/bpf.opt b/gcc/config/bpf/bpf.opt index bc5b222..acfddeb 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) |