diff options
author | David Faust <david.faust@oracle.com> | 2023-08-09 11:44:38 -0700 |
---|---|---|
committer | David Faust <david.faust@oracle.com> | 2023-08-09 13:51:50 -0700 |
commit | 6bf6f9245ac56a7ca6eb52a07fc2153b921c5fd6 (patch) | |
tree | 90e78f615d68170b41b60fa1a21e766a17a7c513 /gdb | |
parent | 3cdc2d7e66ab6a48014dcd425c88cfd42a964321 (diff) | |
download | binutils-6bf6f9245ac56a7ca6eb52a07fc2153b921c5fd6.zip binutils-6bf6f9245ac56a7ca6eb52a07fc2153b921c5fd6.tar.gz binutils-6bf6f9245ac56a7ca6eb52a07fc2153b921c5fd6.tar.bz2 |
bpf: use w regs in 32-bit non-fetch atomic pseudo-c
The 32-bit non-fetching atomic instructions treat the source register as
32-bits, which means in the pseudo-c syntax the "w" registers should be
used rather than the "r" registers.
opcodes/
* bpf-opc-c (bpf_opcodes): Use %sw for AAD32, AOR32, AAND32
and AXOR32 pseudo-c dialect asm templates.
gas/
* testsuite/gas/bpf/atomic-be-pseudoc.d: Use "w" for source reg
in non-fetching 32-bit atomic instructions.
* testsuite/gas/bpf/atomic-pseudoc.d: Likewise.
* testsuite/gas/bpf/atomic-pseudoc.s: Likewise.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions