-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM changes related to BPFv2 #34250
Comments
nvjle
pushed a commit
to anza-xyz/llvm-project
that referenced
this issue
Dec 12, 2023
This PR replaces sub r11, imm by add r11, -imm and is the equivalent of solana-labs/rbpf#488 for the SBF target in LLVM. This is the first task in solana-labs/solana#34250
nvjle
pushed a commit
to anza-xyz/llvm-project
that referenced
this issue
Dec 16, 2023
Following the alterations made in solana-labs/rbpf#489, this PR removes the neg instructions and changes the semantics of sub when one of the operands is an immediate. sub r1, 2 now means r1 = 2 - r1, instead of r1 = r1 - 2. neg r1 is represented as r1 = 0 - r1. This is the second task in solana-labs/solana#34250.
This was referenced Dec 20, 2023
nvjle
pushed a commit
to anza-xyz/llvm-project
that referenced
this issue
Dec 21, 2023
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
This was referenced Jan 2, 2024
This was referenced Jan 16, 2024
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jan 31, 2024
This PR replaces sub r11, imm by add r11, -imm and is the equivalent of solana-labs/rbpf#488 for the SBF target in LLVM. This is the first task in solana-labs/solana#34250
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jan 31, 2024
Following the alterations made in solana-labs/rbpf#489, this PR removes the neg instructions and changes the semantics of sub when one of the operands is an immediate. sub r1, 2 now means r1 = 2 - r1, instead of r1 = r1 - 2. neg r1 is represented as r1 = 0 - r1. This is the second task in solana-labs/solana#34250.
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jan 31, 2024
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Feb 16, 2024
This PR replaces sub r11, imm by add r11, -imm and is the equivalent of solana-labs/rbpf#488 for the SBF target in LLVM. This is the first task in solana-labs/solana#34250
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Feb 16, 2024
Following the alterations made in solana-labs/rbpf#489, this PR removes the neg instructions and changes the semantics of sub when one of the operands is an immediate. sub r1, 2 now means r1 = 2 - r1, instead of r1 = r1 - 2. neg r1 is represented as r1 = 0 - r1. This is the second task in solana-labs/solana#34250.
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Feb 16, 2024
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jun 28, 2024
This PR replaces sub r11, imm by add r11, -imm and is the equivalent of solana-labs/rbpf#488 for the SBF target in LLVM. This is the first task in solana-labs/solana#34250
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jun 28, 2024
Following the alterations made in solana-labs/rbpf#489, this PR removes the neg instructions and changes the semantics of sub when one of the operands is an immediate. sub r1, 2 now means r1 = 2 - r1, instead of r1 = r1 - 2. neg r1 is represented as r1 = 0 - r1. This is the second task in solana-labs/solana#34250.
LucasSte
added a commit
to LucasSte/llvm-project
that referenced
this issue
Jun 28, 2024
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Aug 19, 2024
This PR replaces sub r11, imm by add r11, -imm and is the equivalent of solana-labs/rbpf#488 for the SBF target in LLVM. This is the first task in solana-labs/solana#34250
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Aug 19, 2024
Following the alterations made in solana-labs/rbpf#489, this PR removes the neg instructions and changes the semantics of sub when one of the operands is an immediate. sub r1, 2 now means r1 = 2 - r1, instead of r1 = r1 - 2. neg r1 is represented as r1 = 0 - r1. This is the second task in solana-labs/solana#34250.
LucasSte
added a commit
to anza-xyz/llvm-project
that referenced
this issue
Aug 19, 2024
This PR addressed two more items in solana-labs/solana#34250. It removes the little endian byte swap instructions (solana-labs/rbpf#493) and the input buffers related instructions (solana-labs/rbpf#251).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
This issue is split off from #20323
Need LLVM changes corresponding to the following items
sub r11, imm
withadd r11, -imm
(Refactor - Replacessub r11, imm
withadd r11, -imm
rbpf#488) - LLVM PR: [SOL] Use ADD for subtracting stack pointer anza-xyz/llvm-project#70sub reg, imm
andneg
(Feature - Swaps parameters ofsub reg, imm
and removesneg
rbpf#489) - LLVM PR: [SOL] Removeneg
and change the semantics ofsub
anza-xyz/llvm-project#73lddw
(Feature -lduw
(load upper word immediate) rbpf#486 and Refactor -lduw
tohor64
rbpf#496) - LLVM PR: [SOL] Removelddw
instruction anza-xyz/llvm-project#74callx
(Fix -callx
encoding rbpf#491) - LLVM PR: [SOL] Change encoding ofcallx
instruction anza-xyz/llvm-project#78ldabsw
,ldabsh
,ldabsb
,ldabsdw
,ldindw
,ldindh
,ldindb
,ldinddw
- LLVM PR: [SOL] Remove LE byte swap and input buffers anza-xyz/llvm-project#75Proposed Solution
The text was updated successfully, but these errors were encountered: