Message ID | 20240216065454.986529-1-hawkinsw@obs.cr |
---|---|
State | New |
Headers | show |
Series | bpf: Add documentation for the -mcpu option | expand |
Hello Will. Thanks for the patch. I just installed it on your behalf. > 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> > --- > 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 bc5b2220116..acfddebdad7 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)
On Tue, Feb 20, 2024 at 7:35 AM Jose E. Marchesi <jose.marchesi@oracle.com> wrote: > > > Hello Will. > > Thanks for the patch. > I just installed it on your behalf. Thank you! > > > 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> > > --- > > 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 bc5b2220116..acfddebdad7 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)
diff --git a/gcc/config/bpf/bpf.opt b/gcc/config/bpf/bpf.opt index bc5b2220116..acfddebdad7 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)
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> --- gcc/config/bpf/bpf.opt | 2 ++ 1 file changed, 2 insertions(+)