Displaying 4 results from an estimated 4 matches for "bpfregisterinfo".
2016 Jan 07
3
BPF backend with vector operations - some strange error
Hello.
I've tried to add some simple arithmetic vector operations to the BPF backend
available in the LLVM repo. Because I added in BPFRegisterInfo.td another RegisterClass
(taken from the Mips backend):
def MSA128W: RegisterClass<"BPF", [v2i64, v2f64], 128,
(sequence "W%u", 0, 31)>;
in order to support vector for example, ADD operations, I get the following error when
building llc:...
2017 Sep 19
0
[iovisor-dev] [PATCH RFC 3/4] New 32-bit register set
...ntroduce the new "w*" 32-bit register set and alias them to the low
> 32-bit of the corresponding 64-bit register.
>
> Acked-by: Jakub Kicinski <jakub.kicinski at netronome.com>
> Signed-off-by: Jiong Wang <jiong.wang at netronome.com>
> ---
> lib/Target/BPF/BPFRegisterInfo.td | 74 ++++++++++++++++++++++++++++-----------
> 1 file changed, 53 insertions(+), 21 deletions(-)
>
> diff --git a/lib/Target/BPF/BPFRegisterInfo.td b/lib/Target/BPF/BPFRegisterInfo.td
> index c8e24f8..a5722fe 100644
> --- a/lib/Target/BPF/BPFRegisterInfo.td
> +++ b/lib/Target/...
2016 Jun 02
2
BPF backend with vector operations - error "Could not infer all types in, pattern!"
...Int<32>(N->getSExtValue()); }]>;
>
> Best regards,
> Alex
>
> On 1/8/2016 1:31 AM, RCU wrote:
>> Hello.
>> I've tried to add some simple arithmetic vector operations to the BPF backend
>> available in the LLVM repo. Because I added in BPFRegisterInfo.td another RegisterClass
>> (taken from the Mips backend):
>> def MSA128W: RegisterClass<"BPF", [v2i64, v2f64], 128,
>> (sequence "W%u", 0, 31)>;
>> in order to support vector for example, ADD operations, I get the fol...
2017 Sep 18
0
[PATCH RFC 0/4] Initial 32-bit eBPF encoding support
...instruction patterns
> New 32-bit register set
> Initial 32-bit ALU (BPF_ALU) encoding support in assembler
>
> lib/Target/BPF/BPFInstrFormats.td | 84 +++-
> lib/Target/BPF/BPFInstrInfo.td | 506 +++++++++++-------------
> lib/Target/BPF/BPFRegisterInfo.td | 74 +++-
> lib/Target/BPF/Disassembler/BPFDisassembler.cpp | 15 +
> test/MC/BPF/insn-unit-32.s | 53 +++
> 5 files changed, 427 insertions(+), 305 deletions(-)
> create mode 100644 test/MC/BPF/insn-unit-32.s
>