https://sourceware.org/bugzilla/show_bug.cgi?id=34029
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jose E. Marchesi <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=774c54454b1f7bf0bf2303bcb1370e4333300424 commit 774c54454b1f7bf0bf2303bcb1370e4333300424 Author: Vineet Gupta <[email protected]> Date: Tue Mar 31 13:42:12 2026 -0700 PR 34029: bpf: allow w regs in load/store insns similar to llvm e.g. | *(u32 *)(r9 +0) = w0 | Error: unexpected register name `w0' in expression | w0 = *(u32 *)(r9 +0) | Error: unexpected register name `w0' in expression This syntax is allowed by llvm, athough encoding wise it is same as the insn with rN reg. Use newly added %dR and %sR to accept either r or w prefix registers in load and store insns respectively (except u64 variants which have no w-form). The original motivation was a now abondoned gcc change which would generate these patterns. Signed-off-by: Vineet Gupta <[email protected]> -- You are receiving this mail because: You are on the CC list for the bug.
