aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2023-07-25 11:50:38 -0700
committerDavid Faust <david.faust@oracle.com>2023-07-25 15:40:10 -0700
commit8d36a0f5952d0abe475262356424826464612a88 (patch)
tree299ebfa46e86b6553054bae4d423d980bdfc73ea /gcc/cp
parent67357270772b9131f1780267485c9eba0331bd6f (diff)
downloadgcc-8d36a0f5952d0abe475262356424826464612a88.zip
gcc-8d36a0f5952d0abe475262356424826464612a88.tar.gz
gcc-8d36a0f5952d0abe475262356424826464612a88.tar.bz2
bpf: don't print () in bpf_print_operand_address
Unfortunately, the pseudo-C dialect syntax used for some of the v3 atomic instructions clashes with unconditionally printing the surrounding parentheses in bpf_print_operand_address. Instead, place the parentheses in the output templates where needed. gcc/ * config/bpf/bpf.cc (bpf_print_operand_address): Don't print enclosing parentheses for pseudo-C dialect. * config/bpf/bpf.md (zero_exdendhidi2): Add parentheses around operands of pseudo-C dialect output templates where needed. (zero_extendqidi2): Likewise. (zero_extendsidi2): Likewise. (*mov<MM:mode>): Likewise.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions